Skip to main content
GET
/
library
/
v1beta1
/
{libId}
/
customScripts
cURL
curl --request GET \
  --url https://aodocs.altirnao.com/api/library/v1beta1/{libId}/customScripts \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "customScripts": [
    {
      "async": true,
      "code": {},
      "createdTime": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "imports": [
        "<string>"
      ],
      "kind": "<string>",
      "language": "JAVA",
      "lastModifiedTime": "2023-11-07T05:31:56Z",
      "libraryId": "<string>",
      "name": "<string>",
      "parameters": [
        {
          "defaultValue": "<string>",
          "description": "<string>",
          "forcedValueForExistingBindings": "<string>",
          "name": "<string>"
        }
      ],
      "predefined": true,
      "runAs": "RUN_AS_SYSTEM",
      "type": "RELATION_FILTER"
    }
  ],
  "kind": "<string>",
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

libId
string
required

The ID of the library

Query Parameters

includePredefinedScripts
boolean
default:false

Whether to include predefined read-only scripts. (Default: false)

types
enum<string>[]

The types to filter on (Optional - Default : no filter)

Available options:
RELATION_FILTER,
RELATION_RENDER,
UPDATE,
VIEWER,
WORKFLOW_TRANSITION,
REMINDER_CONDITION
limit
integer<int32>
default:50

The maximum number of custom scripts per page. (Default: 50)

nextPageToken
string

DEPRECATED. Use pageToken instead.

pageToken
string

The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.

domain
string

The G Suite domain

securityCode
string

The security code

Response

200 - application/json

A ApiCustomScriptList response

count
integer<int32>
customScripts
object[]
kind
string
nextPageToken
string