Reference data

List table draft records

Read data from the draft dataset to see pending changes before they are published.

Draft records include a state field indicating their lifecycle status.

To return only some of the table's attributes, use the attributeNames parameter.

get/reference-data/v1/tables/{tableUrn}/draft

Request

Path parameters

tableUrnstring uri required

A URN identifying a table resource in the Reference Data API.

Format: urn:ata:{tenant}:reference-data:table:{uuid}

Example: urn:ata:acme-corp:reference-data:table:123e4567-e89b-12d3-a456-426614174000.

Example:urn:ata:acme-corp:reference-data:table:123e4567-e89b-12d3-a456-426614174000

Table URN identifier.

Query parameters

afterstring

Cursor for forward pagination. Use the value from meta.next in the previous response.

beforestring

Cursor for backward pagination. Use the value from meta.prev in the previous response.

sizeinteger

Number of records to return per page.

attributeNamesstring[]

Specific attributes to include in the response.

Response

Paginated list of draft records with state information.

Example response

{
  "data": [
    {
      "urn": "urn:ata:acme-corp:reference-data:record:523e4567-e89b-12d3-a456-426614174004",
      "values": [
        {
          "recordUrn": "urn:ata:acme-corp:reference-data:record:523e4567-e89b-12d3-a456-426614174004"
        }
      ],
      "lastChangedByUrn": "urn:ata:acme-corp:iam:user:jane.doe@acme-corp.com",
      "state": "NEW"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.