Get Projects

Get list of projects, available to the user.

get
Get Projects

https://environment.lvis.io/api/v2/accounts/:account_id/projects
Request
Response
Request
Path Parameters
account_id
required
string
Account 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"
}
}
}
},
{
"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"
}
}
}
}
]
}

Example

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