{"info":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","description":"<html><head></head><body><br>\n<h1 id=\"welcome-to-curator-api\">Welcome to Curator API</h1>\n<p>The Curator REST API enables you to interact with Curator programmatically. Use this API to build apps, script interactions with Curator, or develop any other type of integration. This page documents the REST resources currently available in Curator API, including the HTTP response codes and example requests and responses.</p>\n<h1 id=\"openapi\">OpenAPI</h1>\n<p>OpenAPI Specification is an API description format for REST APIs. Curator REST API conforms to <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md\">OpenAPI 3.0 Specification</a>.</p>\n<p>Curator REST OpenAPI specification can be downloaded using the link above and imported into tools such as <a href=\"https://www.postman.com/\">Postman</a> for testing or <a href=\"https://swagger.io/tools/swagger-codegen/\">Swagger Codegen</a> for SDK code generation.</p>\n<h1 id=\"schema\">Schema</h1>\n<p>All API access is accessed from https://[host]/CuratorGateway/api/v1. All data is sent and received as JSON.</p>\n<p>Blank fields are included as <code>null</code> instead of being omitted.</p>\n<p>All timestamps return in ISO 8601 format and are UTC without timezone information:</p>\n<p><code>YYYY-MM-DDTHH:MM:SSZ</code></p>\n<h1 id=\"version-and-uri\">Version and URI</h1>\n<p>This documentation is for <b>version 1</b> of the Curator REST API, which is the latest version.</p>\n<p>The URIs for resources have the following structure:</p>\n<p><code>https://[host]/CuratorGateway/api/v1/</code></p>\n<p>For example, <code>https://[host]/CuratorGateway/api/v1/assets/00000000000000000000000001162429</code></p>\n<h1 id=\"root-endpoint\">Root Endpoint</h1>\n<p>You can issue a <code>GET</code> request to the root endpoint to get all the endpoint categories that the Curator REST API v1 supports:</p>\n<p><code>https://[host]/CuratorGateway/api/v1</code></p>\n<h1 id=\"hypermedia\">Hypermedia</h1>\n<p>All resources may have one or more <code>href</code> properties linking to other resources. These are meant to provide explicit URLs so that proper API clients don't need to construct URLs on their own. It is highly recommended that API clients use these. Doing so will make future upgrades of the API easier for developers. All URLs are expected to be proper RFC 6570 URI templates.</p>\n<p>Such as:</p>\n<p>\n</p><pre>{\n    \"href\": \"https://[host]/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/MyMetadataName\",\n    \"displayName\": \"My Metadata Name\",\n    \"values\": [\n        \"My Metadata Value\"\n    ],\n    \"type\": \"Text\",\n    \"name\": {\n        \"href\": \"https://[host]/CuratorGateway/api/v1/metadatanames/MyMetadataName\"\n    }\n}\n</pre>\n<p></p>\n<h1 id=\"status-codes\">Status Codes</h1>\n<p>The Curator REST API uses the standard <a href=\"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html\">HTTP status codes</a>.</p>\n<p>Operations that return an error status code may also return a response body containing details of the error or errors. The schema for each response code can be found under each API request.</p>\n<h1 id=\"oauth2-authentication\">OAuth2 Authentication</h1>\n<p>When interaction with the Curator API, your application will access Curator on behalf of your users.</p>\n<p>Curator API uses <a href=\"https://oauth.net/2/\">OAuth 2.0</a>, an open specification, to authorise access to a user's data and Curator API resources. The primary goal of OAuth is to allow developers to interact with Curator API without requiring them to store sensitive credentials.</p>\n<p>Curator API supports common OAuth 2.0 scenarios such as those for web server, client-side, installed, and limited-input device applications.</p>\n<p>Once complete, the OAuth flow returns an access token to your client application. This access token should be added to all Curator API requests in the <code>Authorization</code> HTTP header in this format <code>Bearer [access token]</code>.</p>\n<h3>Registering a Client Application</h3>\n<p>In order for your application to request an access token on behalf of a user, you must first register it with Curator. This can be done via the Curator Gateway admin console (Authentication -&gt; Clients).</p>\n<p>Once you have registered your client application you will be issued a <code>client_id</code>.</p>\n<h3>API Resource Scopes</h3>\n<p>When you add your client application you will be asked which API Resources <a href=\"https://oauth.net/2/scope/\">scopes</a> that you client application needs access to. The selected scopes are applied to your access token and determine which API calls your application is allowed to execute. Each Curator API request below documents which API Resoure scopes are required.</p>\n<p>Below is a list of example API resource scopes:</p>\n<ul>\n    <li><code>Curator.Server.API</code></li>\n    <li><code>Curator.Gateway.API</code></li>\n    <li><code>Curator.ProcessEngine.API</code></li>\n</ul>\n<p>See the Authentication section below for a complete list of supported API resource scopes.</p>\n<h3>Authorisation Code Grant Type</h3>\n<p>In OAuth 2.0, the term “grant type” refers to the way an application gets an access token. OAuth 2.0 defines several grant types which Curator supports.</p><p>\n</p><p>The <a href=\"https://oauth.net/2/grant-types/authorization-code/\">Authorization Code</a> is the recommended OAuth grant type for all applications. When you register your client application you can specifiy the supported grant types.</p>\n<p>At a high level, the Authorisation Code flow has the following steps:</p>\n<ul>\n    <li>The client application makes a request to the <code>authorize</code> endpoint.</li>\n    <li>Curator redirects the user to the login screen.</li>\n    <li>The user is redirected back to the client application with an authorisation code in the query string.</li>\n    <li>The client application exchanges the authorisation code for an access token using the <code>token</code> endpoint.</li>\n</ul>\n<h3>Requesting an Access Token</h3>\n<p>To request an access token using the authorisation code grant type.</p>\n<p>1. Make a GET request to the <code>authorize</code> endpoint.</p>\n<pre>https://[host]/CuratorGateway/connect/authorize?client_id=0a677a41c5f7491d949c9eb4b1098ab0&amp;redirect_uri=https://myapp.com&amp;response_type=code&amp;grant_type=authorization_code&amp;scope=Curator.Server.API Curator.Gateway.API</pre>\n<ul>\n    <li><code>response_type=code</code> - This tells the Curator that the application is initiating the authorisation code flow.</li>\n    <li><code>client_id</code> - Your client application id.</li>\n    <li><code>redirect_uri</code> - Tells the Curator where to send the user back to after they approve the request.</li>\n    <li><code>scope</code> - One or more space-separated strings indicating which permissions the application is requesting. See the authentication section below for a complete list of API resource scopes.</li>\n</ul>\n<p>2. The user will then be redirected to the Curator login screen and asked if they would like to authorise your client application.</p>\n<p>3. If the user approves the authorisation request, Curator will redirect back to the <code>redirect_uri</code> specified in step 1., adding <code>code</code> to the query string.</p>\n<pre>https://myapp.com?code=CDD37395D64516E883615AD8862862585A5765C07E890E1022B708A43C2C04F7</pre>\n<p>4. The <code>code</code> can now be exchanged for an access token using the <code>token</code> endpoint.</p>\n<p>The client application makes a POST request to the Curator's token endpoint with the following parameters:</p>\n<ul>\n    <li><code>grant_type=authorization_code</code> - This tells the Curator that the application is using the authorisation code flow.</li>\n    <li><code>code</code> - The application includes the authorisation code it was given in the redirect.</li>\n    <li><code>redirect_uri</code> - The same redirect URI that was used when requesting the code.</li>\n    <li><code>client_id</code> - The application’s client ID.</li>\n    <li><code>client_secret</code> - The application’s client secret. This should be the same as the <code>client_id</code>.</li>\n</ul>\n<p>The response will include the <code>access_token</code> which can then be used to make Curator API requests.</p>\n<pre>{\n    \"access_token\": \"A52CF2278F7749B914102FA39C8D6A1834C676EBA2D86AE7710A816FDA9E4D11\",\n    \"expires_in\": 3600,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"Curator.Server.API Curator.Gateway.API\"\n}\n</pre>\n<h3>Authentication Q&amp;A</h3>\n<p><b>Can I use the simpler 'resource owner password' grant type?</b></p>\n<p>\n    The 'OAuth 2.0 Security Best Current Practice' disallows the password grant entirely. This\n    grant type insecurely exposes the credentials of the user\n    to the client. Even if the client is benign, this results in an\n    increased attack surface (credentials can leak in more places than\n    just the Curator Gateway) and users are trained to enter their credentials in\n    places other than the Curator Gateway.\n    Also, features such as multi-factor authentication, single sign-on and federation are not possible.\n</p>\n<p><b>What about the 'client credentials' server-to-server grant type?</b></p>\n<p>\n    All Curator API requests require a users identity to be included in the access token\n    so that Curator can evaluate the acting users permissions. The process for obtaining access tokens on-behalf of a user\n    is described above. Although supported by Curator Gateway, grant types like 'client credentials' should not be used.\n</p>\n<h1 id=\"pagination\">Pagination</h1>\n<p>The Curartor REST API uses pagination to improve performance. Pagination is enforced for operations that could return a large collection of resources.</p>\n<p>When a request is made for paged resources, <code>offset</code> and <code>limit</code> query string parameters can be used to define the position and size of the resultset, such as:</p>\n<code>https://[host]/CuratorGateway/api/v1/users?offset=5&amp;limit=10</code>\n<p>When you make a request to a paginated resource, the response wraps the returned array of values in a JSON object with paging metadata.</p>\n<ul>\n    <li><code>offset</code> - The offset into the list of items.</li>\n    <li><code>limit</code> - The limit/size of items requested.</li>\n    <li><code>size</code> - The total number of resources.</li>\n    <li><code>next</code> - The link relation for the immediate next page of results.</li>\n    <li><code>last</code> - The link relation for the last page of results.</li>\n    <li><code>first</code> - The link relation for the first page of results.</li>\n    <li><code>previous</code> - The link relation for the immediate previous page of results.</li>\n</ul>\n<pre>{\n    \"href\": \"https://[host]/CuratorGateway/api/v1/users?offset=5&amp;limit=10\",\n    \"rel\": [\n        \"collection\"\n    ],\n    \"offset\": 5,\n    \"limit\": 10,\n    \"size\": 23,\n    \"first\": {\n        \"href\": \"https://[host]/CuratorGateway/api/v1/users?offset=5&amp;limit=10\",\n        \"rel\": [\n            \"collection\"\n        ]\n    },\n    \"previous\": {\n        \"href\": \"https://[host]/CuratorGateway/api/v1/users?offset=5&amp;limit=10\",\n        \"rel\": [\n            \"collection\"\n        ]\n    },\n    \"next\": {\n        \"href\": \"https://[host]/CuratorGateway/api/v1/users?offset=15&amp;limit=10\",\n        \"rel\": [\n            \"collection\"\n        ]\n    },\n    \"last\": {\n        \"href\": \"https://[host]/CuratorGateway/api/v1/users?offset=20&amp;limit=10\",\n        \"rel\": [\n            \"collection\"\n        ]\n    },\n    \"value\": [\n    ...\n    ]\n}\n</pre>\n<h1 id=\"asynchronous-operations\">Asynchronous Operations</h1>\n<p>Some Curator REST API operations may trigger long-running or computationally expensive tasks. In these cases, the operation will schedule an asynchronous task and return a <a href=\"https://en.wikipedia.org/wiki/HTTP_302\"><code>302</code></a> response, indicating the location of the queued task in the <code>Location</code> header. You can query the task by making requests to <code>Get Task</code> for progress updates.</p>\n<p>When the task finishes, the response object will contain the <code>results</code> field. The content of the field is specific to the operation that created the task.</p>\n<p>Note that asynchronous tasks are not guaranteed to be run in order. In other words, if you need your tasks to execute in a certain order, you should start a task only after the prerequisite task(s) have finished.</p>\n<h1 id=\"support-portal\">Support Portal</h1>\n<p>If further information is required, please contact us via our <a href=\"http://docs.ipv.com/\">Support Portal</a> or visit the <a href=\"https://ipvltd.zendesk.com/\">Documentation Hub</a>.</p>\n\n<p>Contact Support:\n Name: IPV\n Email: <a href=\"mailto:support@ipv.com\">support@ipv.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Welcome to Curator API","slug":"welcome-to-curator-api"},{"content":"OpenAPI","slug":"openapi"},{"content":"Schema","slug":"schema"},{"content":"Version and URI","slug":"version-and-uri"},{"content":"Root Endpoint","slug":"root-endpoint"},{"content":"Hypermedia","slug":"hypermedia"},{"content":"Status Codes","slug":"status-codes"},{"content":"OAuth2 Authentication","slug":"oauth2-authentication"},{"content":"Pagination","slug":"pagination"},{"content":"Asynchronous Operations","slug":"asynchronous-operations"},{"content":"Support Portal","slug":"support-portal"}],"owner":"2965282","collectionId":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","publishedId":"TVKD1xGG","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"303030"},"publishDate":"2020-09-21T15:18:29.000Z"},"item":[{"name":null,"item":[{"name":"Get API details.","id":"5c7a64ba-1eb0-44b8-97e3-8e91a42e2f92","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1","urlObject":{"path":["api","v1"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[]}},"response":[{"id":"117fa04c-a05c-4b02-92f7-2b1deed04535","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"818e80e4-76d8-4355-ad38-66573ad626ad","name":"The root API response.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"href\": \"https://localhost:54279/CuratorGateway/api/v1\",\n \"users\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/users\"\n },\n \"userGroups\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/usergroups\"\n },\n \"assets\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets\"\n },\n \"metadataNames\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames\"\n },\n \"metadataViews\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadataviews\"\n },\n \"clients\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/clients\"\n },\n \"myself\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/myself\"\n },\n \"openIdConfiguration\": {\n  \"href\": \"https://localhost:54279/.well-known/openid-configuration\"\n }\n}"},{"id":"ddeb7667-8cf6-47e8-8ea8-42c9e344ab6c","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"}],"_postman_id":"5c7a64ba-1eb0-44b8-97e3-8e91a42e2f92"}],"id":"b5332429-0822-4d07-a90c-b6f4df73dd30","_postman_id":"b5332429-0822-4d07-a90c-b6f4df73dd30","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}}},{"name":"Asset Thumbnails","item":[{"name":"Get asset thumbnail.","id":"dbc6694b-90db-4109-8576-050ce03f7352","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/thumbnail","description":"<p>Returns the asset thumbnail.\n            The asset is identified by its ID. If a matching asset is found and it has a thumbnail a thumbnail image is returned.</p>\n","urlObject":{"path":["api","v1","assets",":assetId","thumbnail"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"c0543bae-0a34-4bfe-a7aa-b0e6424660ba","description":{"content":"<p>(Required) The id of the asset to get the thumbnail for.</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"assetId"}]}},"response":[{"id":"0433bdde-f640-46a6-ab85-36b081f254cb","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/thumbnail","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","thumbnail"],"variable":[{"key":"assetId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"2b0bf159-27b1-444d-a67f-d7a94f5fb5fe","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/thumbnail","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","thumbnail"],"variable":[{"key":"assetId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"34025f90-3428-42a4-aa38-7a57464a5d12","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/thumbnail","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","thumbnail"],"variable":[{"key":"assetId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"43f8e230-097e-496b-a055-e97daf613d54","name":"Returned if the asset is not found or the user does not have permission to view it or the asset does not have a thumbnail.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/thumbnail","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","thumbnail"],"variable":[{"key":"assetId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"},{"id":"9102f6e8-a382-42bc-9ff0-4efc5b0da67c","name":"Returned if the request is successful.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/thumbnail","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","thumbnail"],"variable":[{"key":"assetId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"dbc6694b-90db-4109-8576-050ce03f7352"}],"id":"8ac8d9c4-4da1-4cf3-b8eb-f243f5b5fa9e","_postman_id":"8ac8d9c4-4da1-4cf3-b8eb-f243f5b5fa9e","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}}},{"name":"Assets","item":[{"name":"Get assets.","id":"bb00979b-5771-4a49-9646-73c2b526bd3c","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/assets?names=<string>&names=<string>&folderIds=<uuid>&folderIds=<uuid>&recursive=<boolean>&assetTypes=<string>&assetTypes=<string>&queries=<string>&queries=<string>&andQueries=<boolean>&offset=<integer>&limit=<integer>","description":"<p>Gets a list of assets with basic searching.</p>\n","urlObject":{"path":["api","v1","assets"],"host":["https://localhost:54279/CuratorGateway"],"query":[{"description":{"content":"<p>An optional list of metadata names to return. If not set, all metadata is returned.</p>\n","type":"text/plain"},"key":"names","value":"<string>"},{"description":{"content":"<p>An optional list of metadata names to return. If not set, all metadata is returned.</p>\n","type":"text/plain"},"key":"names","value":"<string>"},{"description":{"content":"<p>An optional list of folder ids to restrict the search to. If not provided, searches are performed from the root folder.</p>\n","type":"text/plain"},"key":"folderIds","value":"<uuid>"},{"description":{"content":"<p>An optional list of folder ids to restrict the search to. If not provided, searches are performed from the root folder.</p>\n","type":"text/plain"},"key":"folderIds","value":"<uuid>"},{"description":{"content":"<p>A value indicating whether to perform a recursive search down the folder tree. The default value is true.</p>\n","type":"text/plain"},"key":"recursive","value":"<boolean>"},{"description":{"content":"<p>An optional list of asset types to return. If not set, all asset types are returned.</p>\n","type":"text/plain"},"key":"assetTypes","value":"<string>"},{"description":{"content":"<p>An optional list of asset types to return. If not set, all asset types are returned.</p>\n","type":"text/plain"},"key":"assetTypes","value":"<string>"},{"description":{"content":"<p>An optional list of text queries to filter the results by.\nThe format is [fieldname]:[searchvalue]. If a field is not specified, all fields are searched.</p>\n<ul>\n<li>can be used as a wildcard character.</li>\n</ul>\n<ul>\n<li>can be used to indicate a NOT query.\n\" can be used to form phase queries.\nExamples:</li>\n</ul>\n<ul>\n<li>Name:\"My Asset\"</li>\n<li>abc*</li>\n<li>Name:-test</li>\n</ul>\n","type":"text/plain"},"key":"queries","value":"<string>"},{"description":{"content":"<p>An optional list of text queries to filter the results by.\nThe format is [fieldname]:[searchvalue]. If a field is not specified, all fields are searched.</p>\n<ul>\n<li>can be used as a wildcard character.</li>\n</ul>\n<ul>\n<li>can be used to indicate a NOT query.\n\" can be used to form phase queries.\nExamples:</li>\n</ul>\n<ul>\n<li>Name:\"My Asset\"</li>\n<li>abc*</li>\n<li>Name:-test</li>\n</ul>\n","type":"text/plain"},"key":"queries","value":"<string>"},{"description":{"content":"<p>A value indicating whether to logically AND any specified queries. The default behaviour is to OR the queries.</p>\n","type":"text/plain"},"key":"andQueries","value":"<boolean>"},{"description":{"content":"<p>The optional offset into the list of items. Must be greater than or equal to 0.</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"description":{"content":"<p>The number of items to return. Limit must be greater than or equal to 0 and less than 100.</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[{"id":"19681e29-81c3-49d4-bc1d-57ede53310b1","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets?names=<string>&names=<string>&folderIds=<uuid>&folderIds=<uuid>&recursive=true&assetTypes=<string>&assetTypes=<string>&queries=<string>&queries=<string>&andQueries=false&offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets"],"query":[{"key":"names","value":"<string>"},{"key":"names","value":"<string>"},{"key":"folderIds","value":"<uuid>"},{"key":"folderIds","value":"<uuid>"},{"key":"recursive","value":"true"},{"key":"assetTypes","value":"<string>"},{"key":"assetTypes","value":"<string>"},{"key":"queries","value":"<string>"},{"key":"queries","value":"<string>"},{"key":"andQueries","value":"false"},{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"6b5be2a3-74cd-4a63-b069-23a331c22e93","name":"Invalid request parameters.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets?names=<string>&names=<string>&folderIds=<uuid>&folderIds=<uuid>&recursive=true&assetTypes=<string>&assetTypes=<string>&queries=<string>&queries=<string>&andQueries=false&offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets"],"query":[{"key":"names","value":"<string>"},{"key":"names","value":"<string>"},{"key":"folderIds","value":"<uuid>"},{"key":"folderIds","value":"<uuid>"},{"key":"recursive","value":"true"},{"key":"assetTypes","value":"<string>"},{"key":"assetTypes","value":"<string>"},{"key":"queries","value":"<string>"},{"key":"queries","value":"<string>"},{"key":"andQueries","value":"false"},{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"parameter1\": [\n    \"Parameter1 must be greater than 0.\"\n   ]\n  }\n ],\n \"status\": 400,\n \"title\": \"One or more validation errors occurred.\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\n \"traceId\": \"|56825d25-4bab64479d589d29.\"\n}"},{"id":"80634cae-e337-490c-a41b-809a7afd0c2a","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets?names=<string>&names=<string>&folderIds=<uuid>&folderIds=<uuid>&recursive=true&assetTypes=<string>&assetTypes=<string>&queries=<string>&queries=<string>&andQueries=false&offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets"],"query":[{"key":"names","value":"<string>"},{"key":"names","value":"<string>"},{"key":"folderIds","value":"<uuid>"},{"key":"folderIds","value":"<uuid>"},{"key":"recursive","value":"true"},{"key":"assetTypes","value":"<string>"},{"key":"assetTypes","value":"<string>"},{"key":"queries","value":"<string>"},{"key":"queries","value":"<string>"},{"key":"andQueries","value":"false"},{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"8e86dd4b-0c32-4380-b9ac-881dfb69cce3","name":"The list of assets is returned.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets?names=<string>&names=<string>&folderIds=<uuid>&folderIds=<uuid>&recursive=true&assetTypes=<string>&assetTypes=<string>&queries=<string>&queries=<string>&andQueries=false&offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets"],"query":[{"key":"names","value":"<string>"},{"key":"names","value":"<string>"},{"key":"folderIds","value":"<uuid>"},{"key":"folderIds","value":"<uuid>"},{"key":"recursive","value":"true"},{"key":"assetTypes","value":"<string>"},{"key":"assetTypes","value":"<string>"},{"key":"queries","value":"<string>"},{"key":"queries","value":"<string>"},{"key":"andQueries","value":"false"},{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a\",\n  \"Id\": {\n   \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/Id\",\n   \"displayName\": \"Id\",\n   \"values\": [\n    \"5be52a09-e43f-4a48-b41b-5c33b95ee53a\"\n   ],\n   \"type\": \"Guid\",\n   \"name\": {\n    \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/Id\"\n   }\n  },\n  \"Name\": {\n   \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/Name\",\n   \"displayName\": \"Name\",\n   \"values\": [\n    \"My Asset\"\n   ],\n   \"type\": \"Text\",\n   \"name\": {\n    \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/Name\"\n   }\n  },\n  \"Description\": {\n   \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/Description\",\n   \"displayName\": \"Description\",\n   \"values\": [\n    \"My Asset Description\"\n   ],\n   \"type\": \"Text\",\n   \"name\": {\n    \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/Description\"\n   }\n  },\n  \"FolderId\": {\n   \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/FolderId\",\n   \"displayName\": \"FolderId\",\n   \"values\": [\n    \"00000000-0000-0000-0000-000001162429\"\n   ],\n   \"type\": \"Guid\",\n   \"name\": {\n    \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/FolderId\"\n   }\n  },\n  \"AssetType\": {\n   \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/AssetType\",\n   \"displayName\": \"AssetType\",\n   \"values\": [\n    \"Media\"\n   ],\n   \"type\": \"Text\",\n   \"name\": {\n    \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/AssetType\"\n   }\n  },\n  \"ProxyExists\": {\n   \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/ProxyExists\",\n   \"displayName\": \"ProxyExists\",\n   \"values\": [\n    \"True\"\n   ],\n   \"type\": \"Boolean\",\n   \"name\": {\n    \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/ProxyExists\"\n   }\n  }\n }\n]"},{"id":"ef18a197-dc82-46a1-a045-01de893319b0","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets?names=<string>&names=<string>&folderIds=<uuid>&folderIds=<uuid>&recursive=true&assetTypes=<string>&assetTypes=<string>&queries=<string>&queries=<string>&andQueries=false&offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets"],"query":[{"key":"names","value":"<string>"},{"key":"names","value":"<string>"},{"key":"folderIds","value":"<uuid>"},{"key":"folderIds","value":"<uuid>"},{"key":"recursive","value":"true"},{"key":"assetTypes","value":"<string>"},{"key":"assetTypes","value":"<string>"},{"key":"queries","value":"<string>"},{"key":"queries","value":"<string>"},{"key":"andQueries","value":"false"},{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"}],"_postman_id":"bb00979b-5771-4a49-9646-73c2b526bd3c"},{"name":"Get asset.","id":"53d4d151-bdf7-4046-a1f9-2cee2aba3c07","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId?names=<string>&names=<string>","description":"<p>Returns the details for an asset.\n            The asset is identified by its ID. If a matching asset is found its details are returned.</p>\n","urlObject":{"path":["api","v1","assets",":assetId"],"host":["https://localhost:54279/CuratorGateway"],"query":[{"description":{"content":"<p>An optional list list of metadata names to return. If not set, all metadata is returned.</p>\n","type":"text/plain"},"key":"names","value":"<string>"},{"description":{"content":"<p>An optional list list of metadata names to return. If not set, all metadata is returned.</p>\n","type":"text/plain"},"key":"names","value":"<string>"}],"variable":[{"id":"6e49a6d5-5994-4f9d-be8c-f96fb9af575e","description":{"content":"<p>(Required) The id of the asset to get</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"assetId"}]}},"response":[{"id":"4abc3ac9-ca95-4157-ba9f-d97ac455902b","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId?names=<string>&names=<string>","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId"],"query":[{"key":"names","value":"<string>"},{"key":"names","value":"<string>"}],"variable":[{"key":"assetId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"7d72a4b8-919f-47ad-895d-6480aa362c5a","name":"Returned if the asset is not found or the user does not have permission to view it.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId?names=<string>&names=<string>","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId"],"query":[{"key":"names","value":"<string>"},{"key":"names","value":"<string>"}],"variable":[{"key":"assetId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"},{"id":"a3a3f3dd-586a-4998-be2f-73bd2ffd47bc","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId?names=<string>&names=<string>","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId"],"query":[{"key":"names","value":"<string>"},{"key":"names","value":"<string>"}],"variable":[{"key":"assetId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"b5b63ef1-96e3-40c2-ab6d-ad712cb7ea8d","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId?names=<string>&names=<string>","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId"],"query":[{"key":"names","value":"<string>"},{"key":"names","value":"<string>"}],"variable":[{"key":"assetId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"f97bbeb4-2acd-4c20-baf5-8f41391c0ba5","name":"Returned if the request is successful.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId?names=<string>&names=<string>","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId"],"query":[{"key":"names","value":"<string>"},{"key":"names","value":"<string>"}],"variable":[{"key":"assetId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a\",\n \"Id\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/Id\",\n  \"displayName\": \"Id\",\n  \"values\": [\n   \"5be52a09-e43f-4a48-b41b-5c33b95ee53a\"\n  ],\n  \"type\": \"Guid\",\n  \"name\": {\n   \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/Id\"\n  }\n },\n \"Name\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/Name\",\n  \"displayName\": \"Name\",\n  \"values\": [\n   \"My Asset\"\n  ],\n  \"type\": \"Text\",\n  \"name\": {\n   \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/Name\"\n  }\n },\n \"Description\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/Description\",\n  \"displayName\": \"Description\",\n  \"values\": [\n   \"My Asset Description\"\n  ],\n  \"type\": \"Text\",\n  \"name\": {\n   \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/Description\"\n  }\n },\n \"FolderId\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/FolderId\",\n  \"displayName\": \"FolderId\",\n  \"values\": [\n   \"00000000-0000-0000-0000-000001162429\"\n  ],\n  \"type\": \"Guid\",\n  \"name\": {\n   \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/FolderId\"\n  }\n },\n \"AssetType\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/AssetType\",\n  \"displayName\": \"AssetType\",\n  \"values\": [\n   \"Media\"\n  ],\n  \"type\": \"Text\",\n  \"name\": {\n   \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/AssetType\"\n  }\n },\n \"ProxyExists\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/ProxyExists\",\n  \"displayName\": \"ProxyExists\",\n  \"values\": [\n   \"True\"\n  ],\n  \"type\": \"Boolean\",\n  \"name\": {\n   \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/ProxyExists\"\n  }\n }\n}"}],"_postman_id":"53d4d151-bdf7-4046-a1f9-2cee2aba3c07"},{"name":"Does asset exist?","id":"6d137988-5ac5-4e28-90ac-049ae89d6fe9","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"HEAD","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId","description":"<p>Used to check if an asset exists with the specified id.</p>\n","urlObject":{"path":["api","v1","assets",":assetId"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"745f6760-f0e9-43bd-b26f-4ee72f28e499","description":{"content":"<p>(Required) The asset id to check exists.</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"assetId"}]}},"response":[{"id":"31d72a80-61e0-42b3-baa2-c8cca1760d49","name":"An internal server error occurred.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId"],"variable":[{"key":"assetId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"4a7e5f66-7b7a-48c4-989f-e071d79bdea4","name":"The asset does not exist.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId"],"variable":[{"key":"assetId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"},{"id":"5835f396-c955-434d-b581-8b320eb08922","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId"],"variable":[{"key":"assetId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"a845a524-0afb-4c5b-ac90-7e9b03eea365","name":"The asset does exist.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId"],"variable":[{"key":"assetId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"dfecc7a7-6a3f-400d-8ff2-98f77a5fecd8","name":"The request is unauthorised.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId"],"variable":[{"key":"assetId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"}],"_postman_id":"6d137988-5ac5-4e28-90ac-049ae89d6fe9"},{"name":"Get asset metadata.","id":"33c8e14d-47dc-4d43-8848-8e94cb4bbab0","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","description":"<p>Returns an assets metadata.</p>\n","urlObject":{"path":["api","v1","assets",":assetId","metadata",":name"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"6622fd8e-c818-4a57-9e7a-56978bc882d0","description":{"content":"<p>(Required) The id of the asset to get metadata for.</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"assetId"},{"id":"acd9a0c5-021f-4c65-9943-9c81e14e11db","description":{"content":"<p>(Required) The name of metadata to return.</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"name"}]}},"response":[{"id":"37ca4f61-1329-49bf-b36b-bad340930ec8","name":"The asset metadata.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/5be52a09-e43f-4a48-b41b-5c33b95ee53a/metadata/MyMetadataName\",\n \"displayName\": \"My Metadata Name\",\n \"values\": [\n  \"My Metadata Value\"\n ],\n \"type\": \"Text\",\n \"name\": {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/MyMetadataName\"\n }\n}"},{"id":"5f488a09-96b8-428e-90c9-c4c4269462af","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"6dbfaa7a-cf30-43af-84e9-5d286005392f","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"b1024f9c-3fd9-4f41-800d-21af653791ee","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"dc8e228f-f500-4863-977c-aee957d0e85f","name":"Returned if the asset or property is not found or the user does not have permission to see the asset.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"}],"_postman_id":"33c8e14d-47dc-4d43-8848-8e94cb4bbab0"},{"name":"Set asset metadata.","id":"eb035987-af96-4079-8edc-7c913c7480b6","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    \"<string>\",\n    \"<string>\"\n]"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","description":"<p>Sets the value of an asset's metadata. If the metadata name doesn't exist it is created. If the asset metadata does not exist it is added against the asset. If it exists the value is updated.</p>\n","urlObject":{"path":["api","v1","assets",":assetId","metadata",":name"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"25db27e3-4951-45fd-ba2f-25d34489fec2","description":{"content":"<p>(Required) The id of the asset to get metadata for.</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"assetId"},{"id":"6984151e-215a-4d93-9e54-bfec15d3c820","description":{"content":"<p>(Required) The name of metadata to set.</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"name"}]}},"response":[{"id":"08210a32-0866-4f4a-9c5f-c53ab7834ac5","name":"An internal server error occurred.","originalRequest":{"method":"PUT","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"[\n    \"<string>\",\n    \"<string>\"\n]"},"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"1a1a5e13-7168-4cdd-92f5-d400f4e6d4c4","name":"Returned if the asset metadata or metadata name is created.","originalRequest":{"method":"PUT","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"[\n    \"<string>\",\n    \"<string>\"\n]"},"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"320a6be8-28ce-48ab-94ed-7d9656cbc99f","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"PUT","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"[\n    \"<string>\",\n    \"<string>\"\n]"},"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"6d367ccc-46e8-4f20-b7c6-b736a7cefbf8","name":"Returned if the asset is not found or the user does not have permission to edit the asset.","originalRequest":{"method":"PUT","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"[\n    \"<string>\",\n    \"<string>\"\n]"},"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"},{"id":"74136360-3745-44d7-b166-cb1a5fca09f0","name":"The request is unauthorised.","originalRequest":{"method":"PUT","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"[\n    \"<string>\",\n    \"<string>\"\n]"},"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"dd8f664f-2f3e-4e42-813a-d3a3939cc7b4","name":"Returned if the asset metadata is updated.","originalRequest":{"method":"PUT","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"[\n    \"<string>\",\n    \"<string>\"\n]"},"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ff0de855-60d1-4996-b313-6a4e6b8729f7","name":"Invalid request parameters.","originalRequest":{"method":"PUT","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"[\n    \"<string>\",\n    \"<string>\"\n]"},"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"parameter1\": [\n    \"Parameter1 must be greater than 0.\"\n   ]\n  }\n ],\n \"status\": 400,\n \"title\": \"One or more validation errors occurred.\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\n \"traceId\": \"|56825d25-4bab64479d589d29.\"\n}"}],"_postman_id":"eb035987-af96-4079-8edc-7c913c7480b6"},{"name":"Delete asset metadata.","id":"54bfc0f7-1f85-4f62-ab23-4c4ea90bc74c","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","description":"<p>Deletes an assets's metadata.</p>\n","urlObject":{"path":["api","v1","assets",":assetId","metadata",":name"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"30404211-213f-4380-ad93-f32eea8437b5","description":{"content":"<p>(Required) The id of the asset to delete.</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"assetId"},{"id":"10632829-e1f4-4525-883e-0ac709a52345","description":{"content":"<p>(Required) The name of metadata to delete.</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"name"}]}},"response":[{"id":"0845b310-3a34-483a-82af-055e2e27d7f4","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"DELETE","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"1d0497ac-35d9-4695-b892-bf032c637b8d","name":"An internal server error occurred.","originalRequest":{"method":"DELETE","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"b4938204-fafd-490e-979e-0a1f44be4590","name":"The request is unauthorised.","originalRequest":{"method":"DELETE","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"ceced5d5-9c79-473d-9b3c-dcb5aeb5e568","name":"Returned if the asset or property is not found or the user does not have permission to see the asset.","originalRequest":{"method":"DELETE","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"},{"id":"ede5a223-1ceb-4c5f-bb1e-1292873fddde","name":"The asset metadata was deleted successfully.","originalRequest":{"method":"DELETE","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/assets/:assetId/metadata/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","assets",":assetId","metadata",":name"],"variable":[{"key":"assetId"},{"key":"name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"54bfc0f7-1f85-4f62-ab23-4c4ea90bc74c"},{"name":"Create asset from file.","id":"4b72b055-2414-4cdd-857f-4cfb0f537d06","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"filePath\": \"<string>\",\n    \"metadata\": \"<object>\",\n    \"mediaStoreName\": \"<string>\"\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/files","description":"<p>Creates a new asset from a file.</p>\n","urlObject":{"path":["api","v1","assets","files"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[]}},"response":[{"id":"0eb76e30-86a8-4730-a5c0-7416a3da9696","name":"An internal server error occurred.","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"filePath\": \"\\\\\\\\myfileserver\\\\myvideofile.mpg\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    },\n    \"mediaStoreName\": \"XCHANGEMANAGER-INGEST-TO-CURATOR\"\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/files"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"7a7fb241-aba4-491a-afbb-b59e37eaaa30","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"filePath\": \"\\\\\\\\myfileserver\\\\myvideofile.mpg\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    },\n    \"mediaStoreName\": \"XCHANGEMANAGER-INGEST-TO-CURATOR\"\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/files"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"856be7fe-cb4f-4a28-90ce-ae8360d2dbc1","name":"Invalid request parameters.","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"filePath\": \"\\\\\\\\myfileserver\\\\myvideofile.mpg\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    },\n    \"mediaStoreName\": \"XCHANGEMANAGER-INGEST-TO-CURATOR\"\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/files"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"parameter1\": [\n    \"Parameter1 must be greater than 0.\"\n   ]\n  }\n ],\n \"status\": 400,\n \"title\": \"One or more validation errors occurred.\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\n \"traceId\": \"|56825d25-4bab64479d589d29.\"\n}"},{"id":"dfa5623e-01b8-4430-9ea6-31fece03d75b","name":"The request is unauthorised.","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"filePath\": \"\\\\\\\\myfileserver\\\\myvideofile.mpg\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    },\n    \"mediaStoreName\": \"XCHANGEMANAGER-INGEST-TO-CURATOR\"\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/files"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"e8de79c4-a60d-4aa0-9ddf-4afdc704f134","name":"The request to create an asset was submitted sucessfully. Follow the location link in the response to determine the status of the task and use Get task to obtain subsequent updates.","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"filePath\": \"\\\\\\\\myfileserver\\\\myvideofile.mpg\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    },\n    \"mediaStoreName\": \"XCHANGEMANAGER-INGEST-TO-CURATOR\"\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/files"},"status":"Found","code":302,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4b72b055-2414-4cdd-857f-4cfb0f537d06"},{"name":"Create placeholder asset.","id":"b6cc0586-ee9a-47dd-9e90-d83d81d77fc4","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"assetType\": \"<string>\",\n    \"name\": \"<string>\",\n    \"mediaStoreName\": \"<string>\",\n    \"folderPath\": \"<string>\",\n    \"metadata\": \"<object>\"\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/placeholders","description":"<p>Creates a new placeholder asset.</p>\n","urlObject":{"path":["api","v1","assets","placeholders"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[]}},"response":[{"id":"1bc18dec-b347-4228-98de-ee2a93805973","name":"An internal server error occurred.","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Asset\",\n    \"assetType\": \"Media\",\n    \"mediaStoreName\": \"FILEINGEST-METADATAIMPORT\",\n    \"folderPath\": \"Library\\\\Ingest\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    }\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/placeholders"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"2f345dc6-2f8f-4443-89b6-39ef2c984d78","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Asset\",\n    \"assetType\": \"Media\",\n    \"mediaStoreName\": \"FILEINGEST-METADATAIMPORT\",\n    \"folderPath\": \"Library\\\\Ingest\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    }\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/placeholders"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"36896034-e151-4626-aa85-ca3bbe7afba0","name":"The request is unauthorised.","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Asset\",\n    \"assetType\": \"Media\",\n    \"mediaStoreName\": \"FILEINGEST-METADATAIMPORT\",\n    \"folderPath\": \"Library\\\\Ingest\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    }\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/placeholders"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"465b6407-8770-4933-86f1-6e1851189559","name":"Invalid request parameters.","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Asset\",\n    \"assetType\": \"Media\",\n    \"mediaStoreName\": \"FILEINGEST-METADATAIMPORT\",\n    \"folderPath\": \"Library\\\\Ingest\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    }\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/placeholders"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"parameter1\": [\n    \"Parameter1 must be greater than 0.\"\n   ]\n  }\n ],\n \"status\": 400,\n \"title\": \"One or more validation errors occurred.\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\n \"traceId\": \"|56825d25-4bab64479d589d29.\"\n}"},{"id":"eb9f776b-6741-4641-a776-013c11e3f87a","name":"The request to create a placeholder asset was submitted sucessfully. Follow the location link in the response to determine the status of the task and use Get task to obtain subsequent updates.","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Asset\",\n    \"assetType\": \"Media\",\n    \"mediaStoreName\": \"FILEINGEST-METADATAIMPORT\",\n    \"folderPath\": \"Library\\\\Ingest\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    }\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/placeholders"},"status":"Found","code":302,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b6cc0586-ee9a-47dd-9e90-d83d81d77fc4"},{"name":"Create production asset.","id":"3ae700ed-3cdc-4818-bfdf-7f5f748cf50b","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"folderPath\": \"<string>\",\n    \"name\": \"<string>\",\n    \"mediaStoreName\": \"<string>\",\n    \"metadata\": \"<object>\"\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/productions","description":"<p>Creates a new production asset.</p>\n","urlObject":{"path":["api","v1","assets","productions"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[]}},"response":[{"id":"68665997-70e4-4490-9543-288ed6268b8e","name":"An internal server error occurred.","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Production\",\n    \"folderPath\": \"Library\\\\Ingest\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    }\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/productions"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"856f6fc0-b832-4a12-b47e-5c1babfd57f1","name":"The request to create a production asset was submitted sucessfully. Follow the location link in the response to determine the status of the task and use Get task to obtain subsequent updates.","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Production\",\n    \"folderPath\": \"Library\\\\Ingest\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    }\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/productions"},"status":"Found","code":302,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"c69a238b-02c7-494d-961d-754c746327fb","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Production\",\n    \"folderPath\": \"Library\\\\Ingest\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    }\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/productions"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"ca139b3e-4834-49a6-b796-4c03f2e46ef2","name":"The request is unauthorised.","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Production\",\n    \"folderPath\": \"Library\\\\Ingest\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    }\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/productions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"d22621a3-aca7-4244-95e0-c62c5ece1d03","name":"Invalid request parameters.","originalRequest":{"method":"POST","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My Production\",\n    \"folderPath\": \"Library\\\\Ingest\",\n    \"metadata\": {\n        \"MyMetadataName\": \"MyMetadataValue\"\n    }\n}"},"url":"https://localhost:54279/CuratorGateway/api/v1/assets/productions"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"parameter1\": [\n    \"Parameter1 must be greater than 0.\"\n   ]\n  }\n ],\n \"status\": 400,\n \"title\": \"One or more validation errors occurred.\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\n \"traceId\": \"|56825d25-4bab64479d589d29.\"\n}"}],"_postman_id":"3ae700ed-3cdc-4818-bfdf-7f5f748cf50b"}],"id":"c5456b14-3a08-43e1-a8b6-87485ef6577a","_postman_id":"c5456b14-3a08-43e1-a8b6-87485ef6577a","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}}},{"name":"Clients","item":[{"name":"Get clients.","id":"d9954dfd-3e76-4eae-8bf8-2af3d553d35d","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/clients?offset=<integer>&limit=<integer>","description":"<p>Returns a list of client applications.</p>\n","urlObject":{"path":["api","v1","clients"],"host":["https://localhost:54279/CuratorGateway"],"query":[{"description":{"content":"<p>The optional offset into the list of items. Must be greater than or equal to 0.</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"description":{"content":"<p>The number of items to return. Limit must be greater than or equal to 0 and less than 100.</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[{"id":"2eaf67d3-0015-4a3f-97fd-08e2bddbaa8b","name":"The list of clients is returned.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/clients/9286b6e8-682f-406c-8cef-df2306b2b3f1\",\n  \"id\": \"9286b6e8-682f-406c-8cef-df2306b2b3f1\",\n  \"displayName\": \"Curator Clip Link\",\n  \"description\": \"Search, find and share content.\",\n  \"rootUri\": \"https://localhost:54279/CuratorClipLink\",\n  \"grantTypes\": [\n   \"client_credentials\",\n   \"hybrid\"\n  ],\n  \"enabled\": true,\n  \"requireConsent\": false,\n  \"accessTokenLifetime\": 3600\n }\n]"},{"id":"57833efe-d708-48fb-9812-0fc778523e8c","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"82b70dc2-7d80-4809-9685-48ce937b0647","name":"The request is forbidden. Required scopes: Curator.Gateway.API Required roles: ADMIN","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"92cedd35-3cb0-4d52-8a8c-b9da682b15ed","name":"Invalid request parameters.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"parameter1\": [\n    \"Parameter1 must be greater than 0.\"\n   ]\n  }\n ],\n \"status\": 400,\n \"title\": \"One or more validation errors occurred.\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\n \"traceId\": \"|56825d25-4bab64479d589d29.\"\n}"},{"id":"dfb943e9-4d2d-4d17-999a-1a6be88da1ca","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"}],"_postman_id":"d9954dfd-3e76-4eae-8bf8-2af3d553d35d"},{"name":"Get client.","id":"ffef4fe1-6bd6-4644-8277-f67930ada19b","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/clients/:clientId","description":"<p>Returns a client.</p>\n","urlObject":{"path":["api","v1","clients",":clientId"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"85fb48a2-18c7-4921-92ad-9f314a9faed3","description":{"content":"<p>(Required) The id of the client to get.</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"clientId"}]}},"response":[{"id":"1f32601c-0418-4dcf-9421-628a9530920d","name":"The client.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients/:clientId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients",":clientId"],"variable":[{"key":"clientId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"href\": \"https://localhost:54279/CuratorGateway/api/v1/clients/e628006a-4f9d-4a92-9f89-fb05e5ca9ace\",\n \"id\": \"e628006a-4f9d-4a92-9f89-fb05e5ca9ace\",\n \"displayName\": \"Curator Clip Link\",\n \"description\": \"Search, find and share content.\",\n \"rootUri\": \"https://localhost:54279/CuratorClipLink\",\n \"grantTypes\": [\n  \"client_credentials\",\n  \"hybrid\"\n ],\n \"enabled\": true,\n \"requireConsent\": false,\n \"accessTokenLifetime\": 3600\n}"},{"id":"2135451e-8f41-49ec-acdd-d596e677f611","name":"The request is forbidden. Required scopes: Curator.Gateway.API Required roles: ADMIN","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients/:clientId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients",":clientId"],"variable":[{"key":"clientId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"2ac8fc67-7ef7-493e-bd98-994d490c0eca","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients/:clientId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients",":clientId"],"variable":[{"key":"clientId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"5b88a1fa-d584-4cff-92ad-a9acab548308","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients/:clientId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients",":clientId"],"variable":[{"key":"clientId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"cb41414b-018a-4190-94fc-b917f5184fd0","name":"The client was not found.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients/:clientId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients",":clientId"],"variable":[{"key":"clientId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"}],"_postman_id":"ffef4fe1-6bd6-4644-8277-f67930ada19b"},{"name":"Does client exist?","id":"3b81ee6c-c41a-40c1-b071-6c6da8b51da2","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"HEAD","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/clients/:clientId","description":"<p>Determines if a client with the given id exists.</p>\n","urlObject":{"path":["api","v1","clients",":clientId"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"ebe6a19d-b2d8-4023-9e26-569e015195e3","description":{"content":"<p>(Required) The id of the client to check if exists.</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"clientId"}]}},"response":[{"id":"493113e4-8700-46eb-bd54-bf5ce2498544","name":"The client exists.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients/:clientId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients",":clientId"],"variable":[{"key":"clientId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"8219d696-d915-403b-bf42-c24f99df540c","name":"The request is unauthorised.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients/:clientId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients",":clientId"],"variable":[{"key":"clientId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"afeaa988-ce5f-444e-b5a1-6549b918e887","name":"The request is forbidden. Required scopes: Curator.Gateway.API Required roles: ADMIN","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients/:clientId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients",":clientId"],"variable":[{"key":"clientId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"d1bbd189-8393-4084-a687-ab0cd4e52590","name":"An internal server error occurred.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients/:clientId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients",":clientId"],"variable":[{"key":"clientId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"ef54c460-0a8c-46fd-95ac-42105234c7e7","name":"The client does not exist.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/clients/:clientId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","clients",":clientId"],"variable":[{"key":"clientId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"}],"_postman_id":"3b81ee6c-c41a-40c1-b071-6c6da8b51da2"}],"id":"65fd0c38-2527-4157-9a07-6d4d7c39f4b5","_postman_id":"65fd0c38-2527-4157-9a07-6d4d7c39f4b5","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}}},{"name":"Metadata Names","item":[{"name":"Get metadata names.","id":"035a0cfa-15e2-4926-b7e4-36fe7a68ff74","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/metadatanames?offset=<integer>&limit=<integer>","description":"<p>Returns a list of metadata names.</p>\n","urlObject":{"path":["api","v1","metadatanames"],"host":["https://localhost:54279/CuratorGateway"],"query":[{"description":{"content":"<p>The optional offset into the list of items. Must be greater than or equal to 0.</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"description":{"content":"<p>The number of items to return. Limit must be greater than or equal to 0 and less than 100.</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[{"id":"5932c902-0133-4ada-a1a9-48af16f44fc5","name":"Invalid request parameters.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"parameter1\": [\n    \"Parameter1 must be greater than 0.\"\n   ]\n  }\n ],\n \"status\": 400,\n \"title\": \"One or more validation errors occurred.\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\n \"traceId\": \"|56825d25-4bab64479d589d29.\"\n}"},{"id":"59f9e5b7-35ab-4e32-be2a-870be50d2fde","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"690397b8-0ebe-4776-a954-f28f69623f1f","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"8c0ece99-f71c-4f77-819f-df02d4a7718c","name":"The list of metadata names is returned.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadataviews/MyMetadataView\",\n  \"name\": \"MyMetadataView\",\n  \"displayName\": \"My Metadata View\",\n  \"description\": \"A metadata view for a test client.\"\n }\n]"},{"id":"a1bc272d-f248-42ea-9bad-1d4745ebb686","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"}],"_postman_id":"035a0cfa-15e2-4926-b7e4-36fe7a68ff74"},{"name":"Get metadata name.","id":"4aff27c3-baf9-4ecb-9a73-d884957779fd","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/metadatanames/:name","description":"<p>Gets a single metadata name by its name.</p>\n","urlObject":{"path":["api","v1","metadatanames",":name"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"92dbc056-be47-4502-bdf3-eeac8841e3bf","description":{"content":"<p>(Required) The name of the metadata name to get.</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"name"}]}},"response":[{"id":"0fd50f94-eb47-4f06-b39d-c8808f85dbba","name":"The metadata name was not found.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames",":name"],"variable":[{"key":"name"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"},{"id":"78b569fa-a7f0-4a49-a76e-f5adc8e12a0d","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames",":name"],"variable":[{"key":"name"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"8326bf16-738b-495f-9686-ec7f1ec74785","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames",":name"],"variable":[{"key":"name"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"8de7af24-c53d-4e80-8ef6-c7ccb973c3e4","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames",":name"],"variable":[{"key":"name"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"a28784c0-d5a5-4aec-bf9b-7d74dc73e132","name":"The metadata name.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames",":name"],"variable":[{"key":"name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadatanames/MyMetadataName\",\n \"name\": \"MyMetadataName\",\n \"displayName\": \"My Metadata Name\",\n \"assetTypes\": [\n  \"Media\"\n ],\n \"type\": \"Text\",\n \"isReadonly\": false,\n \"isStatic\": false,\n \"multiValued\": true,\n \"pattern\": null\n}"}],"_postman_id":"4aff27c3-baf9-4ecb-9a73-d884957779fd"},{"name":"Does metadata name exist?","id":"a9a29582-52cd-4d78-a9c6-5fee72cc7107","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"HEAD","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/metadatanames/:name","description":"<p>Used to determine if a metadata name with the specified name exists.</p>\n","urlObject":{"path":["api","v1","metadatanames",":name"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"2f2aea76-8023-48be-9fca-ba8ac1254164","description":{"content":"<p>(Required) The name of the metadata name to get.</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"name"}]}},"response":[{"id":"498f7524-6eb6-435a-84a8-dfbb4bc4c267","name":"The metadata name exists.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames",":name"],"variable":[{"key":"name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"86ed757f-4417-4cd5-9b2f-ce6716f095ea","name":"An internal server error occurred.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames",":name"],"variable":[{"key":"name"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"aeb1b44b-a80d-40e4-9e00-86bbb7a9b98a","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames",":name"],"variable":[{"key":"name"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"db72987c-ec01-4047-a388-65740b289bb5","name":"The request is unauthorised.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames",":name"],"variable":[{"key":"name"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"e626e841-3ead-4f93-b63f-593af28e4da6","name":"The metadata name does not exist.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadatanames/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadatanames",":name"],"variable":[{"key":"name"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"}],"_postman_id":"a9a29582-52cd-4d78-a9c6-5fee72cc7107"}],"id":"98a47c3b-5641-4a4b-b630-02869b985616","_postman_id":"98a47c3b-5641-4a4b-b630-02869b985616","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}}},{"name":"Metadata Views","item":[{"name":"Get metadata views.","id":"58f974f6-1b36-4c2a-9b2c-41c2492a3a38","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/metadataviews?offset=<integer>&limit=<integer>","description":"<p>Returns a list of metadata views.</p>\n","urlObject":{"path":["api","v1","metadataviews"],"host":["https://localhost:54279/CuratorGateway"],"query":[{"description":{"content":"<p>The optional offset into the list of items. Must be greater than or equal to 0.</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"description":{"content":"<p>The number of items to return. Limit must be greater than or equal to 0 and less than 100.</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[{"id":"0d3a1bcd-0417-4734-a821-e1cdf8fb4c4e","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"177392ab-34cb-43d3-8642-fe2d33ad56c0","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"45333eca-0870-40a5-be7d-f628f6359192","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"bb3c9d69-f51e-4ae4-bc93-d8b6d9f12123","name":"Invalid request parameters.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"parameter1\": [\n    \"Parameter1 must be greater than 0.\"\n   ]\n  }\n ],\n \"status\": 400,\n \"title\": \"One or more validation errors occurred.\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\n \"traceId\": \"|56825d25-4bab64479d589d29.\"\n}"},{"id":"fc0724a9-4f77-4f8c-8a44-cee2c95bca53","name":"The list of metadata views is returned.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadataviews/MyMetadataView\",\n  \"name\": \"MyMetadataView\",\n  \"displayName\": \"My Metadata View\",\n  \"description\": \"A metadata view for a test client.\"\n }\n]"}],"_postman_id":"58f974f6-1b36-4c2a-9b2c-41c2492a3a38"},{"name":"Get metadata view.","id":"854c0cf0-5cac-40f5-abb6-9c11a2f4c65f","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/metadataviews/:name","description":"<p>Gets a single metadata view by its name.</p>\n","urlObject":{"path":["api","v1","metadataviews",":name"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"dc0f49d0-f2a4-4e36-a116-3c34be914e32","description":{"content":"<p>(Required) The name of the metadata view to get.</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"name"}]}},"response":[{"id":"2f6877e0-8d56-41ef-be3b-4ab1e917c791","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews",":name"],"variable":[{"key":"name"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"3d5b059d-2b16-4185-9186-80c3dcee3b8c","name":"The metadata view was not found.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews",":name"],"variable":[{"key":"name"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"},{"id":"84d77aa4-c7c3-430c-bc94-3678d9b38212","name":"The metadata view.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews",":name"],"variable":[{"key":"name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"href\": \"https://localhost:54279/CuratorGateway/api/v1/metadataviews/MyMetadataView\",\n \"name\": \"MyMetadataView\",\n \"displayName\": \"My Metadata View\",\n \"description\": \"A metadata view for a test client.\"\n}"},{"id":"ace444e1-db1e-4614-ba24-209307dc8f6e","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews",":name"],"variable":[{"key":"name"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"b777356a-2a04-4829-a2ad-009fbaab202d","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews",":name"],"variable":[{"key":"name"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"}],"_postman_id":"854c0cf0-5cac-40f5-abb6-9c11a2f4c65f"},{"name":"Does metadata view exist?","id":"be45431e-bdc5-452a-9bba-e086272a9fdb","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"HEAD","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/metadataviews/:name","description":"<p>Used to determine if a metadata view with the specified name exists.</p>\n","urlObject":{"path":["api","v1","metadataviews",":name"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"ebef5218-0d73-44f9-aad3-58b938d5c375","description":{"content":"<p>(Required) The name of the metadata view to get.</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"name"}]}},"response":[{"id":"5310c827-2a08-43ca-8ff3-66ff66fc299a","name":"An internal server error occurred.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews",":name"],"variable":[{"key":"name"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"9b4a0e0e-ffd6-484f-89f4-390de52e3271","name":"The request is forbidden. Required scopes: Curator.Server.API","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews",":name"],"variable":[{"key":"name"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"9ebbc318-8887-456d-ae90-bbf0750a524e","name":"The request is unauthorised.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews",":name"],"variable":[{"key":"name"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"a92a20bb-70e5-4e76-b817-c91eeb329378","name":"The metadata view does not exist.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews",":name"],"variable":[{"key":"name"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"},{"id":"d8b50cdb-a488-4511-ac7f-4b6cd9a2df57","name":"The metadata view exists.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/metadataviews/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","metadataviews",":name"],"variable":[{"key":"name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"be45431e-bdc5-452a-9bba-e086272a9fdb"}],"id":"6f5156a6-b5ad-4d59-a04c-8d4df82aaab5","_postman_id":"6f5156a6-b5ad-4d59-a04c-8d4df82aaab5","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}}},{"name":"Myself","item":[{"name":"Get current user.","id":"96b2b2cc-7064-4918-b5c7-c1819b252f1a","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/myself","description":"<p>Returns details for the current user as obtained from the specified authorisation token.</p>\n","urlObject":{"path":["api","v1","myself"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[]}},"response":[{"id":"264372a1-f899-470a-bfc6-1fec21997092","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/myself"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"ae73364d-24b9-4c48-8bc0-d9189698c58e","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/myself"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"f977f06b-1bab-4a40-9822-464670fa7ffa","name":"Returned if the request is successful.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/myself"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"href\": \"https://localhost:54279/CuratorGateway/api/v1/myself\",\n \"userName\": \"ametcalfe@ipv.com\",\n \"displayName\": \"Alex Metcalfe\",\n \"email\": \"ametcalfe@ipv.com\",\n \"id\": \"9de177f2-84bf-417b-a643-5e7dfb8bf0dd\"\n}"}],"_postman_id":"96b2b2cc-7064-4918-b5c7-c1819b252f1a"},{"name":"Get the current users clients.","id":"743724e9-df2f-4a5f-bab9-13dc49230c44","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/myself/clients?offset=<integer>&limit=<integer>","description":"<p>Returns a list of clients that the current user is authorised to access based on their permission roles.</p>\n","urlObject":{"path":["api","v1","myself","clients"],"host":["https://localhost:54279/CuratorGateway"],"query":[{"description":{"content":"<p>The optional offset into the list of items. Must be greater than or equal to 0.</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"description":{"content":"<p>The number of items to return. Limit must be greater than or equal to 0 and less than 100.</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[{"id":"302998f2-4789-4b51-b49a-26edaeb727ed","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/myself/clients?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","myself","clients"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"592e0353-80d5-4436-b86a-d05fb5851a87","name":"The list of clients is returned.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/myself/clients?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","myself","clients"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/clients/691ebf99-295e-48e1-b6a8-675dcaa06371\",\n  \"id\": \"691ebf99-295e-48e1-b6a8-675dcaa06371\",\n  \"displayName\": \"Curator Clip Link\",\n  \"description\": \"Search, find and share content.\",\n  \"rootUri\": \"https://localhost:54279/CuratorClipLink\",\n  \"grantTypes\": [\n   \"client_credentials\",\n   \"hybrid\"\n  ],\n  \"enabled\": true,\n  \"requireConsent\": false,\n  \"accessTokenLifetime\": 3600\n }\n]"},{"id":"70503768-ddf0-4252-bc83-3605936046db","name":"Invalid request parameters.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/myself/clients?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","myself","clients"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"parameter1\": [\n    \"Parameter1 must be greater than 0.\"\n   ]\n  }\n ],\n \"status\": 400,\n \"title\": \"One or more validation errors occurred.\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\n \"traceId\": \"|56825d25-4bab64479d589d29.\"\n}"},{"id":"a7810d95-de21-4300-8687-e04a9494cf35","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/myself/clients?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","myself","clients"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"}],"_postman_id":"743724e9-df2f-4a5f-bab9-13dc49230c44"}],"id":"ab44c5a0-b8b9-4be4-af83-0ae004977fce","_postman_id":"ab44c5a0-b8b9-4be4-af83-0ae004977fce","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}}},{"name":"OpenID Connect","item":[{"name":"Triggers a single sign-out.","id":"7aaebd02-c8bf-4bb9-a39b-e855153e7f08","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/connect/endsession?id_token_hint=<string>&post_logout_redirect_uri=<string>&state=<string>","description":"<p>The end session endpoint can be used to trigger single sign-out. To use the end session endpoint a client application will redirect the user’s browser to the end session URL. All applications that the user has logged into via the browser during the user’s session can participate in the sign-out.</p>\n","urlObject":{"path":["connect","endsession"],"host":["https://localhost:54279/CuratorGateway"],"query":[{"description":{"content":"<p>When the user is redirected to the endpoint, they will be prompted if they really want to sign-out. This prompt can be bypassed by a client sending the original id_token received from authentication.</p>\n","type":"text/plain"},"key":"id_token_hint","value":"<string>"},{"description":{"content":"<p>If a valid id_token_hint is passed, then the client may also send a post_logout_redirect_uri parameter. This can be used to allow the user to redirect back to the client after sign-out.</p>\n","type":"text/plain"},"key":"post_logout_redirect_uri","value":"<string>"},{"description":{"content":"<p>If a valid post_logout_redirect_uri is passed, then the client may also send a state parameter. This will be returned back to the client as a query string parameter after the user redirects back to the client. This is typically used by clients to round-trip state across the redirect.</p>\n","type":"text/plain"},"key":"state","value":"<string>"}],"variable":[]}},"response":[{"id":"913b2e4c-20be-4fad-8b49-f64e3b8b4151","name":"OK","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/connect/endsession?id_token_hint=<string>&post_logout_redirect_uri=<string>&state=<string>","host":["https://localhost:54279/CuratorGateway"],"path":["connect","endsession"],"query":[{"key":"id_token_hint","value":"<string>"},{"key":"post_logout_redirect_uri","value":"<string>"},{"key":"state","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7aaebd02-c8bf-4bb9-a39b-e855153e7f08"},{"name":"Used by a secured resource to validate a token.","id":"f9ae598d-84fb-491c-b226-eaf9c65a6195","request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"<string>","description":"<p>The string value of the token.  For access tokens, this is the \"access_token\" value returned from the token endpoint. For refresh tokens, this is the \"refresh_token\" value.</p>\n"}]},"url":"https://localhost:54279/CuratorGateway/connect/introspect","description":"<p>This endpoint be used to validate reference tokens (or JWTs if the consumer does not have support for appropriate JWT or cryptographic libraries). The introspection endpoint requires authentication - since the client of an introspection endpoint is an API.</p>\n","urlObject":{"path":["connect","introspect"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[]}},"response":[{"id":"d1577c6a-906e-40e3-8ff6-345d79a0e8f5","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"description":{"content":"The string value of the token.  For access tokens, this is the \"access_token\" value returned from the token endpoint. For refresh tokens, this is the \"refresh_token\" value.","type":"text/plain"},"key":"token","value":"<string>"}]},"url":"https://localhost:54279/CuratorGateway/connect/introspect"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"active\": \"nisi sunt\",\n \"sub\": \"deserunt Duis adipisicing\"\n}"}],"_postman_id":"f9ae598d-84fb-491c-b226-eaf9c65a6195"},{"name":"Revokes an access or refresh token.","id":"e070c61d-8068-4af8-b48f-e45590a32fc3","request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"<string>","description":"<p>The string value of the token to revoke.</p>\n"},{"key":"token_type_hint","value":"<string>","description":"<p>Either \"access_token\" or \"refresh_token\". (This can only be one of access_token,refresh_token)</p>\n"}]},"url":"https://localhost:54279/CuratorGateway/connect/revocation","description":"<p>This endpoint allows revoking access tokens (reference tokens only) and refresh token.</p>\n","urlObject":{"path":["connect","revocation"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[]}},"response":[{"id":"bbc01d38-3efd-45d8-a40a-c5cc97a688da","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"description":{"content":"The string value of the token to revoke.","type":"text/plain"},"key":"token","value":"<string>"},{"description":{"content":"Either \"access_token\" or \"refresh_token\". (This can only be one of access_token,refresh_token)","type":"text/plain"},"key":"token_type_hint","value":"<string>"}]},"url":"https://localhost:54279/CuratorGateway/connect/revocation"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e070c61d-8068-4af8-b48f-e45590a32fc3"},{"name":"Retrieve identity information about a user.","id":"01ce1e05-8f6e-41db-b3ef-094663f4122c","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/connect/userinfo","description":"<p>The user info endpoint can be used to retrieve identity information about a user.</p>\n","urlObject":{"path":["connect","userinfo"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[]}},"response":[{"id":"3f3e2765-58a6-4863-bbfb-9850967fb9b1","name":"OK","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/connect/userinfo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"sub\": \"a9fd290b93994844a4088ca82b7f1677\",\n \"AspNet.Identity.SecurityStamp\": \"ZEMZSMC3IS6CO3OWSQXROORY5MW7ENTA\",\n \"role\": [\n  \"ADMIN\",\n  \"ANALYTICS\",\n  \"INGEST\",\n  \"LOGGING\"\n ],\n \"preferred_username\": \"sysadmin\",\n \"email\": \"ametcalfe@ipv.com\",\n \"email_verified\": true,\n \"picture\": \"https://[host]/CuratorGateway/identity/profile/avatar\",\n \"profile\": \"https://[host]/CuratorGateway/identity/profile\",\n \"name\": \"Admin\",\n \"nickname\": \"Admin\",\n \"access_token_lifetime\": \"3600\",\n \"tid\": \"937cc2b8-79b0-42db-bb3c-cfbb781062d8\",\n \"tname\": \"My Org\"\n}"}],"_postman_id":"01ce1e05-8f6e-41db-b3ef-094663f4122c"},{"name":"Request tokens or authorization codes via the browser.","id":"3e627104-3a4f-46e7-9a65-7a2adcd14dde","request":{"method":"GET","header":[],"url":"https://localhost:54279/CuratorGateway/connect/authorize?client_id=<string>&scope=<string>&redirect_uri=<string>&response_type=<string>&response_mode=<string>&request=<string>&request_uri=<string>&state=<string>&nonce=<string>&prompt=<string>&code_challenge=<string>&code_challenge_method=<string>&login_hint=<string>&ui_locales=<string>&max_age=<string>","description":"<p>The authorize endpoint can be used to request tokens or authorization codes via the browser. This process typically involves authentication of the end-user and optionally consent.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}},"urlObject":{"path":["connect","authorize"],"host":["https://localhost:54279/CuratorGateway"],"query":[{"description":{"content":"<p>(Required) Identifier of the client.</p>\n","type":"text/plain"},"key":"client_id","value":"<string>"},{"description":{"content":"<p>(Required) One or more registered scopes.</p>\n","type":"text/plain"},"key":"scope","value":"<string>"},{"description":{"content":"<p>(Required) The redirect URIs for the client.</p>\n","type":"text/plain"},"key":"redirect_uri","value":"<string>"},{"description":{"content":"<p>(Required) The response type: code, ideneity token and/or access token.</p>\n","type":"text/plain"},"key":"response_type","value":"<string>"},{"description":{"content":"<p>Sends the token response as a form post instead of a fragment encoded redirect.</p>\n","type":"text/plain"},"key":"response_mode","value":"<string>"},{"description":{"content":"<p>Instead of providing all parameters as individual query string parameters, you can provide a subset or all of them as a JWT.</p>\n","type":"text/plain"},"key":"request","value":"<string>"},{"description":{"content":"<p>URL of a pre-packaged JWT containing request parameters</p>\n","type":"text/plain"},"key":"request_uri","value":"<string>"},{"description":{"content":"<p>The authorisation server will echo back the state value on the token response, this is for round tripping state between client and provider, correlating request and response and CSRF/replay protection. (recommended).</p>\n","type":"text/plain"},"key":"state","value":"<string>"},{"description":{"content":"<p>The authorisation server will echo back the nonce value in the identity token, this is for replay protection. Required for identity tokens via implicit grant.</p>\n","type":"text/plain"},"key":"nonce","value":"<string>"},{"description":{"content":"<p>The login UI will be shown or not.</p>\n","type":"text/plain"},"key":"prompt","value":"<string>"},{"description":{"content":"<p>Sends the code challenge for PKCE.</p>\n","type":"text/plain"},"key":"code_challenge","value":"<string>"},{"description":{"content":"<p>Plain indicates that the challenge is using plain text (not recommended) S256 indicates the challenge is hashed with SHA256.</p>\n","type":"text/plain"},"key":"code_challenge_method","value":"<string>"},{"description":{"content":"<p>Can be used to pre-fill the username field on the login page.</p>\n","type":"text/plain"},"key":"login_hint","value":"<string>"},{"description":{"content":"<p>Gives a hint about the desired display language of the login UI.</p>\n","type":"text/plain"},"key":"ui_locales","value":"<string>"},{"description":{"content":"<p>If the user’s logon session exceeds the max age (in seconds), the login UI will be shown.</p>\n","type":"text/plain"},"key":"max_age","value":"<string>"}],"variable":[]}},"response":[{"id":"aa063e76-ecb0-45a6-8703-c3cd55db6194","name":"Redirect","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://localhost:54279/CuratorGateway/connect/authorize?client_id=<string>&scope=<string>&redirect_uri=<string>&response_type=<string>&response_mode=<string>&request=<string>&request_uri=<string>&state=<string>&nonce=<string>&prompt=<string>&code_challenge=<string>&code_challenge_method=<string>&login_hint=<string>&ui_locales=<string>&max_age=<string>","host":["https://localhost:54279/CuratorGateway"],"path":["connect","authorize"],"query":[{"key":"client_id","value":"<string>"},{"key":"scope","value":"<string>"},{"key":"redirect_uri","value":"<string>"},{"key":"response_type","value":"<string>"},{"key":"response_mode","value":"<string>"},{"key":"request","value":"<string>"},{"key":"request_uri","value":"<string>"},{"key":"state","value":"<string>"},{"key":"nonce","value":"<string>"},{"key":"prompt","value":"<string>"},{"key":"code_challenge","value":"<string>"},{"key":"code_challenge_method","value":"<string>"},{"key":"login_hint","value":"<string>"},{"key":"ui_locales","value":"<string>"},{"key":"max_age","value":"<string>"}]}},"status":"Found","code":302,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3e627104-3a4f-46e7-9a65-7a2adcd14dde"},{"name":"Request tokens or authorization codes via the browser.","id":"86b3a915-296b-48af-9ad6-61dd7285ec31","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"<string>","description":"<p>Identifier of the client.</p>\n"},{"key":"scope","value":"<string>","description":"<p>One or more registered scopes.</p>\n"},{"key":"redirect_uri","value":"<string>","description":"<p>The redirect URIs for the client.</p>\n"},{"key":"response_type","value":"<string>","description":"<p>The response type: code, ideneity token and/or access token. (This can only be one of id_token,token,id_token token,code,code id_token,code id_token token)</p>\n"},{"key":"response_mode","value":"<string>","description":"<p>Sends the token response as a form post instead of a fragment encoded redirect. (This can only be one of form_post)</p>\n"},{"key":"request","value":"<string>","description":"<p>Instead of providing all parameters as individual query string parameters, you can provide a subset or all of them as a JWT.</p>\n"},{"key":"request_uri","value":"<string>","description":"<p>URL of a pre-packaged JWT containing request parameters</p>\n"},{"key":"state","value":"<string>","description":"<p>The authorisation server will echo back the state value on the token response, this is for round tripping state between client and provider, correlating request and response and CSRF/replay protection. (recommended).</p>\n"},{"key":"nonce","value":"<string>","description":"<p>The authorisation server will echo back the nonce value in the identity token, this is for replay protection. Required for identity tokens via implicit grant.</p>\n"},{"key":"prompt","value":"<string>","description":"<p>The login UI will be shown or not. (This can only be one of none,login)</p>\n"},{"key":"code_challenge","value":"<string>","description":"<p>Sends the code challenge for PKCE.</p>\n"},{"key":"code_challenge_method","value":"<string>","description":"<p>Plain indicates that the challenge is using plain text (not recommended) S256 indicates the challenge is hashed with SHA256. (This can only be one of plain,S256)</p>\n"},{"key":"login_hint","value":"<string>","description":"<p>Can be used to pre-fill the username field on the login page.</p>\n"},{"key":"ui_locales","value":"<string>","description":"<p>Gives a hint about the desired display language of the login UI.</p>\n"},{"key":"max_age","value":"<string>","description":"<p>If the user’s logon session exceeds the max age (in seconds), the login UI will be shown.</p>\n"}]},"url":"https://localhost:54279/CuratorGateway/connect/authorize","description":"<p>The authorize endpoint can be used to request tokens or authorization codes via the browser. This process typically involves authentication of the end-user and optionally consent.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}},"urlObject":{"path":["connect","authorize"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[]}},"response":[{"id":"fe76ae9b-bdee-49fe-8972-6b1797709bd6","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"description":{"content":"Identifier of the client.","type":"text/plain"},"key":"client_id","value":"<string>"},{"description":{"content":"One or more registered scopes.","type":"text/plain"},"key":"scope","value":"<string>"},{"description":{"content":"The redirect URIs for the client.","type":"text/plain"},"key":"redirect_uri","value":"<string>"},{"description":{"content":"The response type: code, ideneity token and/or access token. (This can only be one of id_token,token,id_token token,code,code id_token,code id_token token)","type":"text/plain"},"key":"response_type","value":"<string>"},{"description":{"content":"Sends the token response as a form post instead of a fragment encoded redirect. (This can only be one of form_post)","type":"text/plain"},"key":"response_mode","value":"<string>"},{"description":{"content":"Instead of providing all parameters as individual query string parameters, you can provide a subset or all of them as a JWT.","type":"text/plain"},"key":"request","value":"<string>"},{"description":{"content":"URL of a pre-packaged JWT containing request parameters","type":"text/plain"},"key":"request_uri","value":"<string>"},{"description":{"content":"The authorisation server will echo back the state value on the token response, this is for round tripping state between client and provider, correlating request and response and CSRF/replay protection. (recommended).","type":"text/plain"},"key":"state","value":"<string>"},{"description":{"content":"The authorisation server will echo back the nonce value in the identity token, this is for replay protection. Required for identity tokens via implicit grant.","type":"text/plain"},"key":"nonce","value":"<string>"},{"description":{"content":"The login UI will be shown or not. (This can only be one of none,login)","type":"text/plain"},"key":"prompt","value":"<string>"},{"description":{"content":"Sends the code challenge for PKCE.","type":"text/plain"},"key":"code_challenge","value":"<string>"},{"description":{"content":"Plain indicates that the challenge is using plain text (not recommended) S256 indicates the challenge is hashed with SHA256. (This can only be one of plain,S256)","type":"text/plain"},"key":"code_challenge_method","value":"<string>"},{"description":{"content":"Can be used to pre-fill the username field on the login page.","type":"text/plain"},"key":"login_hint","value":"<string>"},{"description":{"content":"Gives a hint about the desired display language of the login UI.","type":"text/plain"},"key":"ui_locales","value":"<string>"},{"description":{"content":"If the user’s logon session exceeds the max age (in seconds), the login UI will be shown.","type":"text/plain"},"key":"max_age","value":"<string>"}]},"url":"https://localhost:54279/CuratorGateway/connect/authorize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"scope\": \"officia\",\n \"code\": \"et dolor sint\",\n \"access_token\": \"labore\",\n \"token_endpoint\": \"non ullamco dolore qui\",\n \"expires_in\": \"velit pariatur aliquip dolore\",\n \"token_type\": \"qui tempor et\",\n \"refresh_token\": \"in dolore labore tempor nulla\",\n \"id_token\": \"consequat elit\",\n \"state\": \"id qui veniam enim quis\",\n \"error\": \"consequat\",\n \"error_description\": \"ullamco fugiat consectetur velit\"\n}"}],"_postman_id":"86b3a915-296b-48af-9ad6-61dd7285ec31"},{"name":"Programmatically request tokens.","id":"5fe1957b-b3f0-43f3-8229-065dbefd95c3","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"<string>","description":"<p>The client identifier.</p>\n"},{"key":"client_secret","value":"<string>","description":"<p>Client secret either in the post body, or as a basic authentication header. Optional.</p>\n"},{"key":"grant_type","value":"<string>","description":"<p>The grant type (flow) to use. Custom grant types can be added. (This can only be one of authorization_code,client_credentials,delegation,password,refresh_token,urn:ietf:params:oauth:grant-type:device_code)</p>\n"},{"key":"scope","value":"<string>","description":"<p>One or more registered scopes. If not specified, a token for all explicitly allowed scopes will be issued.</p>\n"},{"key":"redirect_uri","value":"<string>","description":"<p>Required for the authorization_code grant type.</p>\n"},{"key":"code","value":"<string>","description":"<p>The authorization code (required for authorization_code grant type).</p>\n"},{"key":"code_verifier","value":"<string>","description":"<p>PKCE proof key.</p>\n"},{"key":"username","value":"<string>","description":"<p>Resource owner username (required for password grant type).</p>\n"},{"key":"password","value":"<string>","description":"<p>Resource owner password (required for password grant type).</p>\n"},{"key":"refresh_token","value":"<string>","description":"<p>The refresh token (required for refresh_token grant type).</p>\n"},{"key":"device_code","value":"<string>","description":"<p>The device code (required for urn:ietf:params:oauth:grant-type:device_code grant type).</p>\n"}]},"url":"https://localhost:54279/CuratorGateway/connect/token","description":"<p>The token endpoint can be used to programmatically request tokens.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}},"urlObject":{"path":["connect","token"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[]}},"response":[{"id":"0e3ac583-42ba-4886-b073-a3032faa3cdf","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"description":{"content":"The client identifier.","type":"text/plain"},"key":"client_id","value":"<string>"},{"description":{"content":"Client secret either in the post body, or as a basic authentication header. Optional.","type":"text/plain"},"key":"client_secret","value":"<string>"},{"description":{"content":"The grant type (flow) to use. Custom grant types can be added. (This can only be one of authorization_code,client_credentials,delegation,password,refresh_token,urn:ietf:params:oauth:grant-type:device_code)","type":"text/plain"},"key":"grant_type","value":"<string>"},{"description":{"content":"One or more registered scopes. If not specified, a token for all explicitly allowed scopes will be issued.","type":"text/plain"},"key":"scope","value":"<string>"},{"description":{"content":"Required for the authorization_code grant type.","type":"text/plain"},"key":"redirect_uri","value":"<string>"},{"description":{"content":"The authorization code (required for authorization_code grant type).","type":"text/plain"},"key":"code","value":"<string>"},{"description":{"content":"PKCE proof key.","type":"text/plain"},"key":"code_verifier","value":"<string>"},{"description":{"content":"Resource owner username (required for password grant type).","type":"text/plain"},"key":"username","value":"<string>"},{"description":{"content":"Resource owner password (required for password grant type).","type":"text/plain"},"key":"password","value":"<string>"},{"description":{"content":"The refresh token (required for refresh_token grant type).","type":"text/plain"},"key":"refresh_token","value":"<string>"},{"description":{"content":"The device code (required for urn:ietf:params:oauth:grant-type:device_code grant type).","type":"text/plain"},"key":"device_code","value":"<string>"}]},"url":"https://localhost:54279/CuratorGateway/connect/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"access_token\": \"cillum consectetur eiusmod\",\n \"expires_in\": \"cillum anim cupidatat\",\n \"token_type\": \"quis commodo laborum anim incididunt\",\n \"refresh_token\": \"velit ut\",\n \"id_token\": \"sunt voluptate aliqua irure\",\n \"scope\": \"culpa elit\",\n \"error\": \"laboris do\",\n \"error_description\": \"Duis dolor in\"\n}"}],"_postman_id":"5fe1957b-b3f0-43f3-8229-065dbefd95c3"},{"name":"Returns OpenId Connect metadata related to the Curator authorisation server.","id":"80243994-2d06-4045-9c24-9021cb4e6ef3","request":{"method":"GET","header":[],"url":"https://localhost:54279/CuratorGateway/.well-known/openid-configuration","description":"<p>The discovery endpoint can be used to return OpenID Connect metadata related to the Curator authorisation server. It returns information like the issuer name, key material, supported scopes etc.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}},"urlObject":{"path":[".well-known","openid-configuration"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[]}},"response":[{"id":"b5947b0e-0b19-47f7-ad48-12b0566d0ba6","name":"OK","originalRequest":{"method":"GET","header":[],"url":"https://localhost:54279/CuratorGateway/.well-known/openid-configuration"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"issuer\": \"https://myserver/curatorgateway\",\n \"jwks_uri\": \"https://myserver/CuratorGateway/.well-known/openid-configuration/jwks\",\n \"authorization_endpoint\": \"https://myserver/CuratorGateway/connect/authorize\",\n \"token_endpoint\": \"https://myserver/CuratorGateway/connect/token\",\n \"userinfo_endpoint\": \"https://myserver/CuratorGateway/connect/userinfo\",\n \"end_session_endpoint\": \"https://myserver/CuratorGateway/connect/endsession\",\n \"check_session_iframe\": \"https://myserver/CuratorGateway/connect/checksession\",\n \"revocation_endpoint\": \"https://myserver/CuratorGateway/connect/revocation\",\n \"introspection_endpoint\": \"https://myserver/CuratorGateway/connect/introspect\",\n \"device_authorization_endpoint\": \"https://myserver/CuratorGateway/connect/deviceauthorization\",\n \"frontchannel_logout_supported\": true,\n \"frontchannel_logout_session_supported\": true,\n \"backchannel_logout_supported\": true,\n \"backchannel_logout_session_supported\": true,\n \"scopes_supported\": [\n  \"openid\",\n  \"profile\",\n  \"email\",\n  \"address\",\n  \"phone\",\n  \"roles\",\n  \"Curator.DeviceDirector.API\",\n  \"Curator.Gateway.API\",\n  \"Curator.ProcessEngine.API\",\n  \"Curator.Proxies\",\n  \"Curator.Server.API\",\n  \"Curator.Siphon.API\",\n  \"Curator.SVUtils.API\",\n  \"Curator.XChange.API\",\n  \"offline_access\"\n ],\n \"claims_supported\": [\n  \"sub\",\n  \"name\",\n  \"family_name\",\n  \"given_name\",\n  \"middle_name\",\n  \"nickname\",\n  \"preferred_username\",\n  \"profile\",\n  \"picture\",\n  \"website\",\n  \"gender\",\n  \"birthdate\",\n  \"zoneinfo\",\n  \"locale\",\n  \"updated_at\",\n  \"email\",\n  \"email_verified\",\n  \"address\",\n  \"phone_number\",\n  \"phone_number_verified\",\n  \"role\",\n  \"http://schemas.microsoft.com/ws/2008/06/identity/claims/role\"\n ],\n \"grant_types_supported\": [\n  \"authorization_code\",\n  \"client_credentials\",\n  \"refresh_token\",\n  \"implicit\",\n  \"password\",\n  \"urn:ietf:params:oauth:grant-type:device_code\",\n  \"delegation\"\n ],\n \"response_types_supported\": [\n  \"code\",\n  \"token\",\n  \"id_token\",\n  \"id_token token\",\n  \"code id_token\",\n  \"code token\",\n  \"code id_token token\"\n ],\n \"response_modes_supported\": [\n  \"form_post\",\n  \"query\",\n  \"fragment\"\n ],\n \"token_endpoint_auth_methods_supported\": [\n  \"client_secret_basic\",\n  \"client_secret_post\"\n ],\n \"id_token_signing_alg_values_supported\": [\n  \"RS256\"\n ],\n \"subject_types_supported\": [\n  \"public\"\n ],\n \"code_challenge_methods_supported\": [\n  \"plain\",\n  \"S256\"\n ],\n \"request_parameter_supported\": true\n}"}],"_postman_id":"80243994-2d06-4045-9c24-9021cb4e6ef3"}],"id":"487b54f7-f488-4ae1-9639-e2abb01c7b09","_postman_id":"487b54f7-f488-4ae1-9639-e2abb01c7b09","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}}},{"name":"Tasks","item":[{"name":"Get task.","id":"bd1c88b1-2374-4207-967c-bb7a8471fd51","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/tasks/:taskId","description":"<p>Returns the asynchronous task details.</p>\n","urlObject":{"path":["api","v1","tasks",":taskId"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"9e0d52d3-07c2-4b5e-b4e4-79bf8f82a174","description":{"content":"<p>(Required) The id of the task to get.</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"taskId"}]}},"response":[{"id":"1a9b92cf-5bcc-4d44-8fce-7c2529c1fc85","name":"Returned if the task is not found.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/tasks/:taskId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","tasks",":taskId"],"variable":[{"key":"taskId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"},{"id":"2e56fd59-648e-430b-a360-1afbe98c707c","name":"Returned if the request is successful.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/tasks/:taskId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","tasks",":taskId"],"variable":[{"key":"taskId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"href\": \"https://localhost:54279/CuratorGateway/api/v1/tasks/processengine-a00c748c-568f-468b-89b3-0c82fbaf0d15\",\n \"id\": \"processengine-a00c748c-568f-468b-89b3-0c82fbaf0d15\",\n \"description\": \"Process Engine process used to ingest an asset from a file.\",\n \"status\": \"Complete\",\n \"statusMessages\": [\n  {\n   \"message\": \"Process completed successfully.\",\n   \"type\": \"Info\"\n  }\n ],\n \"submittedDateTime\": \"2020-09-21T15:06:32.6022909Z\",\n \"completedDateTime\": \"2020-09-21T15:11:32.6022914Z\",\n \"errored\": false,\n \"progress\": 100,\n \"total\": 100,\n \"results\": {\n  \"assetId\": \"1c5eac90-6f3d-48e2-8044-17deff6542ab\"\n },\n \"links\": {\n  \"asset\": {\n   \"href\": \"https://localhost:54279/CuratorGateway/api/v1/assets/1c5eac90-6f3d-48e2-8044-17deff6542ab\"\n  }\n }\n}"},{"id":"54a0fbe9-6d26-407b-bf35-c147901f417a","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/tasks/:taskId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","tasks",":taskId"],"variable":[{"key":"taskId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"7b720e97-b5e3-4e96-b669-e8290c6d62a0","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/tasks/:taskId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","tasks",":taskId"],"variable":[{"key":"taskId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"cfeb14bb-aa71-42a5-af8c-55c2279c4ffd","name":"The request is forbidden. Required scopes: Curator.ProcessEngine.API","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/tasks/:taskId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","tasks",":taskId"],"variable":[{"key":"taskId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"}],"_postman_id":"bd1c88b1-2374-4207-967c-bb7a8471fd51"}],"id":"3964558d-1f8e-4868-a9d5-487ebbb45e65","_postman_id":"3964558d-1f8e-4868-a9d5-487ebbb45e65","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}}},{"name":"User Groups","item":[{"name":"Get user groups.","id":"81b571e8-5edd-440a-a331-afbd0f2ebf12","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/usergroups?offset=<integer>&limit=<integer>","description":"<p>Returns a list of user groups.</p>\n","urlObject":{"path":["api","v1","usergroups"],"host":["https://localhost:54279/CuratorGateway"],"query":[{"description":{"content":"<p>The optional offset into the list of items. Must be greater than or equal to 0.</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"description":{"content":"<p>The number of items to return. Limit must be greater than or equal to 0 and less than 100.</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[{"id":"11c5ad13-e694-4dc2-86a3-937fdebad496","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"612a39e9-40f7-4112-9459-d108332e8a1d","name":"Invalid request parameters.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"parameter1\": [\n    \"Parameter1 must be greater than 0.\"\n   ]\n  }\n ],\n \"status\": 400,\n \"title\": \"One or more validation errors occurred.\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\n \"traceId\": \"|56825d25-4bab64479d589d29.\"\n}"},{"id":"72ed0afb-0c49-4923-83e0-2ccc2981e226","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"ac673c23-7964-499d-93f2-442d8775b711","name":"The request is forbidden. Required scopes: Curator.Gateway.API Required roles: ADMIN","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"d31c4c61-a12f-4fe7-9ce6-e1d723f7b33e","name":"The list of user groups is returned.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/usergroups/System%20Administrators\",\n  \"id\": \"946f949e-81bf-4aae-9770-07eb3b81a0da\",\n  \"name\": \"System Administrators\",\n  \"description\": \"A group containing system administrators.\",\n  \"createdDateTime\": \"2019-09-22T15:11:32.6087123Z\",\n  \"isSystem\": false\n }\n]"}],"_postman_id":"81b571e8-5edd-440a-a331-afbd0f2ebf12"},{"name":"Get user group.","id":"ba3678fe-dbd8-4c61-a5b6-6010f074b9e2","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/usergroups/:name","description":"<p>Returns a user group.</p>\n","urlObject":{"path":["api","v1","usergroups",":name"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"2635d922-f90d-4182-a5c0-1fbb8ce8993d","description":{"content":"<p>(Required) The name of the user group to get.</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"name"}]}},"response":[{"id":"428dc0d3-2519-4066-b6d6-4f564141671b","name":"The request is forbidden. Required scopes: Curator.Gateway.API Required roles: ADMIN","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups",":name"],"variable":[{"key":"name"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"50d26992-4f41-4246-89fe-e03b5e0e6727","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups",":name"],"variable":[{"key":"name"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"9130dfe9-18e9-445b-8737-84be16061412","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups",":name"],"variable":[{"key":"name"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"f1533a73-f32e-4ec0-a5f0-bfebea52244f","name":"The user group was not found.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups",":name"],"variable":[{"key":"name"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"},{"id":"f9a9b486-e277-44e7-b8fb-3de8d4dbfc62","name":"The user group.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups",":name"],"variable":[{"key":"name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"href\": \"https://localhost:54279/CuratorGateway/api/v1/usergroups/System%20Administrators\",\n \"id\": \"a1ff5464-829f-47c4-9fea-3ab99e4cb8dc\",\n \"name\": \"System Administrators\",\n \"description\": \"A group containing system administrators.\",\n \"createdDateTime\": \"2019-09-22T15:11:32.6107305Z\",\n \"isSystem\": false\n}"}],"_postman_id":"ba3678fe-dbd8-4c61-a5b6-6010f074b9e2"},{"name":"Does user group exist?","id":"6d9ef26e-2c09-481a-bf56-2de84b7243b9","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"HEAD","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/usergroups/:name","description":"<p>Determines if a user group with the given name exists.</p>\n","urlObject":{"path":["api","v1","usergroups",":name"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"936955dd-8001-402c-98d9-e5531c201349","description":{"content":"<p>(Required) The name of the user group to check if it exists.</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"name"}]}},"response":[{"id":"3a2e8f16-f94e-4a72-a3f4-3367ec421489","name":"An internal server error occurred.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups",":name"],"variable":[{"key":"name"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"7284bdc2-475c-4ec4-b95b-817f0ae0bd8d","name":"The user group exists.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups",":name"],"variable":[{"key":"name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"b038a118-ff85-4779-9e97-c5db145f1e5f","name":"The user group does not exist.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups",":name"],"variable":[{"key":"name"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"},{"id":"b8c85e94-13f1-46fd-aed0-d347a4ad6a2b","name":"The request is forbidden. Required scopes: Curator.Gateway.API Required roles: ADMIN","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups",":name"],"variable":[{"key":"name"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"bff52071-7ef9-4319-b962-fe922da08fb1","name":"The request is unauthorised.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/usergroups/:name","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","usergroups",":name"],"variable":[{"key":"name"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"}],"_postman_id":"6d9ef26e-2c09-481a-bf56-2de84b7243b9"}],"id":"fba52ca5-4db0-40d9-b81c-d14842fe3175","_postman_id":"fba52ca5-4db0-40d9-b81c-d14842fe3175","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}}},{"name":"Users","item":[{"name":"Get users.","id":"0a3e9540-c8df-4f39-8aa0-c0886fbd3300","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/users?offset=<integer>&limit=<integer>","description":"<p>Returns a list of all (active and inactive) users.</p>\n","urlObject":{"path":["api","v1","users"],"host":["https://localhost:54279/CuratorGateway"],"query":[{"description":{"content":"<p>The optional offset into the list of items. Must be greater than or equal to 0.</p>\n","type":"text/plain"},"key":"offset","value":"<integer>"},{"description":{"content":"<p>The number of items to return. Limit must be greater than or equal to 0 and less than 100.</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[{"id":"3d9f4910-106c-40f3-a382-d78ca2f1cdb1","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"51b87ab8-a39d-477c-9fe3-5218fd6a94f4","name":"The list of users is returned.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"href\": \"https://localhost:54279/CuratorGateway/api/v1/users/5a1c6700-f8f7-49c4-b856-0f8021a14c9a\",\n  \"userName\": \"ametcalfe@ipv.com\",\n  \"displayName\": \"Alex Metcalfe\",\n  \"email\": \"ametcalfe@ipv.com\",\n  \"emailConfirmed\": true,\n  \"accessFailedCount\": 0,\n  \"isActive\": true,\n  \"lockoutEnabled\": true,\n  \"lockoutEnd\": null,\n  \"twoFactorEnabled\": true,\n  \"id\": \"5a1c6700-f8f7-49c4-b856-0f8021a14c9a\",\n  \"createdDateTime\": \"2019-09-22T15:11:32.6202417Z\",\n  \"updatedDateTime\": \"2020-09-20T15:11:32.620242Z\",\n  \"isSystem\": false,\n  \"forcePasswordChange\": false\n }\n]"},{"id":"7c52763c-1909-4b96-aed3-33aabd930848","name":"The request is forbidden. Required scopes: Curator.Gateway.API Required roles: ADMIN","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"aec399da-e764-489a-82b6-9e118be326e5","name":"Invalid request parameters.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"parameter1\": [\n    \"Parameter1 must be greater than 0.\"\n   ]\n  }\n ],\n \"status\": 400,\n \"title\": \"One or more validation errors occurred.\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\n \"traceId\": \"|56825d25-4bab64479d589d29.\"\n}"},{"id":"d6dda51c-b7f7-4f1e-a63a-2659933d91d0","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users?offset=1&limit=50","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users"],"query":[{"key":"offset","value":"1"},{"key":"limit","value":"50"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"}],"_postman_id":"0a3e9540-c8df-4f39-8aa0-c0886fbd3300"},{"name":"Get user.","id":"55edf564-cec8-4ea2-b9cf-587818a02038","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/users/:userId","description":"<p>Returns a user.</p>\n","urlObject":{"path":["api","v1","users",":userId"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"5cf6d2f2-dc6f-4eda-b4d1-d92754eca849","description":{"content":"<p>(Required) The id of the user to get.</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"userId"}]}},"response":[{"id":"0b5665a4-0816-4657-b065-c82dfd0c7a46","name":"An internal server error occurred.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users/:userId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users",":userId"],"variable":[{"key":"userId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"},{"id":"78b9f355-d354-4c5f-9c9f-21c0c48ae32c","name":"The user.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users/:userId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users",":userId"],"variable":[{"key":"userId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"href\": \"https://localhost:54279/CuratorGateway/api/v1/users/7994f9da-b85d-4ad2-b9d5-b05f1dc3e80b\",\n \"userName\": \"ametcalfe@ipv.com\",\n \"displayName\": \"Alex Metcalfe\",\n \"email\": \"ametcalfe@ipv.com\",\n \"emailConfirmed\": true,\n \"accessFailedCount\": 0,\n \"isActive\": true,\n \"lockoutEnabled\": true,\n \"lockoutEnd\": null,\n \"twoFactorEnabled\": true,\n \"id\": \"7994f9da-b85d-4ad2-b9d5-b05f1dc3e80b\",\n \"createdDateTime\": \"2019-09-22T15:11:32.6222522Z\",\n \"updatedDateTime\": \"2020-09-20T15:11:32.6222524Z\",\n \"isSystem\": false,\n \"forcePasswordChange\": false\n}"},{"id":"a13a7114-be34-464c-8b2c-c4966efdc97b","name":"The request is forbidden. Required scopes: Curator.Gateway.API Required roles: ADMIN","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users/:userId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users",":userId"],"variable":[{"key":"userId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"c85c1791-1371-4a3a-8f69-0d4aa6f9a20e","name":"The user was not found.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users/:userId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users",":userId"],"variable":[{"key":"userId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"},{"id":"cd6ee7dc-1c4c-4487-b8be-fc1a6dbe476f","name":"The request is unauthorised.","originalRequest":{"method":"GET","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users/:userId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users",":userId"],"variable":[{"key":"userId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"}],"_postman_id":"55edf564-cec8-4ea2-b9cf-587818a02038"},{"name":"Does user exist?","id":"912b8a67-bafd-4d42-a663-0ca2c29e9ec3","request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"HEAD","header":[{"description":"<p>(Required) The access token.</p>\n","key":"Authorization","value":"Bearer [access token]"}],"url":"https://localhost:54279/CuratorGateway/api/v1/users/:userId","description":"<p>Determines if a user with the given id exists.</p>\n","urlObject":{"path":["api","v1","users",":userId"],"host":["https://localhost:54279/CuratorGateway"],"query":[],"variable":[{"id":"76b154d9-88cc-4064-9757-bae620b83ab6","description":{"content":"<p>(Required) The id of the user to check if exists.</p>\n","type":"text/plain"},"type":"string","value":"<uuid>","key":"userId"}]}},"response":[{"id":"7976b2eb-5b98-4a82-b416-c77c240925c3","name":"The user does not exist.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users/:userId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users",":userId"],"variable":[{"key":"userId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 404,\n \"title\": \"Not Found\",\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\n \"traceId\": \"|6e56eb80-405baf41b5edd0f1.\"\n}"},{"id":"97ec40bb-aa6d-49e1-a9b2-ca01777681a3","name":"The request is unauthorised.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users/:userId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users",":userId"],"variable":[{"key":"userId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 401,\n \"title\": \"Unauthorized\",\n \"type\": \"https://httpstatuses.com/401\",\n \"traceId\": \"|4dc214de-461261a6cea7b558.\"\n}"},{"id":"a0373d57-172b-405b-be39-7560366243b9","name":"The request is forbidden. Required scopes: Curator.Gateway.API Required roles: ADMIN","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users/:userId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users",":userId"],"variable":[{"key":"userId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://httpstatuses.com/403\",\n \"traceId\": \"|5fc214de-461261a6cea7b598.\"\n}"},{"id":"a241b2ab-922c-4bdd-9fb8-883e936dcfca","name":"The user exists.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users/:userId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users",":userId"],"variable":[{"key":"userId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"c2b7bf17-267c-40e7-baf8-f0ca6a8e9764","name":"An internal server error occurred.","originalRequest":{"method":"HEAD","header":[{"description":"(Required) The access token.","key":"Authorization","value":"Bearer [access token]"}],"url":{"raw":"https://localhost:54279/CuratorGateway/api/v1/users/:userId","host":["https://localhost:54279/CuratorGateway"],"path":["api","v1","users",":userId"],"variable":[{"key":"userId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"An error occured when communicating with service.\",\n \"status\": 500,\n \"title\": \"Internal Server Error\",\n \"type\": \"https://httpstatuses.com/500\",\n \"traceId\": \"|3a3bc0fe-4b2e003bbe4637e6.\"\n}"}],"_postman_id":"912b8a67-bafd-4d42-a663-0ca2c29e9ec3"}],"id":"b6ed2632-3190-4366-bab5-288369d951fa","_postman_id":"b6ed2632-3190-4366-bab5-288369d951fa","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":true,"source":{"_postman_id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","id":"fe4a90dd-70f1-4a59-b0ff-50878c83d055","name":"Curator API V1 (1.0)","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]}},"event":[{"listen":"prerequest","script":{"id":"eead757e-3484-4bfe-b107-ad7a48f71c26","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1e3f465f-1439-4117-812a-f5e318459213","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://localhost:54279/CuratorGateway"}]}