Get Project

Get project with specified id.

Get Project

GET https://environment.monterosa.cloud/api/v2/projects/:project_id

Path Parameters

NameTypeDescription

project_id

string

Project ID.

Query Parameters

NameTypeDescription

fields[projects]

string

Return sparse fieldset including only specified attributes, separated by comma. Should be used to reduce response time and payload size. "concurrent_users" attribute, which is not included by default, can be fetched using this parameter.

Headers

NameTypeDescription

Authorization

string

Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb

Content-Type

string

application/vnd.api+json

{
  "data": {
    "id": "aeacad00-2356-4c6b-a923-c2e6c21fbd23",
    "type": "projects",
    "attributes": {
      "name": "Project Name",
      "locales": [
          {
            "active": true,
            "default": true,
            "key": "en"
          }
      ],
      "certification_enabled": false,
      "settings": [],
      "hidden_elements": [],
      "presence_counter": {
        "enabled": true,
        "supported": true,
        "min_threshold": 10000
      },
      "archived": false,
      "environment": "production"
    },
    "links": {
      "self": "https://environment.lvis.io/api/v2/projects/aeacad00-2356-4c6b-a923-c2e6c21fbd23"
    },
    "relationships": {
      "events": {
        "links": {
          "related": "https://environment.lvis.io/api/v2/projects/aeacad00-2356-4c6b-a923-c2e6c21fbd23/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.monterosa.cloud/api/v2/projects/aeacad00-2356-4c6b-a923-c2e6c21fbd23 \
  --header 'Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb' \
  --header 'Content-Type: application/vnd.api+json'

Last updated