Get entry revisions

Returns revisions of the specified DataLens entry.

Request

POST

http://<хост_on-premises>/rpc/getRevisions

Headers

Name

Description

x-dl-api-version

Type: string

API version header.

Const: 3

Example: 3

Body

application/json
{
  "entryId": "example",
  "pageSize": 1000,
  "pageToken": "example",
  "revIds": [
    "example"
  ]
}

Name

Description

entryId

Type: string

Unique identifier of the DataLens entry.

Example: example

pageSize

Type: integer

Number of revisions per page.

Default: 1000

Min value: 1

Max value: 1000

pageToken

Type: string

Token for retrieving the next page of revisions.

Example: example

revIds

Type: string[]

IDs of revisions to return.

Min items: 1

Max items: 1000

Example
[
  "example"
]

Responses

200 OK

Response

Body

application/json
{
  "entries": [
    {
      "revId": "example",
      "updatedAt": "example",
      "updatedBy": "example",
      "isSaved": true,
      "isPublished": true
    }
  ],
  "nextPageToken": "example"
}

Name

Description

entries

Type: object[]

isPublished

Type: boolean

Whether this is the published revision.

isSaved

Type: boolean

Whether this is the latest saved revision.

revId

Type: string

Unique identifier of the revision.

Example: example

updatedAt

Type: string

Date and time when the revision was last updated.

Example: example

updatedBy

Type: string

ID of the user who last updated the revision.

Example: example

Example
[
  {
    "revId": "example",
    "updatedAt": "example",
    "updatedBy": "example",
    "isSaved": true,
    "isPublished": true
  }
]

nextPageToken

Type: string

Token for retrieving the next page of revisions.

Example: example

Предыдущая
Следующая