Projects
Get Projects
GET
https://api.binity.io/v1/companies/:uuid/projects
Get all projects of that specific company.
Headers
Authorization
string
Bearer Token
{
"projects":[
{
"uuid":"b70a21c5-b12a-48d1-b916-99100e23539d",
"name":"Niklas Test #1",
"location_uuid":"2c9e4dbd-0d27-4360-8f9e-78f22ad3d21f",
"created_at":"2020-08-13T09:10:47.726+02:00",
"updated_at":"2020-08-13T09:10:47.726+02:00",
},
{
"uuid":"c4913d7d-ad37-4b92-acc9-2367e8606b89",
"name":"Niklas Test #2",
"location_uuid":"644a88f8-5099-48be-830f-a156885b55c9",
"created_at":"2020-08-13T09:10:47.726+02:00",
"updated_at":"2020-08-13T09:10:47.726+02:00",
}
],
"meta":{
"pagination":{
"per_page":100,
"total_pages":1,
"total_objects":7,
"links":{
"first":"/v1/companies/3cee8a68-ee57-4a05-a9e4-1d19f4a2112b/projects?page=1",
"last":"/v1/companies/3cee8a68-ee57-4a05-a9e4-1d19f4a2112b/projects?page=1"
}
}
}
}
Create Project
POST
https://api.binity.io/v1/companies/:uuid/projects
Create a new project.
Headers
Authorization
string
Bearer Token
Request Body
name
string
Name of the project
location_uuid
string
The location uuid of which this project should be part of.
{
"project":{
"uuid":"b70a21c5-b12a-48d1-b916-99100e23539d",
"name":"Niklas Test #1",
"location_uuid":"2c9e4dbd-0d27-4360-8f9e-78f22ad3d21f",
"created_at":"2020-08-13T09:10:47.726+02:00",
"updated_at":"2020-08-13T09:10:47.726+02:00",
}
}
Get Project
GET
https://api.binity.io/v1/companies/:uuid/projects/:project_uuid
Get data of a single company.
Headers
Authorization
string
Bearer Token
{
"project":{
"uuid":"b70a21c5-b12a-48d1-b916-99100e23539d",
"name":"Niklas Test #1",
"location_uuid":"2c9e4dbd-0d27-4360-8f9e-78f22ad3d21f",
"created_at":"2020-08-13T09:10:47.726+02:00",
"updated_at":"2020-08-13T09:10:47.726+02:00",
}
}
Update Project
PATCH
https://api.binity.io/v1/companies/:uuid/projects/:project_uuid
Update data of a single project.
Headers
Authorization
string
Bearer Token
{
"project":{
"uuid":"b70a21c5-b12a-48d1-b916-99100e23539d",
"name":"Niklas Test #1",
"location_uuid":"2c9e4dbd-0d27-4360-8f9e-78f22ad3d21f",
"created_at":"2020-08-13T09:10:47.726+02:00",
"updated_at":"2020-08-13T09:10:47.726+02:00",
}
}
Delete Location
DELETE
https://api.binity.io/v1/companies/:uuid/projects/:project_uuid
Delete a single project.
Headers
Authorization
string
Bearer Token
{
"deleted": true
}
Last updated
Was this helpful?