Projects

Megjegyzések
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.
List

API endpoint:

GET
https://rankpro.hu/api/v1/projects

Request example:

curl --location --request GET 'https://rankpro.hu/api/v1/projects' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Típus
Leírás
search
optional string
The search query.
search_by
optional string
Keresés mint. Possible values are: project for Név. Defaults to: project.
sort_by
optional string
Sort by. Possible values are: created_at for Date created, project for Név. Defaults to: created_at.
sort
optional string
Rendezés. Possible values are: desc for Csökkenő, asc for Növekvő. Defaults to: desc.
per_page
optional int
Találatok száma oldalanként. Possible values are: 10, 25, 50, 100. Defaults to: 10.
Törlés

API endpoint:

DELETE
https://rankpro.hu/api/v1/projects/{project}

Request example:

curl --location --request DELETE 'https://rankpro.hu/api/v1/projects/{project}' \
--header 'Authorization: Bearer {api_key}'