pending_publication.
The whole source, organized and ready to query: every endpoint on this page answers in milliseconds. Every response carries
as_of: how current the data is. How datasets work.Search the decrees
POST /sv/asamblea-sv/decrees-search/v1 Dataset
One search over the full text of every decree in the register, filtered by kind, subject, subtopic, area of law, number, year or date of issue.
as_of (how current the data is), the applied filters, total (matches across every page), page, per_page, total_pages, count and results[], most recently issued first. Every result carries id (the decree’s permanent number in the Asamblea’s register, e.g. 7000), number (the decree number, e.g. 632), type (Decreto, Ley, Código or Reglamento), title, summary (the Asamblea’s summary), subject, subtopic, area_of_law, issue_date, year, publication_date (in the Diario Oficial), gazette_number, gazette_volume, pending_publication, text_status (ok, scanned or missing), official_url (the decree’s record at the Asamblea), document_url (Croma’s copy of the decree’s document, byte for byte as the Asamblea published it, which stays available whatever happens to the Asamblea’s link), source_document_url (the document on the Asamblea’s own site) and document_modified_at.
Search results leave out the text;
query still matches it, so a phrase from the body finds the decree. Read the text itself with the Asamblea Legislativa de El Salvador Decree endpoint.One decree, in full
POST /sv/asamblea-sv/decree/v1 Dataset
as_of, found, decree_id and decree, which carries everything the search returns plus content: a window onto the decree’s full text, with text, offset, total_length, has_more and next_offset. Every result carries id (the decree’s permanent number in the Asamblea’s register, e.g. 7000), number (the decree number, e.g. 632), type (Decreto, Ley, Código or Reglamento), title, summary (the Asamblea’s summary), subject, subtopic, area_of_law, issue_date, year, publication_date (in the Diario Oficial), gazette_number, gazette_volume, pending_publication, text_status (ok, scanned or missing), official_url (the decree’s record at the Asamblea), document_url (Croma’s copy of the decree’s document, byte for byte as the Asamblea published it, which stays available whatever happens to the Asamblea’s link), source_document_url (the document on the Asamblea’s own site) and document_modified_at.
A decree the Asamblea has just passed may still be
pending_publication: publication_date is then the date the Diario Oficial has assigned, and the document and text follow once it is published.An
id the Asamblea’s register does not hold returns found: false with HTTP 200, not an error.Full reference
Schemas, all response fields, and an interactive playground.