Get Projects

Get list of projects, available to the user.

get
Get Projects

https://environment.lvis.io/api/v2/brands/:brand_id/projects
Request
Response
Request
Path Parameters
brand_id
required
string
Brand ID.
Headers
Authorization
required
string
Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb
Content-Type
required
string
application/vnd.api+json
Response
200: OK
{
"data": [
{
"id": "40c0c0ea-2bab-46c2-8743-faca34a1eba0",
"type": "projects",
"attributes": {
"name": "Project Name"
},
"links": {
"self": "https://environment.lvis.io/api/v2/projects/40c0c0ea-2bab-46c2-8743-faca34a1eba0"
},
"relationships": {
"events": {
"links": {
"related": "https://environment.lvis.io/api/v2/projects/40c0c0ea-2bab-46c2-8743-faca34a1eba0/events"
}
},
"app": {
"data": {
"id": "0464bec1-2b27-4899-9909-36dd083dd2b4",
"type": "apps"
}
},
"brand": {
"data": {
"id": "b40b57d9-e34d-4794-bcf4-e910b9d283d4",
"type": "brands"
}
}
}
},
{
"id": "90d1465e-4499-4058-86b4-60b1f1123830",
"type": "projects",
"attributes": {
"name": "Another Project Name"
},
"links": {
"self": "https://environment.lvis.io/api/v2/projects/90d1465e-4499-4058-86b4-60b1f1123830"
},
"relationships": {
"events": {
"links": {
"related": "https://environment.lvis.io/api/v2/projects/90d1465e-4499-4058-86b4-60b1f1123830/events"
}
},
"app": {
"data": {
"id": "0464bec1-2b27-4899-9909-36dd083dd2b4",
"type": "apps"
}
},
"brand": {
"data": {
"id": "b40b57d9-e34d-4794-bcf4-e910b9d283d4",
"type": "brands"
}
}
}
}
]
}

Example

curl --request GET \
--url https://environment.lvis.io/api/v2/brands/8630c508-7d12-4e6d-85d5-5e507e97738e/projects \
--header 'Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb' \
--header 'Content-Type: application/vnd.api+json'