HeyCamp
Listar posts de uma comunidade
Changed onget/heycamp/v1/posts/community/:communityId
Request
- Base URLhttps://api.eduzz.com
- AuthOAuth 2Implicithttps://accounts.eduzz.com/oauth/authorizeScopesheycamp_read_posts
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
communityIdstring required
Id da comunidade onde os posts estão associados
Example:3040
Query parameters
pagenumber
Página atual
itemsPerPagenumber
Número de itens por página
Response
Listar posts associados à comunidade
Example response
{
"items": [
{
"title": "Espaço",
"createdAt": "2021-08-10T15:00:00Z",
"updatedAt": "2021-08-10T15:00:00Z",
"member": {
"email": "teste@example.com"
},
"space": {
"name": "Espaço 1"
},
"tags": [
"tag1"
]
}
]
}Changes
- info
the
queryrequest parameteritemsPerPagebecame optional - info
the
queryrequest parameterpagebecame optional
- info
- breaking
the
queryrequest parameteritemsPerPagebecame required - breaking
the
queryrequest parameterpagebecame required - breaking
for the
queryrequest parameteritemsPerPage, the type changed fromstringtonumber - breaking
for the
queryrequest parameterpage, the type changed fromstringtonumber
- breaking