Projectos

Notas
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Obtenha a sua chave API.
Lista

API endpoint:

GET
https://auditoria.pontoderede.pt/public/api/v1/projects

Exemplo do pedido:

curl --location --request GET 'https://auditoria.pontoderede.pt/public/api/v1/projects' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Tipo
Descrição
search
opcional string
The search query.
search_by
opcional string
Procurar por. Possible values are: project para Nome. Defaults to: project.
sort_by
opcional string
Filtrar por. Possible values are: created_at para Data criação, project para Nome. Defaults to: created_at.
sort
opcional string
Ordenar. Possible values are: desc para Descendente, asc para Ascendente. Defaults to: desc.
per_page
opcional int
Resultados por página. Possible values are: 10, 25, 50, 100. Defaults to: 10.
Eliminar

API endpoint:

DELETE
https://auditoria.pontoderede.pt/public/api/v1/projects/{project}

Exemplo do pedido:

curl --location --request DELETE 'https://auditoria.pontoderede.pt/public/api/v1/projects/{project}' \
--header 'Authorization: Bearer {api_key}'