{
	"info": {
		"_postman_id": "3927ce0d-1d6a-411c-afa6-1a55d7c8181b",
		"name": "agorum core High-level API (11.13)",
		"description": "High-level REST API for agorum core, the AI based Document Management System, full documentation: [agorum core High-level REST-API documentation](https://agorumdocproxy.agorum.com/roiwebui/acds_module/overview2/index.html#/7a345050-e913-11e9-a3bc-005056aa0ecc/59d98a50-1455-11f0-be2e-005056aa0ecc)",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "object",
			"item": [
				{
					"name": "object (folder)",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "type",
									"value": "folder",
									"description": "required",
									"type": "default"
								},
								{
									"key": "name",
									"value": "test-folder",
									"description": "required",
									"type": "default"
								},
								{
									"key": "target",
									"value": "/agorum/roi/Files",
									"description": "required",
									"type": "default"
								},
								{
									"key": "metadata",
									"value": "{\"identifier\":\"test\"}",
									"contentType": "application/json",
									"type": "default"
								},
								{
									"key": "expirationDays",
									"value": "1",
									"description": "expirationMillis, expirationSeconds, expirationMinutes, expirationHours, expirationDays, expirationWeeks, expirationMonths, expirationYears",
									"type": "default",
								    "disabled": true
								},
								{
									"key": "builtIn",
									"value": "{\"creator\":\"714614d0-ce62-11e0-b47a-0800276e2399\"}",
									"contentType": "application/json",
									"type": "default",
									"disabled": true
								},
							    {
									"key": "lock",
									"value": "{\"type\":\"hard\"}",
									"contentType": "application/json",
									"type": "default",
									"disabled": true
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.object",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.object"
							]
						},
						"description": "Create a folder object in agorum core."
					},
					"response": []
				},
				{
					"name": "object (folder, JSON)",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"type\": \"folder\",\r\n    \"name\": \"test-folder\",\r\n    \"target\": \"/agorum/roi/Files\",\r\n    \"metadata\": {\r\n        \"identifier\": \"test\"\r\n    },\r\n    \"builtIn\": {\r\n        \"owner\": \"714614d0-ce62-11e0-b47a-0800276e2399\",\r\n        \"creator\": \"714614d0-ce62-11e0-b47a-0800276e2399\",\r\n        \"lastModifier\": \"6f03ce10-5ce2-11f0-a328-00007f000101\"\r\n    },\r\n    \"lock\": {\r\n        \"type\": \"hard\",\r\n        \"user\": \"714614d0-ce62-11e0-b47a-0800276e2399\"\r\n    }\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.object",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.object"
							]
						},
						"description": "Create a folder object in agorum core."
					},
					"response": []
				},
				{
					"name": "object (structure)",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "type",
									"value": "structure",
									"description": "required",
									"type": "default"
								},
								{
									"key": "name",
									"value": "name.of.structure.definition",
									"description": "required",
									"type": "default"
								},
								{
									"key": "target",
									"value": "/target/folder",
									"type": "default"
								},
								{
									"key": "metadata",
									"value": "{}",
									"contentType": "application/json",
									"type": "default"
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.object",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.object"
							]
						},
						"description": "Create an object structure based on an ASA configuration in agorum core."
					},
					"response": []
				},
				{
					"name": "object (upload)",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "type",
									"value": "file",
									"description": "default: file (if content is set)",
									"type": "text",
									"disabled": true
								},
								{
									"key": "name",
									"value": "test.txt",
									"description": "default: <name of the uploaded file>",
									"type": "text",
									"disabled": true
								},
								{
									"key": "content",
									"description": "required",
									"type": "file",
									"src": []
								},
								{
									"key": "target",
									"value": "/agorum/roi/Files/test-folder",
									"description": "required",
									"type": "text"
								},
								{
									"key": "metadata",
									"value": "{\"identifier\":\"test\"}",
									"contentType": "application/json",
									"type": "text"
								},
								{
									"key": "expirationYears",
									"value": "11",
									"description": "expirationMillis, expirationSeconds, expirationMinutes, expirationHours, expirationDays, expirationWeeks, expirationMonths, expirationYears",
									"type": "text"
								},
								{
									"key": "builtIn",
									"value": "{\"creator\":\"714614d0-ce62-11e0-b47a-0800276e2399\"}",
									"contentType": "application/json",
									"type": "default",
									"disabled": true
								},
							    {
									"key": "lock",
									"value": "{\"type\":\"hard\"}",
									"contentType": "application/json",
									"type": "default",
									"disabled": true
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.object",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.object"
							]
						},
						"description": "Upload a file to agorum core."
					},
					"response": []
				},
				{
					"name": "object",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.object?id=/agorum/roi/Files/test-folder&metadata=~&metadata=~~&metadata=/expiration/i&inherited=~~&expirationHours=true&paths=/&paths=/agorum/roi/Files&property=isFolder&property=className&builtIn=true&lock=true",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.object"
							],
							"query": [
								{
									"key": "id",
									"value": "/agorum/roi/Files/test-folder",
									"description": "required"
								},
								{
									"key": "metadata",
									"value": "~"
								},
								{
									"key": "metadata",
									"value": "~~"
								},
								{
									"key": "metadata",
									"value": "/expiration/i"
								},
								{
									"key": "inherited",
									"value": "~~",
									"disabled": true
								},
								{
									"key": "expirationHours",
									"value": "true",
									"description": "expirationMillis, expirationSeconds, expirationMinutes, expirationHours, expirationDays, expirationWeeks, expirationMonths, expirationYears",
									"disabled": true
								},
								{
									"key": "paths",
									"value": "/"
								},
								{
									"key": "paths",
									"value": "/agorum/roi/Files",
									"disabled": true
								},
								{
									"key": "property",
									"value": "isFolder"
								},
								{
									"key": "property",
									"value": "className"
								},
								{
									"key": "builtIn",
									"value": "true"
								},
								{
									"key": "lock",
									"value": "true"
								}
							]
						},
						"description": "Retrieve object information from agorum core based on the provided ID and query parameters."
					},
					"response": []
				},
				{
					"name": "object/items",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.object/items?id=/agorum/roi/Files&metadata=~&metadata=name&expirationMinutes=true&builtIn=true&lock=true",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.object",
								"items"
							],
							"query": [
								{
									"key": "id",
									"value": "/agorum/roi/Files",
									"description": "required"
								},
								{
									"key": "metadata",
									"value": "~"
								},
								{
									"key": "metadata",
									"value": "name"
								},
								{
									"key": "expirationMinutes",
									"value": "true",
									"description": "expirationMillis, expirationSeconds, expirationMinutes, expirationHours, expirationDays, expirationWeeks, expirationMonths, expirationYears"
								},
								{
									"key": "builtIn",
									"value": "true"
								},
								{
									"key": "lock",
									"value": "true"
								}
							]
						},
						"description": "Retrieve custom objects with specific metadata from agorum core. The response is a JSON schema representing the structure of the data returned by the API."
					},
					"response": []
				},
				{
					"name": "object/history",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.object/history?id=/agorum/roi/Files/test-folder/test.txt&metadata=~&builtIn=true",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.object",
								"history"
							],
							"query": [
								{
									"key": "id",
									"value": "/agorum/roi/Files/test-folder/test.txt",
									"description": "required"
								},
								{
									"key": "metadata",
									"value": "~"
								},
								{
									"key": "builtIn",
									"value": "true"
								}
							]
						},
						"description": "Retrieve information about the history of an object in agorum core."
					},
					"response": []
				},
				{
					"name": "object/content",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.object/content?id=/agorum/roi/Files/test-folder/test.txt",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.object",
								"content"
							],
							"query": [
								{
									"key": "id",
									"value": "/agorum/roi/Files/test-folder/test.txt",
									"description": "required"
								}
							]
						},
						"description": "Retrieve the content of a specific file. The response will include the content of the file, along with additional metadata such as file size, content type, and other relevant information."
					},
					"response": []
				},
				{
					"name": "object/content/pdf",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.object/content/pdf?id=/agorum/roi/Files/test-folder/test.txt",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.object",
								"content",
								"pdf"
							],
							"query": [
								{
									"key": "id",
									"value": "/agorum/roi/Files/test-folder/test.txt",
									"description": "required"
								}
							]
						},
						"description": "Retrieve the content of a specific file in PDF format (if possible)."
					},
					"response": []
				},
				{
					"name": "object (form-data)",
					"request": {
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "id",
									"value": "/agorum/roi/Files/test-folder",
									"description": "required",
									"type": "text"
								},
								{
									"key": "metadata",
									"value": "{\"identifier\":\"test2\"}",
									"contentType": "application/json",
									"type": "text"
								},
								{
									"key": "content",
									"type": "file",
									"src": [],
									"disabled": true
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.object",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.object"
							]
						},
						"description": "Modify data of an existing object in agorum core."
					},
					"response": []
				},
				{
					"name": "object (JSON, shared lock)",
					"request": {
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"id\": \"/agorum/roi/Files/test-folder\",\r\n    \"metadata\": {\r\n        \"identifier\": \"test3\"\r\n    },\r\n    \"lock\": {\r\n        \"type\": \"shared\",\r\n        \"identifier\": \"lock.identifier\"\r\n    }\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.object",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.object"
							]
						},
						"description": "Lock or unlock an object in agorum core for editing. For parallel editing (shared lock), a lock identifier must be specified. Example: 'onlyoffice'"
					},
					"response": []
				},
				{
					"name": "object",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.object?id=/agorum/roi/Files/test-folder",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.object"
							],
							"query": [
								{
									"key": "id",
									"value": "/agorum/roi/Files/test-folder",
									"description": "required"
								},
								{
									"key": "skipTrash",
									"value": "false",
									"description": "default: false",
									"disabled": true
								},
								{
									"key": "parents",
									"value": "/agorum/roi/Files",
									"description": "optional: parent folder(s) to unlink from (repeatable, supports multiple values)",
									"disabled": true
								}
							]
						},
						"description": "Delete an object from agorum core, optionally skipping the trash."
					},
					"response": []
				}
			],
			"description": "Services for interacting with objects. With these services you can get information about objects in agorum core as well as create, update and delete specified objects."
		},
		{
			"name": "search",
			"item": [
				{
					"name": "search",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.search?query=*&fields=uuid&fields=name&limit=10&cursor=*&facets={\"max\":\"max(contentsize)\",\"min\":\"min(contentsize)\"}&highlights={\"limit\":5,\"field\":[\"content\"]}&includeHidden=true&sort=nameextension asc&sort=name desc",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.search"
							],
							"query": [
								{
									"key": "query",
									"value": "*",
									"description": "required"
								},
								{
									"key": "fields",
									"value": "uuid"
								},
								{
									"key": "fields",
									"value": "name"
								},
								{
									"key": "limit",
									"value": "10"
								},
								{
									"key": "cursor",
									"value": "*",
									"description": "needs encodeURIComponent() here, see: https://github.com/postmanlabs/postman-app-support/issues/8626"
								},
								{
									"key": "facets",
									"value": "{\"max\":\"max(contentsize)\",\"min\":\"min(contentsize)\"}",
									"description": "JSON object with named aggregations, e.g. {\"max\":\"max(contentsize)\",\"min\":\"min(contentsize)\"}"
								},
								{
									"key": "highlights",
									"value": "{\"limit\":5,\"field\":[\"content\"]}",
									"description": "JSON object with limit (number) and field (array of field names), e.g. {\"limit\":5,\"field\":[\"content\"]}"
								},
								{
									"key": "includeHidden",
									"value": "true"
								},
								{
									"key": "sort",
									"value": "nameextension asc"
								},
								{
									"key": "sort",
									"value": "name desc"
								},
								{
									"key": "facetFields",
									"value": "nameextension",
									"description": "field names to use for faceting (repeatable)",
									"disabled": true
								},
								{
									"key": "facetSort",
									"value": "count",
									"description": "sort order for facet results",
									"disabled": true
								},
								{
									"key": "facetMinCount",
									"value": "1",
									"description": "minimum count for a facet to be included",
									"disabled": true
								},
								{
									"key": "facetLimit",
									"value": "10",
									"description": "maximum number of facet results",
									"disabled": true
								},
								{
									"key": "facetMissing",
									"value": "true",
									"description": "include a count of documents with no value for the facet field",
									"disabled": true
								},
								{
									"key": "start",
									"value": "0",
									"description": "start offset (prefer cursor-based pagination instead)",
									"disabled": true
								}
							]
						},
						"description": "Retrieve the specified search results. Supports query, fields, sorting, pagination (cursor or start/limit), faceting and highlighting."
					},
					"response": []
				}
			],
			"description": "Search service"
		},
		{
			"name": "preview",
			"item": [
				{
					"name": "preview",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"var template = `\r",
									"<style type=\"text/css\">\r",
									"    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}\r",
									"    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}\r",
									"    .tftable tr {background-color:#ffffff;}\r",
									"    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}\r",
									"    .tftable tr:hover {background-color:#e0ffff;}\r",
									"</style>\r",
									"\r",
									"<table class=\"tftable\" border=\"1\">\r",
									"    <tr>\r",
									"        <th>Pages</th>\r",
									"    </tr>\r",
									"    <tr>\r",
									"        <td>{{response.pages}}</td>\r",
									"    </tr>\r",
									"</table>\r",
									"`;\r",
									"\r",
									"function constructVisualizerPayload() {\r",
									"    return { response: pm.response.json() }\r",
									"}\r",
									"\r",
									"pm.visualizer.set(template, constructVisualizerPayload());"
								],
								"type": "text/javascript",
								"packages": {}
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.preview?id=24e790a0-6c6f-11ef-b01a-00007f000101&size=400",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.preview"
							],
							"query": [
								{
									"key": "id",
									"value": "24e790a0-6c6f-11ef-b01a-00007f000101",
									"description": "required"
								},
								{
									"key": "size",
									"value": "400"
								},
								{
									"key": "width",
									"value": "800",
									"description": "optional: width in pixels",
									"disabled": true
								},
								{
									"key": "height",
									"value": "600",
									"description": "optional: height in pixels",
									"disabled": true
								}
							]
						},
						"description": "Retrieve preview information of a specific file. The response contains the number of pages in the file preview."
					},
					"response": []
				},
				{
					"name": "preview (download)",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.preview?id=/agorum/roi/Files/Demo/Willkommen.pdf&page=1&size=400",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.preview"
							],
							"query": [
								{
									"key": "id",
									"value": "/agorum/roi/Files/Demo/Willkommen.pdf",
									"description": "required"
								},
								{
									"key": "page",
									"value": "1",
									"description": "required"
								},
								{
									"key": "size",
									"value": "400"
								},
								{
									"key": "width",
									"value": "800",
									"description": "optional: width in pixels",
									"disabled": true
								},
								{
									"key": "height",
									"value": "600",
									"description": "optional: height in pixels",
									"disabled": true
								}
							]
						},
						"description": "Retrieve a preview of a specific file from agorum core. The response returns the specified file in image format."
					},
					"response": []
				}
			],
			"description": "Services for retrieving preview information"
		},
		{
			"name": "trash",
			"item": [
				{
					"name": "trash",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.trash?limit=10&fields=uuid&fields=deletedinfolder_uuid&fields=name&sort=deletedate desc",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.trash"
							],
							"query": [
								{
									"key": "query",
									"value": "*",
									"disabled": true
								},
								{
									"key": "limit",
									"value": "10"
								},
								{
									"key": "fields",
									"value": "uuid"
								},
								{
									"key": "fields",
									"value": "deletedinfolder_uuid"
								},
								{
									"key": "fields",
									"value": "name"
								},
								{
									"key": "sort",
									"value": "deletedate desc"
								},
								{
									"key": "cursor",
									"value": "*",
									"description": "needs encodeURIComponent() here, see: https://github.com/postmanlabs/postman-app-support/issues/8626",
									"disabled": true
								},
								{
									"key": "facets",
									"value": "{\"max\":\"max(contentsize)\",\"min\":\"min(contentsize)\"}",
									"disabled": true
								},
								{
									"key": "highlights",
									"value": "{\"limit\":5,\"field\":[\"content\"]}",
									"disabled": true
								},
								{
									"key": "includeHidden",
									"value": "true",
									"disabled": true
								},
								{
									"key": "facetFields",
									"value": "nameextension",
									"description": "field names to use for faceting (repeatable)",
									"disabled": true
								},
								{
									"key": "facetSort",
									"value": "count",
									"description": "sort order for facet results",
									"disabled": true
								},
								{
									"key": "facetMinCount",
									"value": "1",
									"description": "minimum count for a facet to be included",
									"disabled": true
								},
								{
									"key": "facetLimit",
									"value": "10",
									"description": "maximum number of facet results",
									"disabled": true
								},
								{
									"key": "facetMissing",
									"value": "true",
									"description": "include a count of documents with no value for the facet field",
									"disabled": true
								},
								{
									"key": "start",
									"value": "0",
									"description": "start offset (prefer cursor-based pagination instead)",
									"disabled": true
								}
							]
						},
						"description": "Retrieve trash items from agorum core. Supports the same search parameters as the search endpoint (cursor, facets, highlights, faceting options, etc.) since it uses the same underlying search engine."
					},
					"response": []
				},
				{
					"name": "trash (restore)",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "id",
									"value": "id of object to be restored",
									"description": "required",
									"type": "default"
								},
								{
									"key": "target",
									"value": "id of folder to restore in",
									"type": "default",
									"disabled": true
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.trash",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.trash"
							]
						},
						"description": "Restore the specified object."
					},
					"response": []
				}
			],
			"description": "Services for managing deleted objects (trash)"
		},
		{
			"name": "workflow",
			"item": [
				{
					"name": "instance",
					"item": [
						{
							"name": "workflow/start",
							"request": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "workflow",
											"value": "workflow definition",
											"description": "required",
											"type": "default"
										},
										{
											"key": "variables",
											"value": "{\"variable\":\"value\"}",
											"contentType": "application/json",
											"type": "default",
											"disabled": true
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/rest/custom/agorum.hl.workflow/start",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"rest",
										"custom",
										"agorum.hl.workflow",
										"start"
									]
								},
								"description": "Start a new workflow instance."
							},
							"response": []
						},
						{
							"name": "workflow/run",
							"request": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "workflow",
											"value": "workflow definition",
											"description": "required",
											"type": "default"
										},
										{
											"key": "variables",
											"value": "{\"variable\":\"value\"}",
											"contentType": "application/json",
											"type": "default",
											"disabled": true
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/rest/custom/agorum.hl.workflow/run",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"rest",
										"custom",
										"agorum.hl.workflow",
										"run"
									]
								},
							    "description": "Execute a non-interactive workflow."
							},
							"response": []
						},
						{
							"name": "workflow/tokens",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{url}}/api/rest/custom/agorum.hl.workflow/tokens?id=instance id",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"rest",
										"custom",
										"agorum.hl.workflow",
										"tokens"
									],
									"query": [
										{
											"key": "id",
											"value": "instance id",
											"description": "required"
										}
									]
								},
								"description": "Retrieve tokens from a workflow instance."
							},
							"response": []
						},
						{
							"name": "workflow",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{url}}/api/rest/custom/agorum.hl.workflow?id=instance id",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"rest",
										"custom",
										"agorum.hl.workflow"
									],
									"query": [
										{
											"key": "id",
											"value": "instance id",
											"description": "required"
										}
									]
								},
							 	"description": "Get information about a workflow."
							},
							"response": []
						}
					]
				},
				{
					"name": "token",
					"item": [
						{
							"name": "workflow/instance",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{url}}/api/rest/custom/agorum.hl.workflow/instance?id=token id",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"rest",
										"custom",
										"agorum.hl.workflow",
										"instance"
									],
									"query": [
										{
											"key": "id",
											"value": "token id",
											"description": "required"
										}
									]
								},
								"description": "Get the workflow instance for a given token."
							},
							"response": []
						},
						{
							"name": "workflow",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{url}}/api/rest/custom/agorum.hl.workflow?id=token id",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"rest",
										"custom",
										"agorum.hl.workflow"
									],
									"query": [
										{
											"key": "id",
											"value": "token id",
											"description": "required"
										}
									]
								},
							    "description": "Get information about a workflow."
							},
							"response": []
						},
						{
							"name": "workflow",
							"request": {
								"method": "PUT",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "id",
											"value": "token id",
											"description": "required",
											"type": "default"
										},
										{
											"key": "variables",
											"value": "{\"variable\":\"value\"}",
											"contentType": "application/json",
											"description": "required",
											"type": "default"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/rest/custom/agorum.hl.workflow",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"rest",
										"custom",
										"agorum.hl.workflow"
									]
								},
								"description": "Set or update variables for a workflow instance."
							},
							"response": []
						}
					]
				},
				{
					"name": "UI",
					"item": [
						{
							"name": "workflow/acquire",
							"request": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "id",
											"value": "token id",
											"description": "required",
											"type": "default"
										},
										{
											"key": "force",
											"value": "false",
											"type": "default",
											"disabled": true
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/rest/custom/agorum.hl.workflow/acquire",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"rest",
										"custom",
										"agorum.hl.workflow",
										"acquire"
									]
								},
							    "description": "Acquires a UI node."
							},
							"response": []
						},
						{
							"name": "workflow/release",
							"request": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "id",
											"value": "token id",
											"description": "required",
											"type": "default"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/rest/custom/agorum.hl.workflow/release",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"rest",
										"custom",
										"agorum.hl.workflow",
										"release"
									]
								},
								"description": "Release a previously acquired UI node."
							},
							"response": []
						},
						{
							"name": "workflow/save",
							"request": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "id",
											"value": "token id",
											"description": "required",
											"type": "default"
										},
										{
											"key": "variables",
											"value": "{\"variable\":\"value\"}",
											"contentType": "application/json",
											"description": "required",
											"type": "default"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/rest/custom/agorum.hl.workflow/save",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"rest",
										"custom",
										"agorum.hl.workflow",
										"save"
									]
								},
				                "description": "Save variables for UI node."
							},
							"response": []
						},
						{
							"name": "workflow/leave",
							"request": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "id",
											"value": "token id",
											"description": "required",
											"type": "default"
										},
										{
											"key": "outlet",
											"value": "outlet name",
											"description": "required",
											"type": "default"
										},
										{
											"key": "variables",
											"value": "{\"variable\":\"value\"}",
											"contentType": "application/json",
											"type": "default",
											"disabled": true
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/rest/custom/agorum.hl.workflow/leave",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"rest",
										"custom",
										"agorum.hl.workflow",
										"leave"
									]
								},
								"description": "Leave a UI node via an outlet."
							},
							"response": []
						}
					]
				},
				{
					"name": "abort",
					"item": [
						{
							"name": "workflow/abort",
							"request": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "id",
											"value": "instance id",
											"description": "required",
											"type": "default"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/rest/custom/agorum.hl.workflow/abort",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"rest",
										"custom",
										"agorum.hl.workflow",
										"abort"
									]
								},
								"description": "Abort a running workflow instance. This immediately cancels the workflow instance and all its tokens."
							},
							"response": []
						}
					]
				},
				{
					"name": "delay/wait",
					"item": [
						{
							"name": "workflow/trigger",
							"request": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "id",
											"value": "token id",
											"description": "required",
											"type": "default"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/rest/custom/agorum.hl.workflow/trigger",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"rest",
										"custom",
										"agorum.hl.workflow",
										"trigger"
									]
								},
								"description": "Trigger a workflow containing a delay node to continue."
							},
							"response": []
						}
					]
				}
			],
			"description": "Services for working with workflows"
		},
		{
			"name": "admin",
			"item": [
				{
					"name": "acl",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.admin/acl?id=84664550-558d-11f0-9436-02420a0a0012",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.admin",
								"acl"
							],
							"query": [
								{
									"key": "id",
									"value": "84664550-558d-11f0-9436-02420a0a0012"
								}
							]				
						},
						"description": "Retrieve the ACL UUID of a specific object."
					},
					"response": []
				},
				{
					"name": "scopeAcls",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.admin/scopeAcls?id=84664550-558d-11f0-9436-02420a0a0012",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.admin",
								"scopeAcls"
							],
							"query": [
								{
									"key": "id",
									"value": "84664550-558d-11f0-9436-02420a0a0012"
								}
							]
						},
					    "description": "Retrieve all Scope ACL UUIDs of a specific object."
					},
					"response": []
				},
				{
					"name": "acl",
					"request": {
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "id",
									"value": "84664550-558d-11f0-9436-02420a0a0012",
									"description": "required: UUID or path of the target object",
									"type": "default"
								},
								{
									"key": "acl",
									"value": "acl:Published",
									"description": "required: ACL identifier (e.g. acl:Published)",
									"type": "default"
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.admin/acl",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.admin",
								"acl"
							]
						},
						"description": "Set the ACL of a specific object."
					},
					"response": []
				},
				{
					"name": "addScopeAcl",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "id",
									"value": "84664550-558d-11f0-9436-02420a0a0012",
									"description": "required: UUID or path of the target object",
									"type": "default"
								},
								{
									"key": "acl",
									"value": "acl:ACLDemo",
									"description": "required: ACL identifier (repeatable)",
									"type": "default"
								},
								{
									"key": "acl",
									"value": "acl:Public",
									"description": "required: ACL identifier (repeatable)",
									"type": "default"
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.admin/addScopeAcl",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.admin",
								"addScopeAcl"
							]
						},
				        "description": "Add Scope ACL to agorum core."
					},
					"response": []
				},
				{
					"name": "removeScopeAcl",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "id",
									"value": "84664550-558d-11f0-9436-02420a0a0012",
									"description": "required: UUID or path of the target object",
									"type": "default"
								},
								{
									"key": "acl",
									"value": "acl:ACLDemo",
									"description": "required: ACL identifier (repeatable)",
									"type": "default"
								},
								{
									"key": "acl",
									"value": "acl:Public",
									"description": "required: ACL identifier (repeatable)",
									"type": "default"
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.admin/removeScopeAcl",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.admin",
								"removeScopeAcl"
							]
						},
				        "description": "Remove Scope ACL from agorum core."
					},
					"response": []
				}
			],
			"description": "Services for administration tasks in agorum core"
		},
		{
			"name": "queue",
			"item": [
				{
					"name": "queue",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.queue?ident=my.queue.identifier&limit=10&start=0",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.queue"
							],
							"query": [
								{
									"key": "ident",
									"value": "my.queue.identifier",
									"description": "required"
								},
								{
									"key": "id",
									"value": "12345",
									"description": "optional: filter by specific queue entry ID",
									"disabled": true
								},
								{
									"key": "limit",
									"value": "10",
									"disabled": true
								},
								{
									"key": "start",
									"value": "0",
									"disabled": true
								}
							]
						},
						"description": "Retrieve queue entries by identifier. Returns an array of queue entries with id, sortId, ident and data."
					},
					"response": []
				},
				{
					"name": "queue (create)",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "id",
									"value": "12345",
									"description": "required: numeric ID for the queue entry",
									"type": "default"
								},
								{
									"key": "ident",
									"value": "my.queue.identifier",
									"description": "required: queue identifier",
									"type": "default"
								},
								{
									"key": "data",
									"value": "optional payload data",
									"description": "optional: arbitrary data string",
									"type": "default",
									"disabled": true
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.queue",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.queue"
							]
						},
						"description": "Create a new queue entry."
					},
					"response": []
				},
				{
					"name": "queue (delete)",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{url}}/api/rest/custom/agorum.hl.queue?id=12345&ident=my.queue.identifier",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"rest",
								"custom",
								"agorum.hl.queue"
							],
							"query": [
								{
									"key": "id",
									"value": "12345",
									"description": "required: numeric ID of the queue entry"
								},
								{
									"key": "ident",
									"value": "my.queue.identifier",
									"description": "required: queue identifier"
								},
								{
									"key": "sortId",
									"value": "1",
									"description": "optional: sort ID of the queue entry",
									"disabled": true
								}
							]
						},
						"description": "Delete a queue entry by ID and identifier."
					},
					"response": []
				}
			],
			"description": "Services for managing queue entries in agorum core"
		}
	],
	"auth": {
		"type": "bearer",
		"bearer": [
			{
				"key": "token",
				"value": "",
				"type": "string"
			}
		]
	},
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "url",
			"value": "https://<agorum-core-server>",
			"type": "default"
		}
	]
}