Graffity Console APIs
Get All Projects
https://console-backend.graffity.tech/api/external/v1/get-projects (opens in a new tab)
POST
Summary:
Get All Projects
Description:
Get All Projects
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
Authorization | header | Bearer token | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | OK | [ external_models.Project ] |
Get Each Project Information
https://console-backend.graffity.tech/api/external/v1/{project_id} (opens in a new tab)
POST
Summary:
Get Project Informations with Project ID
Description:
Get Project Informations with Project ID
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
project_id | path | Project ID | Yes | string |
Authorization | header | Bearer token | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | OK | external_models.Project |
Create or update project
https://console-backend.graffity.tech/api/external/v1/project/create-or-update (opens in a new tab)
POST
Summary:
Create or update project
Description:
Create or update project, will create a new project if _id is not provided or doesn't match existing document. Return the project's _id
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
project_id | body | Project | Yes | models.Update_Project |
Authorization | header | Bearer token | Yes | string |
Responses
Code | Description |
---|---|
200 | project id |