Skip to main content
POST
/
organizations
/
{orgId}
/
lookuptables
/
{lookupTableId}
/
revisions
/
{lookupTableRevisionId}
/
data
/
archived
Get LookupTableRevisionArchivedData URL
curl --request POST \
  --url https://api.m3ter.com/organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{lookupTableRevisionId}/data/archived \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contentType": "application/jsonl"
}
'
{
  "url": "<string>",
  "expiry": "2023-11-07T05:31:56Z"
}

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

UUID of the LookupTable

lookupTableRevisionId
string
required

UUID of the LookupTableRevision

Body

application/json

Request containing the file details when requesting an archived data URL

contentType
enum<string>
required
Available options:
application/jsonl,
text/csv

Response

Returns the URL.

Response containing the archive job URL details

url
string

The presigned URL

expiry
string<date-time>

The URL expiry time