Contributors API

  • Base URL (Legacy): https://api.levelops.io/v1/

  • Base URL (Prod): https://api.propelo.ai/v1/

Note that the Base URL is relative to the application environment that you are using.

  • Header: Requires Bearer token key authorization. The content type is application/json

Get the active version

GET /v1/org/users/versions

This API endpoint retrieves the list of active versions.

Headers

Name
Value

Content-Type

application/json

Authorization

ApiKey <token>

Sample Request

curl '<BASE_URL>/v1/org/users/versions?page_size=999' \
  -H 'accept: application/json' \
  -H 'authorization: <See API Usage>'

Response

{
  "records": [521 items],
  "count": 521,
  "_metadata":{
    "page_size": 999,
    "page": 0,
    "has_next": false,
    "total_count": 521
  }
}

Parameters

Name
Description

page_size (optional)

The number of records to return per page. In the sample request, it is set to 999.

page (optional)

The page number to retrieve. If not provided, it defaults to 0 (the first page).

Response Fields

Name
Description

records

An array containing the list of active versions. In this example, there are 521 items in the array.

count

The number of records on the current page.

page_size

The number of records per page (same as the page_size parameter in the request).

page

The current page number.

has_next

A boolean value indicating whether there is another page of results.

total_count

The total number of records across all pages.

Get the schema used by Contributors and custom fields

GET /v1/org/users/schema

This API endpoint retrieves the schema used by the current contributor pages, including any custom fields.

Headers

Name
Value

Content-Type

application/json

Authorization

ApiKey <token>

Sample Request

curl '<BASE_URL>/v1/org/users/versions?page_size=999' \
  -H 'accept: application/json' \
  -H 'authorization: <See API Usage>'

Last updated