Skip to main content
GET
Get Project Supported Material 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"

material_type
string
required

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

Example:

"hfc_ods_container"

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 material type in the full view.

description
string
required
Example:

"A container that holds HFC/ODS gases."

material_type
string
required

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

Example:

"hfc_ods_container"

measurements
MeasurementRequirement · object[]
required

Measurements that materials of this type can record.

metadata_schema
Metadata Schema · object
required

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

Example:
name
string
required
Example:

"Container"

outputting_activities
ActivityTypeReference · object[]
required

Activity types that produce materials of this type.

referencing_activities
ActivityTypeReference · object[]
required

Activity types that use materials of this type.

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