Pular para o conteúdo

List all courses

GET /v1/courses

Query parameters Type Description
filter[name] string Name of the course. The match is not exact
filter[is-active] boolean

Returns a list of courses.

HTTP request

GET /v1/courses?filter=[is-active]=true HTTP/1.1
Host: api.celula.in
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ
Accept: application/vnd.api+json

JSON response

{
"data": [],
"meta": {
"total": 0
}
}