{
	"info": {
		"_postman_id": "932955a4-f025-420e-acce-e9714e24e141",
		"name": "netx-public-api",
		"description": "NetX is a Digital Asset Management application that empowers users to store, manage, and distribute their digital assets. You can use our API to access assets, folders, attribute data, collections, and views.\n\nOur API adheres to the JSON-RPC 2.0 spec (http://www.jsonrpc.org/specification) with a few exceptions; we do not yet support named parameters or batched calls.\n\nFor more information, see https://developer.netx.net/",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Assets",
			"item": [
				{
					"name": "GET asset original",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://{{netx-uri}}/api/file/asset/201/asset.png",
							"protocol": "http",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"file",
								"asset",
								"201",
								"asset.png"
							]
						}
					},
					"response": []
				},
				{
					"name": "GET asset thumbnail",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/file/asset/201/thumbnail.jpg",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"file",
								"asset",
								"201",
								"thumbnail.jpg"
							]
						}
					},
					"response": []
				},
				{
					"name": "getAssets",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"jsonrpc\" : \"2.0\",\n    \"id\" : \"1234567890\",\n    \"method\" : \"getAssets\",\n    \"params\":[\n    \t[17901, 17902, 17903],\n        {\n            \"data\": [\n                \"asset.base\",\n                \"asset.file\"\n            ]\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Gets one or more assets using their unique identifiers"
					},
					"response": []
				},
				{
					"name": "updateAsset",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"jsonrpc\" : \"2.0\",\n    \"id\" : \"72038957398403\",\n    \"method\" : \"updateAsset\",\n    \"params\":[\n        {\n            \"id\": 593,\n            \"name\": \"updated-via-api\",\n            \"fileName\": \"updated-via-api.jpg\"\n        },\n        {\n          \"data\": [\n            \"asset.base\"\n          ]\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Updates asset filename and/or name."
					},
					"response": []
				},
				{
					"name": "getAssetsByFolder",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"id\":\"13576991614322\",\n    \"method\":\"getAssetsByFolder\",\n    \"params\":[\n        12,\n        false,\n        {\n            \"page\": {\n                \"startIndex\": 0,\n                \"size\": 2\n            },\n            \"data\": [\"asset.id\", \"asset.base\"]\n        }\n    ],\n    \"jsonrpc\":\"2.0\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Returns asset objects contained in a specific folder (and its subfolders, optionally)."
					},
					"response": []
				},
				{
					"name": "addAssetToFolder",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"id\": \"7444760565671519\",\n  \"method\": \"addAssetToFolder\",\n  \"params\": [\n    71,\n    23,\n    {\n      \"data\": [\n        \"asset.id\",\n        \"asset.base\",\n        \"asset.file\",\n        \"asset.folders\"\n      ]\n    }\n  ],\n  \"jsonrpc\": \"2.0\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Adds an asset to a specific parent folder."
					},
					"response": []
				},
				{
					"name": "removeAssetFromFolder",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"id\": \"7445197747158073\",\n  \"method\": \"removeAssetFromFolder\",\n  \"params\": [\n    71,\n    23,\n    {\n      \"data\": [\n        \"asset.id\",\n        \"asset.base\",\n        \"asset.file\",\n        \"asset.folders\"\n      ]\n    }\n  ],\n  \"jsonrpc\": \"2.0\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Removes an asset from its parent folder."
					},
					"response": []
				},
				{
					"name": "getPagesByAsset",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"getPagesByAsset\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        4401,\n        {\n            \"page\": {\n                \"startIndex\": 0,\n                \"size\": 10\n            }\n        }\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Retrieve a page of pages using an asset's unique identifier"
					},
					"response": []
				},
				{
					"name": "getKeyframesByAsset",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"getKeyframesByAsset\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        2701,\n        {\n            \"page\": {\n                \"startIndex\": 4,\n                \"size\": 4\n            }\n        }\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Retrieve a page of keyframes using an asset's unique identifier"
					},
					"response": []
				},
				{
					"name": "deleteAsset",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"deleteAsset\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        45\n\t]\n}\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						}
					},
					"response": []
				}
			],
			"description": "Asset related API calls"
		},
		{
			"name": "Attributes",
			"item": [
				{
					"name": "getAttributes",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"getAttributes\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        {\n            \"page\": {\n                \"startIndex\": 0,\n                \"size\": 10\n            }\n        }\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Get a page of attribute definitions"
					},
					"response": []
				},
				{
					"name": "getAssetAttributes",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"getAssetAttributes\",\n    \"id\": 20210722095312,\n    \"params\": [\n        3501\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Retrieves the specified asset's [custom attribute](https://support.netx.net/hc/en-us/articles/4409800277911-Custom-Attributes) values."
					},
					"response": []
				},
				{
					"name": "setAssetAttributes",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"id\":\"13576991614322\",\n    \"method\":\"setAssetAttributes\",\n    \"params\":[\n        12,\n        {\n            \"Year\": [\n                \"1200\"\n            ],\n            \"Country\": [\n                \"España\"\n            ]\n        }\n    ],\n    \"jsonrpc\":\"2.0\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Updates [custom attribute](https://support.netx.net/hc/en-us/articles/4409800277911-Custom-Attributes) values for the specified asset."
					},
					"response": []
				},
				{
					"name": "getValuesByAttribute",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"getValuesByAttribute\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        1346370,\n        {\n            \"page\": {\n                \"startIndex\": 0,\n                \"size\": 10\n            }\n        }\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Get list of valid values for tag, select, or multivalue attributes"
					},
					"response": []
				}
			],
			"description": "Attribute related API calls"
		},
		{
			"name": "Collections",
			"item": [
				{
					"name": "createCollection",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"jsonrpc\" : \"2.0\",\n    \"id\" : \"1234567890\",\n    \"method\" : \"createCollection\",\n    \"params\":[\n        {\n            \"title\": \"Michael Eckshund\"\n        },\n    \t[201, 202, 203],\n        {\n            \"data\": [\n                \"collection.base\"\n            ]\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						}
					},
					"response": []
				},
				{
					"name": "deleteCollection",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"jsonrpc\" : \"2.0\",\n    \"id\" : \"1234567890\",\n    \"method\" : \"deleteCollection\",\n    \"params\":[\n        704\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						}
					},
					"response": []
				},
				{
					"name": "getCollection",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"jsonrpc\": \"2.0\",\n    \"id\": \"1234567890\",\n    \"method\": \"getCollection\",\n    \"params\": [\n        704,\n        {\n            \"data\": [\n                \"collection.base\",\n                \"collection.permissions\"\n            ]\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						}
					},
					"response": []
				},
				{
					"name": "updateCollection",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"jsonrpc\" : \"2.0\",\n    \"id\" : \"1234567890\",\n    \"method\" : \"updateCollection\",\n    \"params\":[\n        {\n            \"id\": 704,\n            \"title\": \"Michele Ksion\"\n        },\n    \t[202, 203],\n        {\n            \"data\": [\n                \"collection.base\"\n            ]\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						}
					},
					"response": []
				}
			],
			"description": "Collection related API calls"
		},
		{
			"name": "Folders",
			"item": [
				{
					"name": "createFolder",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"createFolder\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        {\n            \"parentId\": 1803,\n            \"name\": \"Panda Bears\",\n            \"description\": \"Images of Panda Bears\"\n        },\n        null\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Create a new folder"
					},
					"response": []
				},
				{
					"name": "updateFolder",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"updateFolder\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        {\n            \"id\": 1804,\n            \"parentId\": 1803,\n            \"name\": \"Koala Bears\",\n            \"description\": \"Images of Koala Bears\"\n        },\n        null\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Update an existing folder"
					},
					"response": []
				},
				{
					"name": "getFolderById",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"id\": \"13576991614322\",\n  \"method\": \"getFolderById\",\n  \"params\": [\n    \"37\",\n    {\n      \"data\": [\n        \"folder.id\",\n        \"folder.base\",\n        \"folder.children\"\n      ]\n    }\n  ],\n  \"jsonrpc\": \"2.0\"\n}\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Finds a folder with a given ID"
					},
					"response": []
				},
				{
					"name": "getFoldersByParent",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"id\":\"13576991614322\",\n    \"method\":\"getFoldersByParent\",\n    \"params\":[\n        1,\n        {\n            \"page\": {\n                \"startIndex\": 0,\n                \"size\": 10\n            },\n            \"data\": [\"folder.id\", \"folder.base\"]\n        }\n    ],\n    \"jsonrpc\":\"2.0\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Lists the folders with a given folder as a parent."
					},
					"response": []
				},
				{
					"name": "getFoldersByNameFilter",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"id\":\"13576991614322\",\n    \"method\":\"getFoldersByNameFilter\",\n    \"params\":[\n        \"Cas\",\n        {\n            \"page\": {\n                \"startIndex\": 0,\n                \"size\": 10\n            },\n            \"data\": [\"folder.id\", \"folder.base\"]\n        }\n    ],\n    \"jsonrpc\":\"2.0\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Lists the folders with names that contain a given filter string."
					},
					"response": []
				},
				{
					"name": "getFolderByPath",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"id\": \"13576991614322\",\n  \"method\": \"getFolderByPath\",\n  \"params\": [\n    \"Portraits\",\n    {\n      \"data\": [\n        \"folder.id\",\n        \"folder.base\",\n        \"folder.children\"\n      ]\n    }\n  ],\n  \"jsonrpc\": \"2.0\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Finds a folder with a given path."
					},
					"response": []
				},
				{
					"name": "createFolderFromPath",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"id\": \"13576991614322\",\n  \"method\": \"createFolderFromPath\",\n  \"params\": [\n    \"Portraits/Color/Pets\",\n    {\n      \"data\": [\n        \"folder.id\",\n        \"folder.base\",\n        \"folder.children\"\n      ]\n    }\n  ],\n  \"jsonrpc\": \"2.0\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Creates a new folder with a given path."
					},
					"response": []
				},
				{
					"name": "deleteFolder",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"deleteFolder\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        12,\n        null\n\t]\n}\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Delete an existing folder using its unique identifier"
					},
					"response": []
				}
			],
			"description": "Folder related API calls"
		},
		{
			"name": "Search",
			"item": [
				{
					"name": "getAssetsByQuery",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"jsonrpc\": \"2.0\",\n    \"id\": \"GET_ASSETS_BY_QUERY_EXAMPLE\",\n    \"method\": \"getAssetsByQuery\",\n    \"params\": [\n        {\n            \"query\": [\n                {\n                    \"operator\": \"and\",\n                    \"exact\": {\n                        \"attribute\": \"Color\",\n                        \"value\": \"Red\"\n                    }\n                },\n                {\n                    \"operator\": \"and\",\n                    \"folder\": {\n                        \"folderId\": 100,\n                        \"recursive\": false\n                    }\n                }\n            ]\n        },\n        {\n            \"sort\": {\n                \"field\": \"name\",\n                \"order\": \"asc\"\n            },\n            \"page\": {\n                \"startIndex\": 0,\n                \"size\": 10\n            },\n            \"data\": [\n                \"asset.id\",\n                \"asset.base\",\n                \"asset.attributes\"\n            ]\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "> Here's an example that includes all query components; we'll break it down further below:\n\n```json\n{\n    \"jsonrpc\": \"2.0\",\n    \"id\": \"GET_ASSETS_BY_QUERY_EXAMPLE\",\n    \"method\": \"getAssetsByQuery\",\n    \"params\": [\n        {\n            \"query\": [\n                {\n                    \"operator\": \"and\",\n                    \"exact\": {\n                        \"attribute\": \"Color\",\n                        \"value\": \"Red\"\n                    }\n                },\n                {\n                    \"operator\": \"and\",\n                    \"folder\": {\n                        \"folderId\": 100,\n                        \"recursive\": false\n                    }\n                }\n            ]\n        },\n        {\n            \"sort\": {\n                \"field\": \"name\",\n                \"order\": \"asc\"\n            },\n            \"page\": {\n                \"startIndex\": 0,\n                \"size\": 10\n            },\n            \"data\": [\n                \"asset.id\",\n                \"asset.base\",\n                \"asset.attributes\"\n            ]\n        }\n    ]\n}\n```\n\n> **Query**\n> At its core, a search request is a **query**. A query matches a set of assets using one or more search **clauses**.\n\n> _Using a custom attribute, find assets in folder 100 that are red:_\n\n```json\n{\n  \"query\": [\n\t{\n\t  \"operator\": \"and\",\n\t  \"exact\": {\n\t\t\"attribute\": \"Color\",\n\t\t\"value\": \"Red\"\n\t  }\n\t},\n\t{\n\t  \"operator\": \"and\",\n\t  \"folder\": {\n\t\t\"folderId\": 100,\n\t\t\"recursive\": false\n\t  }\n\t}\n  ]\n}\n```\n\n> **Clause**\n> A **clause** matches a set of assets and specifies how those matched assets should impact the result of the overall **query**.\n\n> _Using a custom attribute, add red assets to the result set:_\n\n```json\n{\n    \"operator\": \"and\",\n    \"exact\": {\n        \"attribute\": \"Color\",\n        \"value\": \"Red\"\n    }\n}\n```\n\n> **Operator**\n> The **operator** defines how the assets matched by a **clause** should be combined with assets matched by any other **clauses** to create the set of assets matched by the entire **query**.\n\n```json\n{\n  \"operator\": \"and\"\n}\n```\n\n> **Criterion**\n> A **criterion** matches a set of assets. Different criteria match assets in different ways.\n\n> **Exact**\n> _Using a system field, find all JPG assets:_\n\n```json\n{\n  \"exact\": {\n\t\"field\": \"fileType\",\n\t\"value\": \"jpg\"\n  }\n}\n```\n\n> _Using a custom attribute, find all assets that are in the public domain:_\n\n```json\n{\n  \"exact\": {\n\t\"attribute\": \"Public domain\",\n\t\"value\": \"true\"\n  }\n}\n```\n\n> **Contains**\n> _Using a system field, find assets that mention trees:_\n\n```json\n{\n  \"contains\": {\n\t\"field\": \"keywords\",\n\t\"value\": \"tree\"\n  }\n}\n```\n\n> _Using a custom attribute, find assets that mention buildings:_\n\n```json\n{\n  \"contains\": {\n\t\"attribute\": \"Description\",\n\t\"value\": \"building\"\n  }\n}\n```\n\n> **Range**\n> _Using a system field, find all assets imported after 2020-09-16T15:00:00.000Z:_\n\n```json\n{\n  \"range\": {\n\t\"field\": \"importDate\",\n\t\"min\": \"1600268400000\",\n\t\"max\": null,\n\t\"includeMin\": false,\n\t\"includeMax\": true\n  }\n}\n```\n\n> _Using a custom attribute, find high priority assets:_\n\n```json\n{\n  \"range\": {\n\t\"attribute\": \"Priority\",\n\t\"min\": \"1\",\n\t\"max\": \"3\",\n\t\"includeMin\": true,\n\t\"includeMax\": true\n  }\n}\n```\n\n> **Folder**\n> _Find assets that are children of folder 28:_\n\n```json\n{\n  \"folder\": {\n\t\"folderId\": 28,\n\t\"recursive\": false\n  }\n}\n```\n\n> **Subquery**\n> _Using a custom attribute, find red assets in folder 100:_\n\n```json\n{\n  \"subquery\": {\n\t\"query\": [\n\t  {\n\t\t\"operator\": \"and\",\n\t\t\"exact\": {\n\t\t  \"attribute\": \"Color\",\n\t\t  \"value\": \"Red\"\n\t\t}\n\t  },\n\t  {\n\t\t\"operator\": \"and\",\n\t\t\"folder\": {\n\t\t  \"folderId\": 100,\n\t\t  \"recursive\": false\n\t\t}\n\t  }\n\t]\n  }\n}\n```\n\nThe getAssetsByQuery method finds assets that match a complex search query.  A **query** is made up of one or more **clauses**; each **clause** contains an **operator** and a **criterion**. A **criterion** is one of five different objects, each with its own behavior."
					},
					"response": []
				}
			],
			"description": "Search related API calls"
		},
		{
			"name": "Versions",
			"item": [
				{
					"name": "getVersion",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"getVersion\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        4,\n        null\n\t]\n}\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Get an asset version by version id"
					},
					"response": []
				},
				{
					"name": "getVersionsByAsset",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"getVersionsByAsset\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        3201,\n        {\n            \"page\": {\n                \"startIndex\": 0,\n                \"size\": 10\n            }\n        }\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Get all of the versions for an asset"
					},
					"response": []
				},
				{
					"name": "reactivateVersion",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"reactivateVersion\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        223,\n        \"A new version\",\n        null\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Reactivate a previous version of an asset"
					},
					"response": []
				},
				{
					"name": "deleteVersion",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"deleteVersion\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        2,\n        null\n\t]\n}\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Delete an asset version"
					},
					"response": []
				}
			],
			"description": "Version related API calls"
		},
		{
			"name": "Views",
			"item": [
				{
					"name": "getViewById",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"id\": \"7530871356090573\",\n  \"method\": \"getViewById\",\n  \"params\": [\n    80,\n    {\n      \"data\": [\n        \"view.id\",\n        \"view.base\",\n        \"view.file\"\n      ]\n    }\n  ],\n  \"jsonrpc\": \"2.0\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Finds the view with a given ID."
					},
					"response": []
				},
				{
					"name": "getViewsByAsset",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"id\": \"7531198788138214\",\n  \"method\": \"getViewsByAsset\",\n  \"params\": [\n    71,\n    {\n      \"page\": {\n        \"startIndex\": 0,\n        \"size\": 10\n      },\n      \"data\": [\n        \"view.id\",\n        \"view.base\",\n        \"view.file\"\n      ]\n    }\n  ],\n  \"jsonrpc\": \"2.0\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Finds views with a given parent asset."
					},
					"response": []
				},
				{
					"name": "updateView",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"id\": \"7531572488802793\",\n  \"method\": \"updateView\",\n  \"params\": [\n    {\n      \"id\": 80,\n      \"name\": \"New View Name\",\n      \"description\": \"New View Description\",\n      \"assetId\": 71,\n      \"file\": {\n        \"name\": \"view_80.png\",\n        \"size\": 14576,\n        \"width\": 500,\n        \"height\": 500,\n        \"url\": \"/assetViews/0000/71/view_80.png\"\n      }\n    },\n    {\n      \"data\": [\n        \"view.id\",\n        \"view.base\",\n        \"view.file\"\n      ]\n    }\n  ],\n  \"jsonrpc\": \"2.0\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Updates a view's writable data."
					},
					"response": []
				},
				{
					"name": "deleteView",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"id\": \"7531866794686999\",\n  \"method\": \"deleteView\",\n  \"params\": [\n    80,\n    null\n  ],\n  \"jsonrpc\": \"2.0\"\n}\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Deletes the view with a given ID."
					},
					"response": []
				}
			],
			"description": "View related API calls"
		},
		{
			"name": "Users and Groups",
			"item": [
				{
					"name": "getSelf",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"getSelf\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        null\n\t]\n}\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Get the user object for the user which owns the API token being used for the call"
					},
					"response": []
				},
				{
					"name": "createUser",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"createUser\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        {\n            \"username\": \"jsmith\",\n            \"userType\": 8,\n            \"firstName\": \"John\",\n            \"lastName\": \"Smith\",\n            \"email\": \"jsmith@email.com\",\n            \"organization\": \"Acme, Inc.\",\n            \"password\": \"123456789\"\n        },\n        null\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Create a new user"
					},
					"response": []
				},
				{
					"name": "getUser",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"getUser\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        1,\n        null\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Get a user by user id"
					},
					"response": []
				},
				{
					"name": "updateUser",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"updateUser\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        {\n            \"userId\": 302,\n            \"username\": \"john_smith\",\n            \"userType\": 8,\n            \"firstName\": \"John\",\n            \"lastName\": \"Smith\",\n            \"email\": \"jsmith@email.com\",\n            \"organization\": \"Acme, Inc.\",\n            \"password1\": \"123456789\",\n            \"password2\": \"123456789\"\n        },\n        null\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Update an existing user"
					},
					"response": []
				},
				{
					"name": "getUsersByGroup",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"getUsersByGroup\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        102,\n        {\n            \"page\": {\n                \"startIndex\": 0,\n                \"size\": 10\n            }\n        }\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Get a page of users which are members of a specific group"
					},
					"response": []
				},
				{
					"name": "deleteUser",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"deleteUser\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        12,\n        null\n\t]\n}\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Delete an existing user using its unique identifier"
					},
					"response": []
				},
				{
					"name": "createGroup",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"createGroup\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n\t\t{\n            \"groupId\": 0,\n            \"name\": \"New user group\"\n        },\n\t\t{}\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Create a new group"
					},
					"response": []
				},
				{
					"name": "getGroup",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"getGroup\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        202,\n        null\n\t]\n}\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Retrieve a group using its unique identifier"
					},
					"response": []
				},
				{
					"name": "getGroupsByUser",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"getGroupsByUser\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        2,\n        {\n            \"page\": {\n                \"startIndex\": 0,\n                \"size\": 10\n            }\n        }\n\t]\n}\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Get the user groups which contain a specific user"
					},
					"response": []
				},
				{
					"name": "updateGroup",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"updateGroup\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        {\n            \"groupId\": 203,\n            \"name\": \"New Group Name\"\n        },\n        null\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Update an existing group"
					},
					"response": []
				},
				{
					"name": "addUserToGroup",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"addUserToGroup\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        1,\n        23,\n        null\n\t]\n}\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Add an existing user to a group"
					},
					"response": []
				},
				{
					"name": "removeUserFromGroup",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"removeUserFromGroup\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        1,\n        23,\n        null\n\t]\n}\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Remove an existing user from a group"
					},
					"response": []
				},
				{
					"name": "deleteGroup",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"deleteGroup\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        22,\n        null\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Delete an existing group using its unique identifier"
					},
					"response": []
				}
			],
			"description": "User and Group related API calls"
		},
		{
			"name": "Misc",
			"item": [
				{
					"name": "authenticate",
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"authenticate\",\n    \"id\": 20210722095312,\n    \"params\": [\n        \"admin\",\n        \"123456789\"\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Authenticate by sending a username and password. This is not the recommended way to authenticate and may be removed in the future. The preferred method of authentication is to use API tokens."
					},
					"response": []
				},
				{
					"name": "getLocations",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"jsonrpc\": \"2.0\",\n\t\"method\": \"getLocations\",\n\t\"id\": 20210722095312,\n\t\"params\": [\n        {\n            \"page\": {\n                \"startIndex\": 0,\n                \"size\": 10\n            }\n        }\n\t]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc"
							]
						},
						"description": "Get a page of Location objects"
					},
					"response": []
				}
			],
			"description": "Misc. API calls"
		},
		{
			"name": "File Import",
			"item": [
				{
					"name": "Import Asset",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "file",
									"type": "file",
									"src": "/home/user1/Pictures/hazelnuts.jpg"
								},
								{
									"key": "folderId",
									"value": "603",
									"type": "default"
								},
								{
									"key": "fileName",
									"value": "hazelnuts.jpg",
									"type": "default"
								}
							]
						},
						"url": {
							"raw": "{{netx-uri}}/api/import/asset",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"import",
								"asset"
							]
						}
					},
					"response": []
				},
				{
					"name": "Version Asset",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "file",
									"type": "file",
									"src": "/Users/andrewbruton/Pictures/Vacation 2/20180918_141353.jpg"
								},
								{
									"key": "fileName",
									"value": "this_is_version_4.jpg",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{netx-uri}}/api/rpc/api/import/asset/4501/version",
							"host": [
								"{{netx-uri}}"
							],
							"path": [
								"api",
								"rpc",
								"api",
								"import",
								"asset",
								"4501",
								"version"
							]
						}
					},
					"response": []
				}
			],
			"description": "File import examples"
		},
		{
			"name": "File Access",
			"item": [],
			"description": "File access examples"
		}
	],
	"auth": {
		"type": "oauth2",
		"oauth2": [
			{
				"key": "tokenType",
				"value": "bearer",
				"type": "string"
			},
			{
				"key": "accessToken",
				"value": "MTEwMzrB4UoP9aTzR7ZzV0UuJl2MWQA7qA",
				"type": "string"
			},
			{
				"key": "clientId",
				"value": "{{netx-client-id}}",
				"type": "string"
			},
			{
				"key": "authUrl",
				"value": "{{netx-uri}}/app#access/api",
				"type": "string"
			},
			{
				"key": "state",
				"value": "49495f37425d466eaaab1cdfcbfdc77",
				"type": "string"
			},
			{
				"key": "clientSecret",
				"value": "",
				"type": "string"
			},
			{
				"key": "useBrowser",
				"value": true,
				"type": "boolean"
			},
			{
				"key": "tokenName",
				"value": "api token",
				"type": "string"
			},
			{
				"key": "accessTokenUrl",
				"value": "{{netx-uri}}/a/t",
				"type": "string"
			},
			{
				"key": "scope",
				"value": "api",
				"type": "string"
			},
			{
				"key": "headerPrefix",
				"value": "apiToken",
				"type": "string"
			},
			{
				"key": "addTokenTo",
				"value": "header",
				"type": "string"
			}
		]
	},
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "netx-uri",
			"value": "http://localhost"
		},
		{
			"key": "netx-client-id",
			"value": "112021"
		}
	]
}