Skip to main content
GET
/
organizations
/
{orgId}
/
lookuptables
/
{lookupTableId}
/
revisions
List LookupTableRevision
curl --request GET \
  --url https://api.m3ter.com/organizations/{orgId}/lookuptables/{lookupTableId}/revisions \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "version": 123,
      "customFields": {},
      "name": "<string>",
      "status": "DRAFT",
      "startDate": "2023-11-07T05:31:56Z",
      "fields": [
        {
          "type": "STRING",
          "name": "<string>"
        }
      ],
      "keys": [
        "<string>"
      ],
      "dtCreated": "2023-11-07T05:31:56Z",
      "dtLastModified": "2023-11-07T05:31:56Z",
      "createdBy": "<string>",
      "lastModifiedBy": "<string>",
      "itemCount": 123
    }
  ],
  "nextToken": "<string>"
}

Authorizations

Authorization
string
header
required

m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.

The authorizationCode flow controls access for human users via the m3ter Console application.

Path Parameters

orgId
string
required

UUID of the Organization

lookupTableId
string
required

The lookup table Id

Query Parameters

pageSize
integer<int32>

Number of LookupTable to retrieve per page

Required range: 1 <= x <= 200
nextToken
string

Token to supply for multi page retrievals

ids
string[]

List of Lookup Table Revision IDs to retrieve

Response

List of LookupTableRevision entities

data
object[]
nextToken
string