Skip to main content
GET
Get Project Supported Asset Types

Authorizations

Authorization
string
header
required

A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Example:

"Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP"

Path Parameters

project_id
string
required
Required string length: 20 - 37
Examples:

"prj_1CTWZQGKE1S0VAXA"

"prj_1E0QTWB22SBX34D1"

Query Parameters

view
enum<string>
default:basic

basic returns each type's key, name and description. full adds the rest of the definition, such as its metadata schema and links.

Available options:
basic,
full

Response

Successful Response

The types that a project supports, in the full view.

activity_types
ActivityTypeDefinition · object[]
required
material_types
MaterialTypeDefinition · object[]
required
module_versions
string[]
required

The project's module versions. The supported types change when they change.

Example:
protocol_version
string | null
required

The project's protocol version. The supported types change when it changes.

Example:

"protocol:improved-soil-management:1.1"

site_types
SiteTypeDefinition · object[]
required