posts
List all posts
Changed onget/posts/
Request
- Base URLhttps://dados.gov.pt/api/1
- URLhttps://dados.gov.pt/api/1/posts/
- Authnone declared
Query parameters
pageinteger
The page to display
page_sizeinteger
The page size
sort'created_at' | 'modified' | 'created' | 'last_modified' | 'name' | 'headline' | 'published' | '-created_at' | '-modified' | '-created' | '-last_modified' | '-name' | '-headline' | '-published'
The field (and direction) on which sorting apply
qstring
kind'news' | 'page'
with_draftsboolean
True also returns the unpublished posts (only for super-admins)
Headers
X-Fieldsstring mask
An optional fields mask
Response
Success
Changes
- info
added the new optional
queryrequest parameterkind
- info
- info
added the new optional
queryrequest parameterq
- info