Skip to main content
GET
Get Project Supported Site Type

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"

site_type
string
required

The type of the site. Use GET /projects/{project_id}/supported_site_types to discover which types are valid for your project.

Example:

"enhanced_weathering_field"

Query Parameters

view
enum<string>
default:full

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

A site type in the full view.

activities_happening_at
ActivityTypeReference · object[]
required

Activity types that can happen at a site of this type.

children
SiteToSiteTypeReference · object[]
required

Site types that can belong to a site of this type.

description
string
required
Example:

"An agricultural field where rock or mineral feedstock is applied."

geography
AreaGeography · object
required

The geography that sites of this type need. Null means sites of this type have no geography.

Example:
metadata_schema
Metadata Schema · object
required

JSON Schema for the metadata object of sites of this type.

Example:
name
string
required
Example:

"Field"

parents
SiteToSiteTypeReference · object[]
required

Site types that a site of this type can belong to.

Types that GET /projects/{project_id}/sites accepts in its related_site_type, related_activity_type and related_material_type filters when it lists sites of this type.

site_type
string
required

The type of the site. Use GET /projects/{project_id}/supported_site_types to discover which types are valid for your project.

Example:

"enhanced_weathering_field"