Download OpenAPI specification:Download
The Interactive RESTful API can be used to create manage interactive documents and instances.
Interactive Templates allow human interaction in processes that need to generate documents or send communications.
This service can be used for:
The base URL for the Xribe interactive RESTful API is https://interactive.compose.platform.unifiedpost.com/api
The typical application flow for an interactive application is:
environmentID
, projectID
, and instanceID
with the corresponding UUIDs)All requests to the Xribe Interactive API must be authenticated. See OAuth 2.0 for information on how to obtain security tokens and Performing authenticated requests on how to use them.
The Xribe Interactive API uses https://login.inventivedesigners.com as its authentication and authorization server.
Users that make calls to the Xribe Interactive API should have permission interactive
.
In addition to this they should also have access to the different resources.
Api endpoint | Operation | Resource |
---|---|---|
getInstance(s) | read | project://<accountName>/<projectID>/<environmentID> |
createInstance | write | project://<accountName>/<projectID>/<environmentID> |
deleteInstance | write | project://<accountName>/<projectID>/<environmentID> |
getDocument | ||
getTheme | ||
getResources | ||
getSession | read | project://<accountName>/<projectID>/<environmentID> |
createSession | write | project://<accountName>/<projectID>/<environmentID> |
closeSession | write | project://<accountName>/<projectID>/<environmentID> |
getInstanceData | ||
preview | write | project://<accountName>/<projectID>/<environmentID> |
re-index | write | project://<accountName>/<projectID>/<environmentID> |
Term | Description |
---|---|
Interactive Document | Created from a Template and a theme. Use re-index to update the documents when changes are made to templates, themes, Pluggable Objects, or Content Blocks. |
Interactive Instance | A specific instance of document together with JSON data, which will be used to generate the final output/communication. |
Instance Session | There needs to be an open Instance Session before changes can be made to an Interactive Instance. Creating an Instance Session will also automatically create a new Instance Version. |
Instance Version | A version of an Interactive Instance will point to a particular version of the document and the JSON data. This allows you to always know when a particular change was made to an Interactive Instance. |
Get the 100 most recent Interactive Documents.
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
lastEvaluatedKey | string Used for pagination. Provide the returned lastEvaluatedKey of a previous listing to get the next 100 items. When the parameter is omitted, the first 100 items will be returned. |
lastEvaluatedKey required | string (The last evaluated key, can be provided on a following call as a request parameter to get the next set of items.) |
required | Array of objects (The Documents Schema) |
{- "lastEvaluatedKey": "{\"offset\":100}",
- "documents": [
- {
- "documentID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "latestVersion": [
- true
], - "documentName": [
- "My Document"
], - "createdAt": [
- "2019-01-02T07:10:55.221Z"
], - "modifiedAt": [
- "2019-01-02T07:10:55.221Z"
], - "path": [
- "idr://cloud-resources/inventive-designers/nvdbleek-training/Draft/GreenBill.sdt"
], - "theme": [
- "themes/paged-base.html"
], - "projectID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "environmentID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "contentHash": [
- "3c38f5d79fb0a825e7b539089f4d087a316fc3ed21d1466909da3f4abfdd8b1a"
]
}
]
}
Get the 100 most recent instances.
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
expand | Array of strings Items Value: "sessions" Specify if the associated instance sessions and/or version should also be returned. |
orderBy | string Enum: "createdAt" "createdAt desc" "createdAt asc" "modifiedAt" "modifiedAt desc" "modifiedAt asc" "instanceDescription" "instanceDescription desc" "instanceDescription asc" "status" "status desc" "status asc" Specify on what field the result should be ordered (default order is descending). |
lastEvaluatedKey | string Used for pagination. Provide the returned lastEvaluatedKey of a previous listing to get the next 100 items. When the parameter is omitted, the first 100 items will be returned. |
lastEvaluatedKey required | string (The last evaluated key, can be provided on a following call as a request parameter to get the next set of items.) |
required | Array of objects (The Instances Schema) |
{- "lastEvaluatedKey": "{\"offset\":100}",
- "instances": [
- {
- "instanceID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceDescription": [
- "My Instance"
], - "createdAt": [
- "2019-01-02T07:10:55.221Z"
], - "modifiedAt": [
- "2019-01-02T07:10:55.221Z"
], - "status": [
- "New"
], - "projectID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "environmentID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "contentHash": [
- "3c38f5d79fb0a825e7b539089f4d087a316fc3ed21d1466909da3f4abfdd8b1a"
], - "sessions": [
- {
- "sessionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceVersionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "description": [
- "Updated the amount"
], - "createdAt": [
- "2019-01-02T07:10:55.221Z"
], - "modifiedAt": [
- "2019-01-02T07:10:55.221Z"
], - "closedAt": [
- "2019-01-02T07:10:55.221Z"
], - "uid": [
- "jdoe"
]
}
], - "documentName": [
- "My Document"
], - "expiration": [
- "2019-01-02T07:10:55.221Z"
]
}
]
}
Create new instance.
Instance creation data.
projectID required | string (The project ID of the current Instance) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
environmentID required | string (The environment ID of the current Instance) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
required | The document ID (string) or Array of The document ID (strings) (The document ID) |
instanceDescription required | string (The description for the instance) |
data required | object (The data used to cerate the instance) |
expiration | number (Specifies an expiration period for the instance, as a number of hours from the instance creation date. All sessions of expired instances will be automatically closed and the expired instances will be deleted automatically. If omitted the instance will never expire.) |
instanceID required | string (The ID of the instance) |
{- "projectID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "environmentID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "documentID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceDescription": [
- "Invoice for John Doe"
], - "data": { },
- "expiration": 0
}
{- "instanceID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
]
}
Get Interactive Instance info
instanceID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance ID |
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
expand | Array of strings or null Value: "documentName" Specify if the associated info should also be returned. |
instanceID required | string (The ID of the instance) |
instanceDescription required | string (The Instance description) |
createdAt required | string <date-time> (When it was created) |
modifiedAt required | string <date-time> (When it was last modified) |
status required | string (The Status) |
projectID required | string (The project ID of the Interactive Documents) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
environmentID required | string (The environment ID of the Interactive Documents.) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
contentHash | string (The hash of the content.) |
Array of objects (The associated sessions. They are only returned when you provide the sessions expand parameter) | |
documentName | string (The Instance's Document name) |
expiration | string or null <date-time> (Specifies an expiration period for the instance, as a timestamp string from the instance creation date. All sessions of expired instances will be automatically closed and the expired instances will be deleted automatically. If omitted the instance will expire after 1 year.) |
{- "instanceID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceDescription": [
- "My Instance"
], - "createdAt": [
- "2019-01-02T07:10:55.221Z"
], - "modifiedAt": [
- "2019-01-02T07:10:55.221Z"
], - "status": [
- "New"
], - "projectID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "environmentID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "contentHash": [
- "3c38f5d79fb0a825e7b539089f4d087a316fc3ed21d1466909da3f4abfdd8b1a"
], - "sessions": [
- {
- "sessionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceVersionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "description": [
- "Updated the amount"
], - "createdAt": [
- "2019-01-02T07:10:55.221Z"
], - "modifiedAt": [
- "2019-01-02T07:10:55.221Z"
], - "closedAt": [
- "2019-01-02T07:10:55.221Z"
], - "uid": [
- "jdoe"
]
}
], - "documentName": [
- "My Document"
], - "expiration": [
- "2019-01-02T07:10:55.221Z"
]
}
Delete the provided Interactive Instance
instanceID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance ID |
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
status required | string (The status, will always be the value 'deleted') |
{- "status": "string"
}
Get the 100 most recent instance versions that belong to this instance.
instanceID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance ID |
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
lastEvaluatedKey | string Used for pagination. Provide the returned lastEvaluatedKey of a previous listing to get the next 100 items. When the parameter is omitted, the first 100 items will be returned. |
lastEvaluatedKey required | string (The last evaluated key, can be provided on a following call as a request parameter to get the next set of items.) |
required | Array of objects (The Instances Version Schema) |
{- "lastEvaluatedKey": "{\"offset\":100}",
- "versions": [
- {
- "instanceID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceDescription": [
- "My Instance"
], - "createdAt": [
- "2019-01-02T07:10:55.221Z"
], - "modifiedAt": [
- "2019-01-02T07:10:55.221Z"
], - "status": [
- "New"
], - "projectID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "environmentID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "contentHash": [
- "3c38f5d79fb0a825e7b539089f4d087a316fc3ed21d1466909da3f4abfdd8b1a"
], - "sessions": [
- {
- "sessionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceVersionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "description": [
- "Updated the amount"
], - "createdAt": [
- "2019-01-02T07:10:55.221Z"
], - "modifiedAt": [
- "2019-01-02T07:10:55.221Z"
], - "closedAt": [
- "2019-01-02T07:10:55.221Z"
], - "uid": [
- "jdoe"
]
}
], - "documentName": [
- "My Document"
], - "expiration": [
- "2019-01-02T07:10:55.221Z"
], - "instanceVersionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "versionDescription": [
- "My Change"
], - "uid": [
- "jdoe"
]
}
]
}
Get the data of the specified instance version
instanceID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance ID |
instanceVersionID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance version ID |
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
{ }
Get the current data of the instance
instanceID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance ID |
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
{ }
Update the current data of the instance. The authenticated user should have a open session to update the data.
instanceID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance ID |
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
{ }
Create a preview of the instance
instanceID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance ID |
Instance preview data.
projectID required | string (The project ID of the current Instance) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
environmentID required | string (The environment ID of the current Instance) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
outputType required | string (The preview output type) |
theme | string (The relative path of the theme used for preview) |
instanceVersionID | string (The ID of the instance version associated with this session) |
previewURL required | string (The Instance Preview URL) |
{- "projectID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "environmentID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "outputType": [
- "pdf",
- "web-html5",
- "email",
- "application"
], - "theme": [
- "themes/preview.html"
], - "instanceVersionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
]
}
Compare two versions of an instance. The response contains ...
instanceID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance ID |
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
from required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance version ID to use as the base for the comparison |
to required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance version ID to compare to |
expand required | Array of strings Items Enum: "data" "interactive" Specify if the dataPatch and/or interactivePatch needs be returned. |
projectID required | string (The project ID of the Interactive Documents) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
environmentID required | string (The environment ID of the Interactive Documents.) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
instanceID required | string (The instance ID of the Interactive Documents.) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
from required | string (The base instance version ID to compare from.) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
to required | string (The instance version ID to compare to.) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
Array of objects (The JSON patch (RFC 6902) for the data (excluding the interactive documents related data), when applied on the 'from' instance version it will result in the 'to' instance version) | |
Array of objects (The JSON patch (RFC 6902) for the interactive documents related data, when applied on the 'from' instance version it will result in the 'to' instance version) |
{- "projectID": "26cc1a35-3f15-443c-86ed-b73a09bccbb1",
- "environmentID": "186fdf8a-0290-43a5-afbf-5d687648998e",
- "from": "7181c66b-dcc0-42b9-a784-b847d3acc42e",
- "to": "32c3f3b4-7a9e-4d5d-b91f-f0b0de940769",
- "dataPatch": [
- {
- "op": "replace",
- "path": "/name",
- "value": "Jane Doe"
}, - {
- "op": "replace",
- "path": "/address/street",
- "value": "Davis Parade"
}
], - "interactivePatch": [
- {
- "op": "replace",
- "path": "/_interactive_content/_state/Extra Note",
- "value": "As a valued customer, we can offer you a discount of 5%."
}
]
}
Get the 100 most recent instance session.
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
lastEvaluatedKey | string Used for pagination. Provide the returned lastEvaluatedKey of a previous listing to get the next 100 items. When the parameter is omitted, the first 100 items will be returned. |
lastEvaluatedKey required | string (The last evaluated key, can be provided on a following call as a request parameter to get the next set of items.) |
required | Array of objects (The Instance Session Schema) |
{- "lastEvaluatedKey": "{\"offset\":100}",
- "sessions": [
- {
- "sessionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceVersionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceDescription": [
- "My Instance"
], - "createdAt": [
- "2019-01-02T07:10:55.221Z"
], - "modifiedAt": [
- "2019-01-02T07:10:55.221Z"
], - "closedAt": [
- "2019-01-02T07:10:55.221Z"
], - "instanceStatus": [
- "New"
], - "projectID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "environmentID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "uid": [
- "jdoe"
]
}
]
}
Delete instance sessions.
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
before | string(^[0-9]+$|^[0-9]{4}-[01][0-9]-[0-3][0-9](T[0-... When provided only sessions who have a created date before this timestamp will be deleted. The value should either be a number (milliseconds since 1 January 1970 UTC) or an ISO date (or dateTime) including a timezone. |
deleteCount required | integer (The number of sessions deleted) |
{- "deleteCount": 0
}
Get the 100 most recent instance session that belong to this session.
instanceID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance ID |
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
lastEvaluatedKey | string Used for pagination. Provide the returned lastEvaluatedKey of a previous listing to get the next 100 items. When the parameter is omitted, the first 100 items will be returned. |
lastEvaluatedKey required | string (The last evaluated key, can be provided on a following call as a request parameter to get the next set of items.) |
required | Array of objects (The Instance Session Schema) |
{- "lastEvaluatedKey": "{\"offset\":100}",
- "sessions": [
- {
- "sessionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceVersionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceDescription": [
- "My Instance"
], - "createdAt": [
- "2019-01-02T07:10:55.221Z"
], - "modifiedAt": [
- "2019-01-02T07:10:55.221Z"
], - "closedAt": [
- "2019-01-02T07:10:55.221Z"
], - "instanceStatus": [
- "New"
], - "projectID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "environmentID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "uid": [
- "jdoe"
]
}
]
}
Create a new instance session
instanceID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance ID |
Instance session creation data.
projectID required | string (The project ID of the current Instance Session) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
environmentID required | string (The environment ID of the current Instance Session) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
sessionID required | string (The ID of the session) |
instanceVersionID required | string (The ID of the instance version associated with this session) |
{- "projectID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "environmentID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
]
}
{- "sessionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "instanceVersionID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
]
}
Close instance session information
instanceID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The instance ID |
sessionID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The session ID |
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
description required | string The description of what was changed |
status required | string (The status, will always be the value 'closed') |
{- "status": "string"
}
Re-index the interactive documents
re-index configuration data.
projectID required | string (The project ID of the current Instance Session) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
environmentID required | string (The environment ID of the current Instance Session) ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... |
templateURL | string (The path of the SDT to re-index. If omitted all templates in the project/environment will be re-indexed.) |
{- "projectID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "environmentID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "templateURL": [
- "idr://cloud-resources/inventive-designers/training/Draft/GreenBill.sdt"
]
}
{- "status": "string",
- "reIndexID": "string"
}
Get information about the re-index operation.
reIndexID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The re-index ID |
projectID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The project ID of the Interactive Documents |
environmentID required | string^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... The environment ID of the instances. |
status required | string (The status) Enum: "indexing" "failed" "completed" |
createdAt required | string <date-time> (When it was created) |
modifiedAt required | string <date-time> (When it was last modified) |
Array of objects (information of the indexed documents) |
{- "status": "indexing",
- "createdAt": [
- "2019-01-02T07:10:55.221Z"
], - "modifiedAt": [
- "2019-01-02T07:10:55.221Z"
], - "documents": [
- {
- "status": "indexed",
- "documentID": [
- "f61f6d00-9d83-4ed7-bf35-07fce5e823e5"
], - "documentName": [
- "My Document"
], - "templateURL": [
- "idr://cloud-resources/inventive-designers/training/Draft/GreenBill.sdt"
], - "themeURL": [
- "idr://cloud-resources/inventive-designers/training/Draft/themes/company.html",
- "/Default"
]
}
]
}
Endpoint which implements the OAuth Assisted Token flow
client_id required | string The client_id to use (redirect URLs should contain the URL of the page that uses assisted flow and should have permission oauth:token-service:assisted-token-grant) |
for_origin required | string The origin of the page that uses the assisted flow |
prompt | string Value: "none" If prompt none is provided no user interaction will be allowed to complete the login action. |
scope | string The scope parameter allows you to specify what access is needed. |
{ }
Login callback hook.
code | string The authorization code generated by the authorization server. |
state | string The exact value received from the client when initiating the authorization flow. |
session_state | string The OpenID session state. |
error | string The error code if an error ocurred. |
{ }