Legal Holds

Get Legal Hold Documents

Changed on

Retrieves a paginated list of all documents associated with a specified legal hold. Documents may continue to appear for up to 24 hours after users are removed from the legal hold, as the system processes the release asynchronously.

get/v1/accounts/me/legalHoldDocuments/{legalHoldId}

Request

  • Base URL
    https://api.lucid.co
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://lucid.app/oauth2/authorize
      Token URLhttps://api.lucid.co/oauth2/token
      Scopesaccount.legalhold, account.legalhold:readonly

Path parameters

legalHoldIdstring uuid required

Unique ID of the legal hold.

Response

With paginated list of Documents.

documentIdstring uuid required

Unique ID of the document

titlestring required

Title of the document

editUrlstring uri required

Link to edit the document

viewUrlstring uri required

Link to view the document

versioninteger required

Most recent version

pageCountinteger required

Number of pages within the document

canEditboolean required

If requesting user can edit the document

createdstring date-time required

Date and time of when the document was created

creatorIdinteger required

ID of user who created and owns the document

lastModifiedstring date-time required

Date and time of when the document was last modified

lastModifiedUserIdinteger required

ID of user who most recently modified the document

customTagsstring[] required

List of any custom tags assigned to the document

product'lucidchart' | 'lucidscale' | 'lucidspark' required

The Lucid Suite product that a document was created in.

statusstring nullable

Current assigned status of the document

classificationstring nullable

Current assigned classification of the document

classificationIdstring uuid nullable

Current assigned classification ID of the document.

trashedstring date-time nullable

If defined, the timestamp when the document was moved to the trash

parentinteger nullable

ID of the parent folder

accountIdinteger nullable required

ID of Lucid account that owns the document

Example response

[
  {
    "documentId": "110808fd-4553-4316-bccf-4f25ff59a532",
    "title": "document title",
    "editUrl": "https://lucid.app/lucidchart/110808fd-4553-4316-bccf-4f25ff59a532/edit",
    "viewUrl": "https://lucid.app/lucidchart/110808fd-4553-4316-bccf-4f25ff59a532/view",
    "version": 101,
    "pageCount": 5,
    "canEdit": false,
    "created": "2019-04-22T13:47:23Z",
    "creatorId": 12345,
    "lastModified": "2020-06-26T16:29:37Z",
    "lastModifiedUserId": 54321,
    "customAttributes": [],
    "customTags": [
      "in progress"
    ],
    "product": "lucidchart",
    "status": "Complete",
    "classification": "Private",
    "trashed": null,
    "parent": null,
    "repository": null,
    "owner": {
      "id": 123456,
      "type": "user",
      "name": "John Doe"
    },
    "accountId": 1234
  }
]

Changes

    • breaking

      the response property items/customAttributes/items/name became nullable for the status

    • breaking

      the response property items/customAttributes/items/value became nullable for the status

    • breaking

      response property items/customAttributes/items/value list-of-types was widened by adding types number to media type application/json of response 200

    2 more changes in this revision