{"info":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","description":"<html><head></head><body><p>The Hubshare® API gives you access to features available in the web application. It is organized into several <a href=\"http://en.wikipedia.org/wiki/Representational_state_transfer\">RESTful</a> web services which can be used in your own application.</p>\n<h2 id=\"need-help\">Need help?</h2>\n<p>We are here to support you!\nGetting lost on your implementation, can't find what you're looking for in the documentation?. Feel free to contact us by email <a href=\"mailto:support@hubshare.com\">here</a> if you have any questions or suggestions !</p>\n<h1 id=\"libraries\">Libraries</h1>\n<p>Currently we do not provide any official libraries to help consume our API on some specific programming languages. However we are currently developping a C# API Client library that should be released soon. Feel free to contact us if you built an open-source wrapper for our API, we will be glad to help you in your integration.</p>\n<h1 id=\"general-notes\">General Notes</h1>\n<h2 id=\"url\">URL</h2>\n<p>The URL to use an API endpoint has the following structure:\n<code>&lt;api_base_url&gt;&lt;module_name&gt;/&lt;...&gt;.</code></p>\n<p>A web service is available in order to retrieve the base URL of the API. Its URL can be computed using the following schema:\n<code>https://&lt;hubshare_server_domain_name&gt;/Svc/Info/Api.</code></p>\n<p>The web service located at http:///Svc/Info/Api produces a JSON output which have the below schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">{\n    \"entries\":\n    [\n        {\n            \"shortVersion\": \"DP2\",\n            \"longVersion\": \"Developer Preview 2\",\n            \"baseUrl\": \"http://localhost:2005/Api/Preview2/\"\n        },\n        ...\n    ]\n}\n</code></pre>\n<h2 id=\"ssl-only\">SSL only</h2>\n<p>Since sensible metadata related to documents and their usage is exchanged with our service we require that all requests are done over SSL.</p>\n<h2 id=\"developer-authentication\">Developer authentication</h2>\n<p>Most API requests require authentication based on an access token. The token needs to be passed in the header of these requests as:\n<code>Authorization: Bearer {your_access_token}</code>\nAccess tokens are issued by the OAuth 2.0 module of the API. For more information about OAuth 2.0, read the <a href=\"http://tools.ietf.org/html/rfc6749\">RFC 6749 specification</a>.</p>\n<h2 id=\"utf-8-encoding\">UTF-8 encoding</h2>\n<p>Every string passed to and from the Hubshare® API needs to be UTF-8 encoded. For maximum compatibility, normalize to <a href=\"http://unicode.org/reports/tr15/\">Unicode Normalization Form C</a> (NFC) before UTF-8 encoding.</p>\n<h2 id=\"request-and-response-format\">Request and response format</h2>\n<p>Body content is always in <a href=\"http://json.org/\">JSON</a>, except for endpoints which send or receive binary data, such as file contents or images.\nWhen sending JSON data in a request body, the <code>Content-Type</code> HTTP header must be set to the <code>application/json</code> MIME type.</p>\n<h2 id=\"date-format\">Date format</h2>\n<p>All dates in the API are strings which comply to the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> standard:\n<code>\"2010-08-21T22:31:20Z\"</code></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Libraries","slug":"libraries"},{"content":"General Notes","slug":"general-notes"}],"owner":"13732216","collectionId":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","publishedId":"TVmP8wRu","public":true,"customColor":{"top-bar":"fff","right-sidebar":"303030","highlight":"0C2F48"},"publishDate":"2023-02-03T11:39:00.000Z"},"item":[{"name":"Common workflows","item":[{"name":"Hub creation and user invites","item":[{"name":"/Room","event":[{"listen":"prerequest","script":{"id":"96cbd6cd-4481-48b3-bd16-6b8aa6a131cc","exec":[""],"type":"text/javascript"}}],"id":"5a9e7535-7226-46fc-b6ab-83980bf0a533","protocolProfileBehavior":{"disableBodyPruning":true,"followOriginalHttpMethod":true,"disabledSystemHeaders":{"content-type":true,"accept":true,"accept-encoding":true,"connection":true},"disableUrlEncoding":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text","description":"<p>This header specifies the format of the exchanges in JSON.</p>\n"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"My new room\",\r\n    \"templateId\": \"932e6b36-d2c5-4bc4-b7d2-daab485b4a39\",\r\n    \"modules\": \"All\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:44348/Api/Preview2/Room","description":"<p>Creates a new hub.</p>\n<p><strong>Remarks</strong> \nThe identifier returned by this endpoint can be passed to the <code>http://instance-name.hubshare.com/Go.ashx</code> URL in a web browser to continue the creation process.\nTo prevent the user from being redirected to the login page, add the API access token in the <code>at</code> query string parameter.\nDocstore webpages require a recent web browser with JavaScript and cookies enabled.\nExample URL: <code>http://instance-name.hubshare.com/Go.ashx?id=01234567-89AB-CDEF-0123-456789ABCDEF&amp;at=aZw07qnU9i5&amp;p=room_wizard</code></p>\n<p>(Optional) In the case of a hub creation from a room template, the room will not be created instantly as all of its content has to be copied from the parent hub template. The response then contains an additional <code>asyncTaskId</code> field that will reference the asynchronous task responsible for copying the template to the new hub. You can then check the status of this task by calling performing a <strong>GET</strong> request to the <code>/AsyncTask/{TaskId}/Status</code> route. </p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[{"id":"8883cd55-459b-41f4-9442-a967c0ca0dbb","name":"/Room","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <YourToken>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"My new room\",\r\n    \"templateId\": \"932e6b36-d2c5-4bc4-b7d2-daab485b4a39\",\r\n    \"modules\": \"All\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:44348/Api/Preview2/Room"},"status":"Created","code":202,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Server","value":"","enabled":true},{"key":"X-Docstore-RequestId","value":"262f09bb-ed48-4e87-9181-4f6b48732418","enabled":true},{"key":"X-SourceFiles","value":"=?UTF-8?B?QzpcZGV2XGh1YnNoYXJlXEh1YnNoYXJlLldlYkFwcFxBcGlcUHJldmlldzJcUm9vbQ==?=","enabled":true},{"key":"Date","value":"Mon, 14 Dec 2020 09:24:50 GMT","enabled":true},{"key":"Content-Length","value":"45","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"879621b2-e410-48c4-a8eb-18e02508cc6e\",\n    \"asyncTaskId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\"\n}"}],"_postman_id":"5a9e7535-7226-46fc-b6ab-83980bf0a533"},{"name":"/Status","event":[{"listen":"prerequest","script":{"id":"cec2c6d8-e05c-482d-9812-198c2bd5df26","exec":["pm.variables.set(\"taskId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"8ce37ec7-822f-4004-83ec-812fab2329db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Bearer","value":"{{api_access_token}}","description":"<p>This value is a secret and needs to be replaced by your API access token, retrieved using the API OAuth authentication module.</p>\n","type":"text"}],"url":"https://localhost:44348/Api/Preview2/AsyncTask/{{taskId}}/Status","description":"<p>Retrieves the status of the specified asynchronous task.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","AsyncTask","{{taskId}}","Status"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[{"id":"bbee277c-3319-4bd7-9d37-949d4584b807","name":"/Status","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <YourToken>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://localhost:44348/Api/Preview2/AsyncTask/01234567-89AB-CDEF-0123-456789ABCDEF/Status"},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Active\"\n}"}],"_postman_id":"8ce37ec7-822f-4004-83ec-812fab2329db"},{"name":"/Share","event":[{"listen":"prerequest","script":{"id":"888082a6-366e-40d1-96fc-3fa970a7d152","exec":[""],"type":"text/javascript"}}],"id":"8bc030a7-85fa-4353-b375-01f453b8f21b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text","description":"<p>This header specifies the format of the exchanges in JSON.</p>\n"},{"key":"Bearer","value":"{{api_access_token}}","description":"<p>This value is a secret and needs to be replaced by your API access token, retrieved using the API OAuth authentication module.</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"resourceId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"identityId\": \"Anonymous\",\r\n    \"endDate\": \"2019-12-31T23:59:59Z\",\r\n    \"emails\":\r\n    [\r\n        \"john.doe@company.com\"\r\n    ],\r\n    \"message\": \"Welcome to my share!\",\r\n    \"password\": \"\",\r\n    \"notification\": \"NoInvitation\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Share","description":"<h2 id=\"step-2---invite-users\">Step 2 - Invite users</h2>\n<p>Now that the room is created you can invite users to it by sending <strong>POST</strong> requests to the <code>/Share</code> endpoint. \n    - In order to invite an user to the freshly created Hub, you have to specify its public identifier (GUID) in the content of the request body, provided through the field <code>identityId</code>. This identitifier can also refer to a <code>Group</code> \n    - The <code>resourceId</code> parameter in the body content should refer to the created room identifier, retrieved in the step 1.\n    - More information on Share creation can be found in the  <strong>POST</strong><code>/Share</code> request.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Share"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[{"id":"0113e70a-1dff-44db-b8e7-dfbc2a1a8eeb","name":"/Share","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <YourToken>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"resourceId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"identityId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"message\": \"Welcome to my hub!\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:44348/Api/Preview2/Share"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\n    \"tag\": \"123-456-789\"\n}"}],"_postman_id":"8bc030a7-85fa-4353-b375-01f453b8f21b"},{"name":"/Room/{roomId}/Administrator","event":[{"listen":"prerequest","script":{"id":"9176dc81-5dc3-43a8-95cf-e189c8290846","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"e96e3487-cc64-4ae7-8146-2a954659faca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Bearer","value":"{{api_access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"identityId\": \"{{userId}}\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Administrator","description":"<h2 id=\"step-3---define-hub-administrators\">Step 3 - Define Hub administrators</h2>\n<p>You can also define room administrators to the created room by performing <strong>POST</strong> requests to the <code>/Room/{RoomId}/Administrator</code> endpoint. Note that the given user doesn't have to have access to the room through a share, and can be set as administrator independently. If a room administrator is removed and it has no previous shared access to the room, he won't be able to see the room anymore. </p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Administrator"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"e96e3487-cc64-4ae7-8146-2a954659faca"}],"id":"622ca88e-b986-4b03-b3a9-0d3d219907d6","description":"<p>Hubs are what makes Hubshare so powerful. Through the Hubshare API, you are able to create a hub, from scratch or from a hub template. Both creation mode can be performed from the same API route, but the response will be slightly different when creating a hub from scratch or from a template.</p>\n<h2 id=\"step-1---create-the-hub\">Step 1 - Create the hub</h2>\n<p>Perform a <strong>POST</strong> request to the <code>/Room</code> endpoint to create a hub with a given name. The hub is instantly created and the API sends a response containing the freshly created room public identifier (GUID)</p>\n","_postman_id":"622ca88e-b986-4b03-b3a9-0d3d219907d6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Resource upload","item":[{"name":"/Upload/New","event":[{"listen":"prerequest","script":{"id":"85c91611-520a-4197-bc69-4f4219f17273","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"parentId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","pm.variables.set(\"fileName\", \"file.txt\");","pm.variables.set(\"fileLength\", \"16777216\");"],"type":"text/javascript"}}],"id":"43e65d74-f0fc-402f-b884-c92bd149fefd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Bearer","value":"{{api_access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"parentId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"name\": \"{{fileName}}\",\r\n    \"length\": {{fileLength}}\r\n}"},"url":"https://localhost:44348/Api/Preview2/Upload/{{resourceId}}","description":"<p>Creates an upload lock on a new file.</p>\n<p>This request allows you to acquire a lock for performing future upload requests to send the content of the file. When the lock is acquired, the API sends the following response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">{\n    \"fileId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\n    \"lockId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\"\n}\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Upload","{{resourceId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"43e65d74-f0fc-402f-b884-c92bd149fefd"},{"name":"/Upload/{{uploadId}}","event":[{"listen":"prerequest","script":{"id":"2fcdc265-d09c-40be-8fff-61e3da6a4899","exec":["pm.variables.set(\"uploadId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"e307fb47-5fcc-4553-902c-b6e34b222909","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Bearer","value":"{{api_access_token}}","type":"text"}],"body":{"mode":"file","file":{}},"url":"https://localhost:44348/Api/Preview2/Upload/{{uploadId}}","description":"<h2 id=\"step-2---upload-binary-file-content-chunks\">Step 2 - Upload binary file content chunks</h2>\n<p>After acquiring the lock for a file upload, one can then perform one or multiple <strong>PUT</strong> requests to the <code>/Upload/{LockId}</code> endpoint. <code>LockId</code>represents the lock identifier acquired in the response from <strong>Step 1</strong>.\nThe body of the request should be the chunk binary content to append to the file. The <code>Content-Length</code> header should be provided in this request and should match with the size in bytes of the upload chunk sent in the request body.</p>\n<h3 id=\"response-body-\">Response body :</h3>\n<ul>\n<li><code>written</code> is the size of the content that has been written to the file in bytes by the current request.</li>\n<li><code>progress</code> is the overall upload progress in bytes</li>\n<li><code>total</code> is the total upload size in bytes, it is equal to the <code>length</code> required in the request from step <strong>1.</strong></li>\n<li><code>completed</code> indicates if the upload finished and file has been updated.</li>\n</ul>\n<p>When the upload is finished, after one or more <strong>PUT</strong> requests to append content, the upload lock is automatically released an there's no need to perform further requests.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Upload","{{uploadId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"e307fb47-5fcc-4553-902c-b6e34b222909"},{"name":"/Upload/{{resourceId}}","event":[{"listen":"prerequest","script":{"id":"35461abe-8a65-44db-b82d-d7e51601cd16","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"c84b74b3-e123-45fe-ad0d-ac52ac3f4a15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Bearer","value":"{{api_access_token}}","type":"text"}],"url":"https://localhost:44348/Api/Preview2/Upload/{{resourceId}}","description":"<h2 id=\"optional-step-3---cancel-an-upload-that-went-wrong\">(Optional) Step 3 - Cancel an upload that went wrong</h2>\n<p>If the upload went wrong, you can still cancel the upload by deleting the upload lock associated with the file. In order to do this you can perform a <strong>DELETE</strong> request to the <code>/Upload/{ResourceId}</code> endpoint.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Upload","{{resourceId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"c84b74b3-e123-45fe-ad0d-ac52ac3f4a15"}],"id":"aaa72c4e-27ba-4cfe-b1fd-1831ffeda54c","description":"<p>Hubshare allows you to store and share various documents with internal and external users. In this section we will demonstrate how to upload resources through the Hubshare API.</p>\n<h2 id=\"step-1---acquire-an-upload-lock\">Step 1 - Acquire an upload lock</h2>\n<p>The first request to perform when uploading a file should be a <strong>POST</strong> request to the <code>/Upload/New</code> endpoint. You can then specify in the body the name of the file and its content length, as well as the parent folder identifier.\n<strong>Note</strong>: you can either perform a request to <code>/Upload/New</code> to create a new file or <code>/Upload/{ResourceId}</code> to replace an existing file, referenced by its public identifier <code>{ResourceId}</code>. </p>\n","_postman_id":"aaa72c4e-27ba-4cfe-b1fd-1831ffeda54c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Sharing a file or folder inside a room to a user using his email adress","item":[{"name":"/Email/Search","id":"e7f8eef2-4c0c-4096-8a44-2adfd440856b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"emailAddress\": \"test@email.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:44348/Api/Preview2/Email/Search","description":"<p>Seach an existing user from an email address.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Email","Search"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[{"id":"3f21577c-fd99-4278-af9b-84f38aaa5aa5","name":"/Email/Search","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"emailAddress\": \"test@email.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:44348/Api/Preview2/Email/Search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"userId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\"\n}"}],"_postman_id":"e7f8eef2-4c0c-4096-8a44-2adfd440856b"},{"name":"/Share","event":[{"listen":"prerequest","script":{"id":"548d2344-ed77-4d1a-ad24-93d403aa11a1","exec":[""],"type":"text/javascript"}}],"id":"05d1960e-ba4d-48b2-a55b-eb38ec156943","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text","description":"<p>This header specifies the format of the exchanges in JSON.</p>\n"},{"key":"Bearer","value":"{{api_access_token}}","description":"<p>This value is a secret and needs to be replaced by your API access token, retrieved using the API OAuth authentication module.</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"resourceId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"identityId\": \"Anonymous\",\r\n    \"endDate\": \"2019-12-31T23:59:59Z\",\r\n    \"emails\":\r\n    [\r\n        \"john.doe@company.com\"\r\n    ],\r\n    \"message\": \"Welcome to my share!\",\r\n    \"password\": \"\",\r\n    \"notification\": \"NoInvitation\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Share","description":"<h2 id=\"step-2---share-the-room-to-the-user\">Step 2 - Share the room to the user</h2>\n<p>Now that we retrieved the userId, it's time to give him access to the room by performing a <strong>POST</strong> request to the <code>/Share</code> API endpoint.\n    - We'll provide the user's identifier retrieved in <em>Step 1</em> in the content of the request body through the field <code>identityId</code>.\n    - The <code>resourceId</code> parameter in the body content should refer to the public identifier of the room which contains the file or folder to give access to.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Share"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[{"id":"3a685c91-d703-49d0-86a1-b3a23e77c9d6","name":"/Share","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"This header specifies the format of the exchanges in JSON.","type":"text"},{"key":"Bearer","value":"{{api_access_token}}","description":"This value is a secret and needs to be replaced by your API access token, retrieved using the API OAuth authentication module.","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"resourceId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"identityId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"message\": \"Welcome to my hub!\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:44348/Api/Preview2/Share"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\n    \"tag\": \"123-456-789\"\n}"}],"_postman_id":"05d1960e-ba4d-48b2-a55b-eb38ec156943"},{"name":"/SecurityTemplate","id":"3061859a-191c-49a0-a7e2-b070bb2cb419","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/SecurityTemplate","description":"<h2 id=\"step-3---retrieve-existing-security-templates\">Step 3 - Retrieve existing security templates</h2>\n<p>We can retrieve the security templates available for use by performing a <strong>GET</strong> request on the route <code>/SecurityTemplate</code>. \nThis will list every template that you can use to define the access control to apply on files and folders.</p>\n<p><strong>Remarks</strong> : This endpoints returns the company security templates as well as \"built-in\" templates. The built-in templates are default templates provided by Hubshare.\nBuilt in templates have the following identifiers: </p>\n<ul>\n<li><code>Public</code></li>\n<li><code>Viewer</code></li>\n<li><code>Editor</code></li>\n<li><code>None</code></li>\n</ul>\n<p>In the next request, you'll be able to provide a GUID or also provide a built-in template identifier (i.e. <code>Public</code>) for the security template to apply.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","SecurityTemplate"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"3061859a-191c-49a0-a7e2-b070bb2cb419"},{"name":"Room/{RoomId}/Module/All/Access","event":[{"listen":"prerequest","script":{"id":"b29e8fca-a849-4c61-a88e-a0e42283efc2","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","pm.variables.set(\"securityTemplateId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\"); // Can be set to \"Public\", \"Viewer\", \"Editor\", \"None\"."],"type":"text/javascript"}}],"id":"9682cd20-5d68-4242-aed6-06c23347b206","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"identityId\": \"{{userId}}\",\r\n    \"access\": \"Full\",\r\n    \"templateId\": \"{{securityTemplateId}}\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Module/All/Access","description":"<h2 id=\"step-4---give-access-to-all-modules\">Step 4 - Give access to all modules</h2>\n<p>Now that our user is invited to the hub, we have to give him access to the file module. We can do this by perfoming a <strong>PUT</strong> request to the <code>/Room/{RoomId}/Module/All/Access</code> endpoint.\nYou will need to provide three fields in the request body :</p>\n<ul>\n<li><code>identityId</code> will be the user public id (see: <em>Step 1</em>)</li>\n<li><code>access</code> should be set to <code>\"Full\"</code></li>\n<li><code>templateId</code> Identifier of a built-in or custom security template (see <em>Step 3</em>) to apply at the root of the file module and the blog module.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Module","All","Access"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"9682cd20-5d68-4242-aed6-06c23347b206"},{"name":"Room/{RoomId}/Module","event":[{"listen":"prerequest","script":{"id":"69f49de3-4d9d-4034-bd6e-c8e61496817e","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"539b3261-01a2-49d4-8270-46bae1e59c65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Module","description":"<h2 id=\"step-5---retrieve-the-identifier-of-the-file-module\">Step 5 - Retrieve the identifier of the file module</h2>\n<p>After achieving the <em>Step 4</em> our user has access to the hub, and has specific access rights on the blog and file modules of the hub. Now we need to give him specific rights on the root resource of the file module to allow him to see the documents.</p>\n<p>In order to apply custom rights on the file module's root resource, we need to retrieve the file module identifier.\nWe can do this by performing a <em>GET</em> request to the <code>/Room/{RoomId}/Module</code> route.</p>\n<p>This will allow us to retrieve every enabled module in the room with its public identifier.\n </p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Module"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"539b3261-01a2-49d4-8270-46bae1e59c65"},{"name":"/RoomModule/{ModuleId}/Resource","event":[{"listen":"prerequest","script":{"id":"1e49df52-98e8-4be2-80ed-b201e13d4bfc","exec":["pm.variables.set(\"moduleId\", \"01234567-89AB-CDEF-0123-456789ABCDEF.2-0\");"],"type":"text/javascript"}}],"id":"47cf9475-7d5a-4dc9-a884-c79519515447","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/RoomModule/{{moduleId}}/Resource","description":"<h2 id=\"step-6---retrieve-the-identifier-of-the-file-modules-associated-resource\">Step 6 - Retrieve the identifier of the file module's associated resource</h2>\n<p>In this step, we will use the public identifier retrieved in <em>Step 5</em> to perform a <strong>GET</strong> request to the <code>/RoomModule/{ModuleId}/Resource</code> endpoint. </p>\n<p>This will allow us to retrieve the resource associated with the file module. This resource corresponds to the root folder of this file module. This virtual folder contains every resource stored in the Hub's file module.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","RoomModule","{{moduleId}}","Resource"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"47cf9475-7d5a-4dc9-a884-c79519515447"},{"name":"/ResourceSecurity","event":[{"listen":"prerequest","script":{"id":"bf932edb-2eb8-43f6-95ec-f1b9df223dda","exec":[""],"type":"text/javascript"}}],"id":"afdff526-384c-4f8d-a7ed-4ed6cad9dc70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"resourceId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"identityId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"templateId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"inheritance\": \"All\",\r\n    \"resetChildren\": false\r\n}"},"url":"https://localhost:44348/Api/Preview2/ResourceSecurity","description":"<h2 id=\"step-7---applying-custom-rights-on-the-root-folder-of-the-file-module\">Step 7 - Applying custom rights on the root folder of the File module</h2>\n<p>Now that we retrieved the public identifier of the File module's root folder (see <em>Step 6</em>) we can apply specific rights to the user retrieved in <em>Step 1</em> to allow him to see the file. \nIn order to do that, we need to apply a security template that will define the granted operations for the user in the file module. </p>\n<p>To apply the security template, perform a <strong>POST</strong> request to the <code>/ResourceSecurity</code> endpoint.\nYou'll need to provide multiple identifiers in the request body:</p>\n<ul>\n<li><code>resourceId</code> we will provide the identifier to the File module's root folder retrieved in the previous step. <strong>Note</strong> that we could also specify the public identifier of a specific resource to apply rights more precisely.</li>\n<li><code>identityId</code> Should contain the public identifier of the user (<em>Step 1</em>)</li>\n<li><code>templateId</code> is the public identifier of the security template to apply on this resource (see <em>Step 3</em>)</li>\n<li><code>inheritance</code> Indicates how the security template will be inherited by child resources. This field can be set to <code>Current</code> to apply the rights only on the current resource, or <code>All</code> to apply the rights on both the current resource and its descendants. Omitting this field is equivalent to set it to <code>All</code>.</li>\n<li><code>resetChildren</code> This field can be set to <code>true</code> to reset the security of every child resources. Omitting this field is equivalent to set it to <code>false</code>.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","ResourceSecurity"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"afdff526-384c-4f8d-a7ed-4ed6cad9dc70"}],"id":"ad07aeec-c5a0-447f-89f5-f92e75237317","description":"<p>In Hubshare, you can store various documents inside a Hub's File Module. You will also often need to give access to the resources inside your hub's file module to other users. This flow will demonstrate how to give custom access rights to a file or folder in a hub to any user (external or internal) using the user email adress.</p>\n<h2 id=\"step-1---retrieve-the-user-identifier-using-his-email-adress\">Step 1 - Retrieve the User identifier using his email adress</h2>\n<p>The first request to perform will be a <strong>POST</strong> request to the <code>/Email/Search</code> route to retrieve the public identifier (GUID) of the User we want to share the resource with. This API endpoints outputs the user identifier matching with the provided email adress. The user can be either external or internal to the hub's company. </p>\n","event":[{"listen":"prerequest","script":{"id":"abfdf1de-46d1-4be8-a3af-0be31f2a7df3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"220a5fa2-66b2-4508-8ba9-54861ef706b5","type":"text/javascript","exec":[""]}}],"_postman_id":"ad07aeec-c5a0-447f-89f5-f92e75237317","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}}],"id":"c1c1d523-2d30-40fc-9123-7e4402237982","description":"<p>This section describes the common usage of the Hubshare application. Below you can find the request flows of the most frequent use case scenarios in Hubshare.</p>\n","event":[{"listen":"prerequest","script":{"id":"415b8cea-69b9-418d-b202-2c7b2c967b05","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5dea5ab1-6157-48fa-ab4f-f8d68d0c35db","type":"text/javascript","exec":[""]}}],"_postman_id":"c1c1d523-2d30-40fc-9123-7e4402237982","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Account","item":[{"name":"All accounts","id":"518c982f-ffc3-47e4-893b-5436ea3c134d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Account","description":"<p>Retrieves every accounts in current user's main company.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Account"],"host":["https://localhost:44348"],"query":[{"disabled":true,"key":"Type","value":"All"},{"disabled":true,"key":"Type","value":"External"},{"disabled":true,"key":"Type","value":"Internal"},{"disabled":true,"key":"Search","value":"Searched string"},{"disabled":true,"key":"Sort","value":"EmailAsc"},{"disabled":true,"key":"Sort","value":"EmailDesc"},{"disabled":true,"key":"Sort","value":"LastNameAsc"},{"disabled":true,"key":"Sort","value":"LastNameDesc"},{"disabled":true,"key":"Sort","value":"FirstNameAsc"},{"disabled":true,"key":"Sort","value":"FirstNameDesc"}],"variable":[]}},"response":[],"_postman_id":"518c982f-ffc3-47e4-893b-5436ea3c134d"},{"name":"Account","event":[{"listen":"prerequest","script":{"id":"5ee0691b-0ba9-4b45-8806-a6abe53992eb","exec":["pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"9f254f89-3598-459c-89c4-ae8a149b99be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Account/{{userId}}","description":"<p>Retrieves the account for a specified user in current user's main company.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Account","{{userId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f254f89-3598-459c-89c4-ae8a149b99be"},{"name":"Account","event":[{"listen":"prerequest","script":{"id":"ddbfc4fb-14a0-4e00-86d9-70f55d5104ac","exec":["pm.variables.set(\"serverUrl\", \"https://localhost:44348\");\r","pm.variables.set(\"apiAccess\", \"M8Ud4VUa0kKRZWgOitqrIw2\");\r","pm.variables.set(\"userId\", \"ab2a1a91-54a7-4612-bdb6-12c59bf1ee79\");"],"type":"text/javascript"}}],"id":"4c28eb52-589a-4f0b-a4fe-1ed710fef737","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"enabled\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:44348/Api/Preview2/Account/{{userId}}","description":"<p>Updates the company account rights and status of the given user in current's user main company.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Account","{{userId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c28eb52-589a-4f0b-a4fe-1ed710fef737"},{"name":"Account","event":[{"listen":"prerequest","script":{"id":"693cb051-f7ab-4957-bea8-adb64486b704","exec":["pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"410dddfb-7955-4f43-a24f-a6a9b6c0e1ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:44348/Api/Preview2/Account/{{userId}}","description":"<p>Disable the company account of the given user in current user's main company and delete all his resources.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Account","{{userId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"410dddfb-7955-4f43-a24f-a6a9b6c0e1ab"}],"id":"0d46773f-972d-459c-b6cb-0f51c1f5ba75","description":"<p>Manages user accounts.</p>\n","_postman_id":"0d46773f-972d-459c-b6cb-0f51c1f5ba75","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Asynchronous Task","item":[{"name":"Status","event":[{"listen":"prerequest","script":{"id":"cec2c6d8-e05c-482d-9812-198c2bd5df26","exec":["pm.variables.set(\"taskId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"682e0625-02a2-4fc5-83a4-2c2dd71803aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/AsyncTask/{{taskId}}/Status","description":"<p>Retrieves the status of the specified asynchronous task.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","AsyncTask","{{taskId}}","Status"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"682e0625-02a2-4fc5-83a4-2c2dd71803aa"}],"id":"b81ea198-82cb-4059-b699-e0416a515f95","description":"<p>Inspects server-side tasks. Server-side tasks are asynchronous task responsible for processing heavy business logic. \nFor example, when a hub is copied from a template, a server side task is created to process the copy.</p>\n","_postman_id":"b81ea198-82cb-4059-b699-e0416a515f95","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Client","item":[{"name":"Application Icon","event":[{"listen":"prerequest","script":{"id":"932ce7a6-98d1-4162-bee1-d6e5d4d0ab74","exec":["pm.variables.set(\"clientId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\"); // Can be set to \"Current\""],"type":"text/javascript"}}],"id":"a28cbc03-bf2a-45ab-93ed-a52859dc032b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Client/{{clientId}}/Icon/App","description":"<p>Retrieves a client application icon.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Client","{{clientId}}","Icon","App"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"a28cbc03-bf2a-45ab-93ed-a52859dc032b"},{"name":"Folder Icon","event":[{"listen":"prerequest","script":{"id":"961e4e3f-b0f2-41f7-bfb7-68f72dc2c157","exec":["pm.variables.set(\"clientId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\"); // Can be set to \"Current\""],"type":"text/javascript"}}],"id":"877a976f-71fe-41dd-b9e0-9aba60f08fcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Client/{{clientId}}/Icon/Folder","description":"<p>Retrieves a client application storage folder icon.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Client","{{clientId}}","Icon","Folder"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"877a976f-71fe-41dd-b9e0-9aba60f08fcd"},{"name":"User Configuration","event":[{"listen":"prerequest","script":{"id":"b319b5f4-e0dc-47c9-84f6-784b2fb19344","exec":["pm.variables.set(\"clientId\", \"Legacy\"); // Can be set to \"Current\" or \"Legacy\".","","pm.variables.set(\"userId\", \"Me\");"],"type":"text/javascript"}}],"id":"95a88e27-7496-4e49-bb22-216fd4332eab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Client/{{clientId}}/Configuration/User/{{userId}}","description":"<p>Retrieves the client configuration for the specified user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Client","{{clientId}}","Configuration","User","{{userId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"95a88e27-7496-4e49-bb22-216fd4332eab"},{"name":"Company Configuration","event":[{"listen":"prerequest","script":{"id":"0e66d0d7-853d-447c-a1d5-fc395520983b","exec":["pm.variables.set(\"clientId\", \"Legacy\"); // Can be set to \"Current\" or \"Legacy\".","","pm.variables.set(\"companyId\", \"Main\");"],"type":"text/javascript"}}],"id":"a7050234-9b1b-4636-bfa5-cb76a73a9bfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Client/{{clientId}}/Configuration/Company/{{companyId}}","description":"<p>Retrieves the client configuration for the specified company.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Client","{{clientId}}","Configuration","Company","{{companyId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7050234-9b1b-4636-bfa5-cb76a73a9bfc"},{"name":"User Storage","event":[{"listen":"prerequest","script":{"id":"8193e932-0b47-46ed-8f52-0c55c8970d36","exec":["pm.variables.set(\"clientId\", \"Legacy\"); // Can be set to \"Current\" or \"Legacy\".","","pm.variables.set(\"userId\", \"Me\");"],"type":"text/javascript"}}],"id":"d29ed9db-8c77-49d6-9269-96f920de1773","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Client/{{clientId}}/Storage/User/{{userId}}","description":"<p>Retrieves the identifier of the client storage resource for the specified user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Client","{{clientId}}","Storage","User","{{userId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"d29ed9db-8c77-49d6-9269-96f920de1773"}],"id":"0585c384-77f6-4a96-8139-9fa33fa5c044","description":"<p>Manages client application information.</p>\n","_postman_id":"0585c384-77f6-4a96-8139-9fa33fa5c044","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Company","item":[{"name":"Rooms","event":[{"listen":"prerequest","script":{"id":"892211bb-5c8d-43f7-aff8-6530b885c016","exec":["pm.variables.set(\"companyId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"80015cfd-8753-45dc-b5dc-26bfcc243598","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Company/{{companyId}}/Rooms","description":"<p>Retrieves all rooms of a company.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Company","{{companyId}}","Rooms"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"80015cfd-8753-45dc-b5dc-26bfcc243598"}],"id":"45129fb3-1f03-415c-81ae-15b1ade446cf","description":"<p>Manages companies.</p>\n","_postman_id":"45129fb3-1f03-415c-81ae-15b1ade446cf","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Email","item":[{"name":"Search User","id":"5b4e3ec5-1267-4f20-b30f-218e990cfa5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"emailAddress\": \"test@email.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:44348/Api/Preview2/Email/Search","description":"<p>Seach an existing user from an email address.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Email","Search"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b4e3ec5-1267-4f20-b30f-218e990cfa5e"}],"id":"0a3eafc3-453c-42a9-9956-3dc08cda368d","_postman_id":"0a3eafc3-453c-42a9-9956-3dc08cda368d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Field","item":[{"name":"Description","event":[{"listen":"prerequest","script":{"id":"3c2eb9a3-7579-431a-9006-93b41ed44176","exec":["pm.variables.set(\"fieldId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"1b78d304-ec8c-4561-92d5-a9df4aefe75d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"localizedDescriptions\":\r\n    [\r\n        {\r\n            \"locale\": \"en-GB\",\r\n            \"name\": \"Cost\",\r\n            \"unit\": \"£\"\r\n        }\r\n    ]\r\n}"},"url":"https://localhost:44348/Api/Preview2/Field/{{fieldId}}/Description","description":"<p>Updates the name and unit attributes of the specified custom field.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Field","{{fieldId}}","Description"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b78d304-ec8c-4561-92d5-a9df4aefe75d"},{"name":"Field","event":[{"listen":"prerequest","script":{"id":"3c2eb9a3-7579-431a-9006-93b41ed44176","exec":["pm.variables.set(\"fieldName\", \"gg\");\r","pm.variables.set(\"serverUrl\", \"https://localhost:44348\");\r","pm.variables.set(\"apiAccess\", \"M8Ud4VUa0kKRZWgOitqrIw2\");"],"type":"text/javascript"}}],"id":"41a40591-f947-40db-b7d3-2fc8311a3fe0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fields\":\r\n    [\r\n        {\r\n            \"id\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n            \"containerId\": \"Cos01234567-89AB-CDEF-0123-456789ABCDEFt\",\r\n            \"name\": \"bill\",\r\n            \"containerKind\": \"Room\",\r\n            \"kind\": \"String\"\r\n        }\r\n    ]\r\n}"},"url":"https://localhost:44348/Api/Preview2/Field/{{fieldName}}","description":"<p>Retrieves all custom fields in my company by its name.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Field","{{fieldName}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"41a40591-f947-40db-b7d3-2fc8311a3fe0"},{"name":"Value","event":[{"listen":"prerequest","script":{"id":"5b5c62d9-05f6-4c49-bbc9-0e194a23a594","exec":["pm.variables.set(\"fieldId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"f36d6a5b-c94f-4cf4-b428-4c00bb19e8b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"companyId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"roomId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"localizedValues\": [\r\n        {\r\n            \"locale\": \"en-GB\",\r\n            \"dataSet\": [\r\n                \"140\",\r\n                217,\r\n                \"\"\r\n            ]\r\n        }\r\n    ]\r\n}"},"url":"https://localhost:44348/Api/Preview2/Field/{{fieldId}}/Value","description":"<p>Updates the value attribute of the specified custom field.</p>\n<p>Please note that either <code>companyId</code> OR <code>roomId</code> should be present in the body of the request but not both.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Field","{{fieldId}}","Value"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"f36d6a5b-c94f-4cf4-b428-4c00bb19e8b9"},{"name":"Create","event":[{"listen":"prerequest","script":{"id":"4773d0cc-5f66-4866-b693-d149a994c134","exec":["pm.variables.set(\"serverUrl\", \"https://localhost:44348\");\r","pm.variables.set(\"apiAccess\", \"M8Ud4VUa0kKRZWgOitqrIw2\");"],"type":"text/javascript"}}],"id":"652cef4f-5ac6-43f9-ad66-abe8e5f18f7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"shortName\": \"Customname19\",\r\n    \"type\": \"Decimal\",\r\n    \"isShared\": true,\r\n    \"isSharedValue\": false,\r\n    \"hubId\":\"d88c6e19-f242-4107-8cb1-6778451f249d\",\r\n    \"localizedDescriptions\": [\r\n        {\r\n            \"locale\": \"en-GB\",\r\n            \"values\": [\r\n                140,\r\n                2.17\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:44348/Api/Preview2/Field","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Field"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"652cef4f-5ac6-43f9-ad66-abe8e5f18f7b"},{"name":"Delete","event":[{"listen":"prerequest","script":{"id":"4773d0cc-5f66-4866-b693-d149a994c134","exec":["pm.variables.set(\"serverUrl\", \"https://localhost:44348\");\r","pm.variables.set(\"apiAccess\", \"M8Ud4VUa0kKRZWgOitqrIw2\");\r","pm.variables.set(\"fieldId\", \"50307679-9682-4298-b558-874ab2a4ec7c\");"],"type":"text/javascript"}}],"id":"c8dd26eb-2f3b-476b-8cff-57e35b3b2059","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:44348/Api/Preview2/Field/{{fieldId}}","description":"<p>Delete Custom Field</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Field","{{fieldId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8dd26eb-2f3b-476b-8cff-57e35b3b2059"}],"id":"56599cec-e39e-4b13-824b-8521ca55b870","description":"<p>Manages custom fields.</p>\n","_postman_id":"56599cec-e39e-4b13-824b-8521ca55b870","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Group","item":[{"name":"All","id":"a2cdd283-0e07-43a7-85af-00416cc57c57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Group?Membership=User","description":"<p>Retrieves every group from the main company of the current user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Group"],"host":["https://localhost:44348"],"query":[{"disabled":true,"key":"Membership","value":"None"},{"key":"Membership","value":"User"}],"variable":[]}},"response":[],"_postman_id":"a2cdd283-0e07-43a7-85af-00416cc57c57"},{"name":"Item","event":[{"listen":"prerequest","script":{"id":"7c144732-504a-48a8-995c-45c679791849","exec":["pm.variables.set(\"groupId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"04121359-f313-4b2f-a23a-7dccdbc1541c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Group/{{groupId}}","description":"<p>Retrieves the description of the specified group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Group","{{groupId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"04121359-f313-4b2f-a23a-7dccdbc1541c"},{"name":"Item","event":[{"listen":"prerequest","script":{"id":"8fdd429d-b93c-4af6-8a02-865b9df19b7a","exec":[""],"type":"text/javascript"}}],"id":"3582c331-d523-430d-bae2-75749530aa31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\" : \"ApiGroup\",\n\t\"description\" : null\n}"},"url":"https://localhost:44348/Api/Preview2/Group","description":"<p>Creates a new group in the main company of the current user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Group"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"3582c331-d523-430d-bae2-75749530aa31"},{"name":"Member","event":[{"listen":"prerequest","script":{"id":"a7894e72-c40d-4780-aa4b-372d7fa6f3d4","exec":["pm.variables.set(\"groupId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\"); // User to add to the group"],"type":"text/javascript"}}],"id":"5e8bd19a-c672-495b-9cd5-0f0f2b2e34d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"identityId\" : \"{{userId}}\"\n}"},"url":"https://localhost:44348/Api/Preview2/Group/{{groupId}}/Member","description":"<p>Adds a member to the specified group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Group","{{groupId}}","Member"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e8bd19a-c672-495b-9cd5-0f0f2b2e34d3"},{"name":"Item","event":[{"listen":"prerequest","script":{"id":"103f265d-a2fe-4ed1-8343-3efcb7dd7128","exec":["pm.variables.set(\"groupId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"fca030c2-da20-4948-bb3c-56d76c49ada0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"https://localhost:44348/Api/Preview2/Group/{{groupId}}","description":"<p>Deletes the specified group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Group","{{groupId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"fca030c2-da20-4948-bb3c-56d76c49ada0"},{"name":"Member","event":[{"listen":"prerequest","script":{"id":"6d56985d-b3f6-42fd-80b4-3a3898d0aecd","exec":["pm.variables.set(\"groupId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\"); // User to remove from the group"],"type":"text/javascript"}}],"id":"b27be363-e221-4f1c-9ae7-8c89105b8da5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"identityId\" : \"{{userId}}\"\n}"},"url":"https://localhost:44348/Api/Preview2/Group/{{groupId}}/Member","description":"<p>Removes a member from the specified group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Group","{{groupId}}","Member"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"b27be363-e221-4f1c-9ae7-8c89105b8da5"}],"id":"489a5783-314f-4e53-a8ca-0007281484bb","description":"<p>Manages security groups.</p>\n","_postman_id":"489a5783-314f-4e53-a8ca-0007281484bb","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"HealthCheck","item":[{"name":"HealthCheck","id":"4472387f-31a0-451e-8e76-a7336fa6c08f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/HealthCheck","description":"<p>Retrieves Hubshare components states.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","HealthCheck"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"4472387f-31a0-451e-8e76-a7336fa6c08f"}],"id":"93fd8c80-23fc-49e2-b6f7-01eaba6cfccb","description":"<p>Manages Hubshare components states.</p>\n","_postman_id":"93fd8c80-23fc-49e2-b6f7-01eaba6cfccb","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Identity","item":[{"name":"! Item","event":[{"listen":"prerequest","script":{"id":"4dfa71dc-588d-4a7f-88b3-1189f87190ef","exec":["pm.variables.set(\"identityId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"7efc9396-7ccf-4364-a9b3-6b325b3a028f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Identity/{{identityId}}","description":"<p>Retrieves the description of the specified security identity.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Identity","{{identityId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"7efc9396-7ccf-4364-a9b3-6b325b3a028f"}],"id":"3d025ad1-f21b-4e8d-8680-c6754a3139e9","description":"<p>Retrieves information about security identifiers.</p>\n","event":[{"listen":"prerequest","script":{"id":"c7e3e5d0-6453-40af-9f18-bde6765da3db","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"82c19c98-2f8a-436c-98c8-c8ad99692201","type":"text/javascript","exec":[""]}}],"_postman_id":"3d025ad1-f21b-4e8d-8680-c6754a3139e9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"OAuth 2.0","item":[{"name":"Authorize - Code","id":"c1a5ce7f-3b29-4032-b9e9-688b2e80c847","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/OAuth/Authorize?response_type=code&client_id={{apiClientId}}&redirect_uri={{apiRedirect}}&scope={{apiScope}}&state=123","description":"<p>The OAuth 2.0 Authorization Code Grant flow.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","OAuth","Authorize"],"host":["https://localhost:44348"],"query":[{"key":"response_type","value":"code"},{"key":"client_id","value":"{{apiClientId}}"},{"key":"redirect_uri","value":"{{apiRedirect}}"},{"key":"scope","value":"{{apiScope}}"},{"key":"state","value":"123"},{"disabled":true,"key":"nk_auto_login","value":"my.email@email.email"}],"variable":[]}},"response":[],"_postman_id":"c1a5ce7f-3b29-4032-b9e9-688b2e80c847"},{"name":"Authorize - Token","id":"c557e61c-74e2-4ed5-b95a-45d58c502c83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/OAuth/Authorize?response_type=token&client_id={{apiClientId}}&redirect_uri={{apiRedirect}}&scope={{apiScope}}&state=123","description":"<p>The OAuth 2.0 Implicit Grant flow.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","OAuth","Authorize"],"host":["https://localhost:44348"],"query":[{"key":"response_type","value":"token"},{"key":"client_id","value":"{{apiClientId}}"},{"key":"redirect_uri","value":"{{apiRedirect}}"},{"key":"scope","value":"{{apiScope}}"},{"key":"state","value":"123"}],"variable":[]}},"response":[],"_postman_id":"c557e61c-74e2-4ed5-b95a-45d58c502c83"},{"name":"Token - Code","event":[{"listen":"prerequest","script":{"id":"6abc056e-f7c3-4f03-a58e-30431c3cf2a9","exec":["pm.variables.set(\"authCode\", \"abc\");"],"type":"text/javascript"}}],"id":"e8192e6b-ef49-4806-80d7-9a3a6c91cd90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[{"key":"grant_type","value":"authorization_code","type":"text"},{"key":"code","value":"{{authCode}}","type":"text"},{"key":"redirect_uri","value":"{{apiRedirect}}","type":"text"},{"key":"client_id","value":"{{apiClientId}}","type":"text"},{"key":"client_secret","value":"{{apiClientPwd}}","type":"text","disabled":true}]},"url":"https://localhost:44348/Api/Preview2/OAuth/Token","description":"<p>The OAuth 2.0 Authorization Code Grant flow.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","OAuth","Token"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8192e6b-ef49-4806-80d7-9a3a6c91cd90"},{"name":"Token - Password","id":"b9a46985-8464-41bd-9ad0-18527b217d0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[{"key":"grant_type","value":"password","type":"text"},{"key":"username","value":"{{apiUserId}}","type":"text"},{"key":"password","value":"{{apiUserPwd}}","type":"text"},{"key":"client_id","value":"{{apiClientId}}","type":"text"}]},"url":"https://localhost:44348/Api/Preview2/OAuth/Token","description":"<p>The OAuth 2.0 Resource Owner Password Credentials Grant flow.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","OAuth","Token"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"b9a46985-8464-41bd-9ad0-18527b217d0b"},{"name":"Token - Refresh","id":"62243fb7-0094-4fa6-8312-a2cbc631c0c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[{"key":"grant_type","value":"refresh_token","type":"text"},{"key":"refresh_token","value":"{{apiRefresh}}","type":"text"},{"key":"client_id","value":"{{apiClientId}}","type":"text"}]},"url":"https://localhost:44348/Api/Preview2/OAuth/Token","description":"<p>Refreshes an access token.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","OAuth","Token"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"62243fb7-0094-4fa6-8312-a2cbc631c0c7"},{"name":"Revoke","id":"fd62b132-c83b-427e-96cb-c9086b1e089a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[{"key":"token","value":"","type":"text"},{"key":"token_type_hint","value":"access_token","type":"text"},{"key":"client_id","value":"{{apiClientId}}","type":"text"},{"key":"client_secret","value":"{{apiClientPwd}}","type":"text","disabled":true}]},"url":"https://localhost:44348/Api/Preview2/OAuth/Revoke","description":"<p>Invalidates OAuth 2.0 tokens.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","OAuth","Revoke"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd62b132-c83b-427e-96cb-c9086b1e089a"}],"id":"fab2668b-e4c2-4b5a-982d-85d14ad71f8e","description":"<p>Issues access tokens which can be used to authenticate API requests.</p>\n","_postman_id":"fab2668b-e4c2-4b5a-982d-85d14ad71f8e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Resource","item":[{"name":"Item","event":[{"listen":"prerequest","script":{"id":"88b48927-2ef6-422f-812b-0406443333a8","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\"); // Can be set to \"Home\"."],"type":"text/javascript"}}],"id":"9e7efdb2-103b-4065-a8d8-c36da7d93547","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Resource/{{resourceId}}","description":"<p>Retrieves a resource description.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Resource","{{resourceId}}"],"host":["https://localhost:44348"],"query":[{"disabled":true,"key":"Flags","value":"Room"},{"disabled":true,"key":"Flags","value":"RoomTemplate"}],"variable":[]}},"response":[],"_postman_id":"9e7efdb2-103b-4065-a8d8-c36da7d93547"},{"name":"Children","event":[{"listen":"prerequest","script":{"id":"fdd58903-cadf-46ae-b289-cfb9af1e830d","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\"); // Can be set to \"Home\", \"SharedByMe\", \"SharedToMe\"."],"type":"text/javascript"}}],"id":"3d5a7910-e3b5-4978-a036-3ed8811d31c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Resource/{{resourceId}}/Children","description":"<p>Retrieves a folder content.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Resource","{{resourceId}}","Children"],"host":["https://localhost:44348"],"query":[{"disabled":true,"key":"Flags","value":"Dms"},{"disabled":true,"key":"Flags","value":"Room"},{"disabled":true,"key":"Flags","value":"RoomTemplate"},{"disabled":true,"description":{"content":"<p>A string to filter results if the child name contains it.</p>\n","type":"text/plain"},"key":"Search","value":"SearchString"}],"variable":[]}},"response":[],"_postman_id":"3d5a7910-e3b5-4978-a036-3ed8811d31c1"},{"name":"Content","event":[{"listen":"prerequest","script":{"id":"12a5c92f-e3f0-4fd4-a38c-f041299438dc","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"b04879b6-6a2b-4f74-a62f-1a7787495005","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Resource/{{resourceId}}/Content","description":"<p>Downloads the content of a file.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Resource","{{resourceId}}","Content"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"b04879b6-6a2b-4f74-a62f-1a7787495005"},{"name":"Lock","event":[{"listen":"prerequest","script":{"id":"eb8488b5-c369-42b9-b0e3-210e19027bd4","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"3de9cb3b-2210-4f04-8b35-ba05c9962679","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Resource/{{resourceId}}/Lock","description":"<p>Retrieves the write lock status of a file.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Resource","{{resourceId}}","Lock"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"3de9cb3b-2210-4f04-8b35-ba05c9962679"},{"name":"Security","event":[{"listen":"prerequest","script":{"id":"0616516c-c553-4fe7-93cc-4f3c4f4f7ff3","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"9c3451ae-aeb9-4ce3-abc9-fcb19fd77bed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Resource/43D438C0-5DF2-4727-A5AE-7582997EF37D/Security","description":"<p>Retrieves the list of security contexts defined on the specified resource.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Resource","43D438C0-5DF2-4727-A5AE-7582997EF37D","Security"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c3451ae-aeb9-4ce3-abc9-fcb19fd77bed"},{"name":"Folder","event":[{"listen":"prerequest","script":{"id":"3103c046-55cf-46f1-9466-a8d9b6250aa8","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"name\", \"New folder\");"],"type":"text/javascript"}}],"id":"2598d67d-2771-42db-bf4a-65652888c0a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Resource/{{resourceId}}/Folder","description":"<p>Creates a new folder into an existing one.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Resource","{{resourceId}}","Folder"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"2598d67d-2771-42db-bf4a-65652888c0a7"},{"name":"Lock","event":[{"listen":"prerequest","script":{"id":"0a30cc40-ca0e-4199-b863-c45e368ba43f","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"8e695fd4-9e74-418e-9bf5-06c8b9de5e5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://localhost:44348/Api/Preview2/Resource/{{resourceId}}/Lock","description":"<p>Acquires a write lock on a file.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Resource","{{resourceId}}","Lock"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e695fd4-9e74-418e-9bf5-06c8b9de5e5c"},{"name":"Name","event":[{"listen":"prerequest","script":{"id":"ef94f6fb-b2fb-4efb-9578-9140524dc44a","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"name\", \"file2.txt\");"],"type":"text/javascript"}}],"id":"c6005c45-6e64-4181-ad90-9c115be627dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Resource/{{resourceId}}/Name","description":"<p>Renames a file or a folder.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Resource","{{resourceId}}","Name"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6005c45-6e64-4181-ad90-9c115be627dd"},{"name":"Parent","event":[{"listen":"prerequest","script":{"id":"f98dbda3-ffcf-4c51-afd3-39d26807e4ba","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"destination\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","pm.variables.set(\"name\", \"file2.txt\");"],"type":"text/javascript"}}],"id":"fac59342-67ec-4996-91a7-8c267e941c6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"destinationId\": \"{{destination}}\",\r\n    \"name\": \"{{name}}\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Resource/{{resourceId}}/Parent","description":"<p>Moves a file or a folder to another location.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Resource","{{resourceId}}","Parent"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"fac59342-67ec-4996-91a7-8c267e941c6d"},{"name":"Item","event":[{"listen":"prerequest","script":{"id":"61eaca7d-1fff-4915-9e43-e83b210b6f1e","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"1ac59796-e1b0-4d1b-beb5-ac5eb3413713","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:44348/Api/Preview2/Resource/{{resourceId}}","description":"<p>Deletes a file or a folder.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Resource","{{resourceId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ac59796-e1b0-4d1b-beb5-ac5eb3413713"},{"name":"Lock","event":[{"listen":"prerequest","script":{"id":"7c0466b9-410b-4a27-97be-048b71b53ee1","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"a3e5c432-6dde-45ab-b9e2-f1ee20148968","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:44348/Api/Preview2/Resource/{{resourceId}}/Lock","description":"<p>Releases a write lock on a file.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Resource","{{resourceId}}","Lock"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"a3e5c432-6dde-45ab-b9e2-f1ee20148968"}],"id":"ab047848-21a9-471f-85a7-801160861795","description":"<p>Manages files and folders.</p>\n","_postman_id":"ab047848-21a9-471f-85a7-801160861795","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Resource Security","item":[{"name":"Item","event":[{"listen":"prerequest","script":{"id":"23dca152-7c72-442a-979a-7995c213e2a2","exec":["pm.variables.set(\"resourceSecurityId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"ed1a1a1a-5608-4c5c-8891-61a77c5d33de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/ResourceSecurity/{{resourceSecurityId}}","description":"<p>Reads the description of the specified security context.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","ResourceSecurity","{{resourceSecurityId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed1a1a1a-5608-4c5c-8891-61a77c5d33de"},{"name":"Item","event":[{"listen":"prerequest","script":{"id":"cee8816c-ad7e-4013-8aae-f70b321d0f02","exec":[""],"type":"text/javascript"}}],"id":"d7a464de-09c7-45ce-8003-a9aee301e05b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"resourceId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"identityId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"templateId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"inheritance\": \"All\",\r\n    \"resetChildren\": false\r\n}"},"url":"https://localhost:44348/Api/Preview2/ResourceSecurity","description":"<p>Creates a new security context for a user or a group on the specified resource.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","ResourceSecurity"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7a464de-09c7-45ce-8003-a9aee301e05b"},{"name":"Item","event":[{"listen":"prerequest","script":{"id":"f10e7812-735f-4150-997f-4a142d778fe7","exec":["pm.variables.set(\"resourceSecurityId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"templateId\", \"None\");","pm.variables.set(\"inheritance\", \"All\");","pm.variables.set(\"resetChildren\", \"true\");"],"type":"text/javascript"}}],"id":"101876c1-56e0-4d22-9c38-ecb8a4d789b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"templateId\": \"{{templateId}}\",\r\n    \"inheritance\": \"{{inheritance}}\",\r\n    \"resetChildren\": {{resetChildren}}\r\n}"},"url":"https://localhost:44348/Api/Preview2/ResourceSecurity/{{resourceSecurityId}}","description":"<p>Updates an existing security context.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","ResourceSecurity","{{resourceSecurityId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"101876c1-56e0-4d22-9c38-ecb8a4d789b6"},{"name":"Item","event":[{"listen":"prerequest","script":{"id":"7df3de45-e708-4c5c-8e66-88615fa58d6f","exec":["pm.variables.set(\"resourceSecurityId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"03b44b32-d5a1-4649-b4ee-963453ebe6d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"https://localhost:44348/Api/Preview2/ResourceSecurity/{{resourceSecurityId}}","description":"<p>Deletes an existing security context.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","ResourceSecurity","{{resourceSecurityId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"03b44b32-d5a1-4649-b4ee-963453ebe6d0"}],"id":"3a020571-c4e0-4b15-a5a6-bf45efc1cb3d","description":"<p>Manages access control on files and folders.</p>\n","event":[{"listen":"prerequest","script":{"id":"44786cb1-a264-49e6-9eb4-94d4ba352120","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3badfd2b-65c9-493a-91de-1199dd104c64","type":"text/javascript","exec":[""]}}],"_postman_id":"3a020571-c4e0-4b15-a5a6-bf45efc1cb3d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Room","item":[{"name":"Item - Short Name","event":[{"listen":"prerequest","script":{"id":"a2581586-1b8b-4a46-aec6-8b2ca54cf429","exec":["pm.variables.set(\"roomShortName\", \"demo\");"],"type":"text/javascript"}}],"id":"a2d53a85-cbea-4176-a464-44501c754ecf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Room/{{roomShortName}}","description":"<p>Retrieves the identifier of a hub from its short name.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomShortName}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2d53a85-cbea-4176-a464-44501c754ecf"},{"name":"Administrator","event":[{"listen":"prerequest","script":{"id":"51c79d7b-d8b4-48dd-86c8-b9b17a66ce92","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"173f86c1-572b-4e1b-8dc0-7f0918a6d3b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Administrator","description":"<p>Retrieves the list of administrators for the specified Hub.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Administrator"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"173f86c1-572b-4e1b-8dc0-7f0918a6d3b4"},{"name":"Field","event":[{"listen":"prerequest","script":{"id":"7ae48403-5f66-4a40-a6cb-3afdde4b103b","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","pm.variables.set(\"fieldName\", \"bill\");"],"type":"text/javascript"}}],"id":"93ecf3b1-d53a-4dac-8afd-ffdeaf678d32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Field/{{fieldName}}","description":"<p>Retrieves the identifier of a custom field containted in a hub from its name.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Field","{{fieldName}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"93ecf3b1-d53a-4dac-8afd-ffdeaf678d32"},{"name":"Identitites","event":[{"listen":"prerequest","script":{"id":"2f69a8e4-9351-4d89-b7ce-e41bd2f5da7d","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"591a6b0b-dc1b-4729-8a35-55c3001c7517","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Identities","description":"<p>Retrieves every identities for the given hub.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Identities"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"591a6b0b-dc1b-4729-8a35-55c3001c7517"},{"name":"Logo","event":[{"listen":"prerequest","script":{"id":"10cb013f-7035-42e2-81c0-8be3f53d7b80","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"7ca711de-3139-49ab-8677-02d78322ce60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Logo","description":"<p>Retrieves the logo of the specified hub.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Logo"],"host":["https://localhost:44348"],"query":[{"disabled":true,"description":{"content":"<p>If no room logo is found, the default room logo will be returned.</p>\n","type":"text/plain"},"key":"Default","value":"true"},{"disabled":true,"description":{"content":"<p>If no room logo is found, a 404 error will be returned.</p>\n","type":"text/plain"},"key":"Default","value":"false"}],"variable":[]}},"response":[],"_postman_id":"7ca711de-3139-49ab-8677-02d78322ce60"},{"name":"Module","event":[{"listen":"prerequest","script":{"id":"6e8cfbd9-f6f6-476f-b534-62e517ee2e7e","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"135e2f93-3296-48c1-99e7-3c34d5d96fe8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Module","description":"<p>Retrieves every available hub module for the current user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Module"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"135e2f93-3296-48c1-99e7-3c34d5d96fe8"},{"name":"Status","event":[{"listen":"prerequest","script":{"id":"415a4959-5731-4ce8-afec-41cfcb8e5a43","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"40d52f8b-4081-4621-b32d-88c59a5e05a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Room/CAEA43F5-304C-4F47-90D5-DEB04458106C/Status","description":"<p>Retrieves the status of an existing hub.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","CAEA43F5-304C-4F47-90D5-DEB04458106C","Status"],"host":["https://localhost:44348"],"query":[{"disabled":true,"key":"roomId","value":"Room"}],"variable":[]}},"response":[],"_postman_id":"40d52f8b-4081-4621-b32d-88c59a5e05a8"},{"name":"Activities","id":"226bc2e9-ab9e-4243-a275-9d8c6c36cada","protocolProfileBehavior":{"disableBodyPruning":true,"strictSSL":false,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[{"key":"X-HubshareAuthType","value":"Client","type":"text"},{"key":"X-HubshareCompany","value":"0863f38d-2709-40c3-8e0d-180a05ad3d22","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"roomIds\": [\"284b8cae-6f21-4953-a29a-a76e88f089d4\"],\r\n    \"widgetIds\": [\"0984de31-cf09-49ab-b201-6718bd17f99c\", \"d08d8703-c09f-4dfd-999e-8937c14f5688\"],\r\n    \"eventKinds\": [\"ObjectCheckOut\"],\r\n    \"userIds\": [\"001ad85d-e966-4e43-86a9-e1ee3a1cc980\", \"001ad82d-e966-4e43-86a9-e1ee3a1cc980\"],\r\n    \"dateFrom\": \"06/22/2024 15:24:16 +00:00\",\r\n    \"dateTo\": \"06/28/2024 12:24:16 +00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.hubshare.com/Api/Preview2/Account?Search=testing","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"protocol":"https","path":["Api","Preview2","Account"],"host":["staging","hubshare","com"],"query":[{"key":"Search","value":"testing"}],"variable":[]}},"response":[],"_postman_id":"226bc2e9-ab9e-4243-a275-9d8c6c36cada"},{"name":"Item","event":[{"listen":"prerequest","script":{"id":"96cbd6cd-4481-48b3-bd16-6b8aa6a131cc","exec":[""],"type":"text/javascript"}}],"id":"4af51f01-fc39-40e6-a59a-7fb56fda7ab7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Test Baptiste 1\",\r\n    \"templateId\": \"932e6b36-d2c5-4bc4-b7d2-daab485b4a39\",\r\n    \"modules\": \"All\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Room","description":"<p>Creates a new hub.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"4af51f01-fc39-40e6-a59a-7fb56fda7ab7"},{"name":"Administrator","event":[{"listen":"prerequest","script":{"id":"9176dc81-5dc3-43a8-95cf-e189c8290846","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"7b55cfa5-ef08-44cf-b0ac-202f81cb1095","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"identityId\": \"{{userId}}\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Administrator","description":"<p>Adds a new administrator in the specified hub.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Administrator"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b55cfa5-ef08-44cf-b0ac-202f81cb1095"},{"name":"Logo","event":[{"listen":"prerequest","script":{"id":"05409a17-9692-4bad-8895-5ec56980d859","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"f8ddc55b-9987-43bc-a206-0eda22270c8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"file","file":{}},"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Logo","description":"<p>Updates the logo of the specified hub.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Logo"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8ddc55b-9987-43bc-a206-0eda22270c8d"},{"name":"Module Full Access","event":[{"listen":"prerequest","script":{"id":"baee6563-b4e3-4978-a838-a41ff3afd4a8","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","pm.variables.set(\"securityTemplateId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\"); // Can be set to \"Public\", \"Viewer\", \"Editor\", \"None\"."],"type":"text/javascript"}}],"id":"04d97442-fc91-4f00-abde-404312688752","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"identityId\": \"{{userId}}\",\r\n    \"access\": \"Full\",\r\n    \"templateId\": \"{{securityTemplateId}}\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Module/All/Access","description":"<p>Grants full access to every hub modules for a user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Module","All","Access"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"04d97442-fc91-4f00-abde-404312688752"},{"name":"Status","event":[{"listen":"prerequest","script":{"id":"7bb5fc33-536a-47d9-810a-7e0350cc2ad6","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"status\", \"Active\"); // Can be set to \"Active\", \"Design\" or \"Inactive\"."],"type":"text/javascript"}}],"id":"c3b37096-fff6-4494-a87c-3385242b3341","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": \"{{status}}\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Status","description":"<p>Updates the status of the specified hub.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Status"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3b37096-fff6-4494-a87c-3385242b3341"},{"name":"Item","event":[{"listen":"prerequest","script":{"id":"60c7dad3-806b-4d95-be3a-ce3fb0cd785b","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"4fd6b528-73ca-4db5-bd10-8f37fb3d83b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}","description":"<p>Deletes a hub and its content.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"4fd6b528-73ca-4db5-bd10-8f37fb3d83b8"},{"name":"Administrator","event":[{"listen":"prerequest","script":{"id":"0982bfe9-7cfd-408b-86a0-8c14a9b66fa2","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");\r","\r","pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"24b7132c-9058-465f-abe8-455ed6edb2e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"identityId\": \"{{userId}}\"\r\n}"},"description":"<p>Removes an administrator in the specified hub.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"24b7132c-9058-465f-abe8-455ed6edb2e8"},{"name":"Logo","event":[{"listen":"prerequest","script":{"id":"0f1b30b1-a198-4de3-abd5-96d09e9a0d72","exec":["pm.variables.set(\"roomId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"b83e40d0-1ffc-48d8-b7fe-497144fe3814","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Logo","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Logo"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"b83e40d0-1ffc-48d8-b7fe-497144fe3814"},{"name":"Transfert Hub","id":"0a806043-550b-4aa3-9e98-3e1aac5d13c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://localhost:44348/Api/Preview2/Room/{{roomId}}/Transfert/{{userId}}","description":"<p>Transfert a hub to another user.<br />Product version implementation: 4.0</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Room","{{roomId}}","Transfert","{{userId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a806043-550b-4aa3-9e98-3e1aac5d13c7"}],"id":"9017690b-f57a-449c-96bd-cb8939830637","description":"<p>Manages hubs.</p>\n","_postman_id":"9017690b-f57a-449c-96bd-cb8939830637","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Room Module","item":[{"name":"Resource","event":[{"listen":"prerequest","script":{"id":"287493a9-4f7b-47ea-b2d2-963a0d5a418e","exec":["pm.variables.set(\"moduleId\", \"01234567-89AB-CDEF-0123-456789ABCDEF.2-0\");"],"type":"text/javascript"}}],"id":"22864e8a-9cf4-4533-9361-6631b33ae28c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/RoomModule/{{moduleId}}/Resource","description":"<p>Retrieves the identifier of the resource associated with a hub module.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","RoomModule","{{moduleId}}","Resource"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"22864e8a-9cf4-4533-9361-6631b33ae28c"},{"name":"Widget","event":[{"listen":"prerequest","script":{"id":"a1f7231f-4d02-4914-b45e-c6157eafaa96","exec":["pm.variables.set(\"moduleId\", \"01234567-89AB-CDEF-0123-456789ABCDEF.1-0\");"],"type":"text/javascript"}}],"id":"a402a094-76cd-4c70-a040-e5f8eb7d13fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/RoomModule/{{moduleId}}/Widget","description":"<p>Retrieves every available widget from a dashboard module.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","RoomModule","{{moduleId}}","Widget"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"a402a094-76cd-4c70-a040-e5f8eb7d13fb"}],"id":"8ad65212-2e2d-418a-84bc-ad9d7e651984","description":"<p>Manages hub modules.</p>\n","_postman_id":"8ad65212-2e2d-418a-84bc-ad9d7e651984","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Search","item":[{"name":"Room","event":[{"listen":"prerequest","script":{"id":"0fbbbd5e-99f1-4b39-ab2b-0ea0cc1d70af","exec":["pm.variables.set(\"name\", \"new hub\");"],"type":"text/javascript"}}],"id":"c1143adf-c74f-4d75-a953-de9428298cf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Search/Room","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Search","Room"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[{"id":"39499691-79dd-4c4d-9cab-0f710a8725a1","name":"Room","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{name}}\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Search/Room"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Server","value":"","enabled":true},{"key":"X-Docstore-RequestId","value":"a91906fe-d3e4-49a9-b82d-1c6afe54449b","enabled":true},{"key":"X-SourceFiles","value":"=?UTF-8?B?RDpcTmlrZWNcR2l0XGh1YnNoYXJlLXRlbXBcSHVic2hhcmUuV2ViQXBwXEFwaVxQcmV2aWV3MlxTZWFyY2hcUm9vbQ==?=","enabled":true},{"key":"Date","value":"Mon, 01 Mar 2021 09:42:25 GMT","enabled":true},{"key":"Content-Length","value":"1057","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"entries\": [\n        {\n            \"id\": \"c064836a-7ffb-4355-9a57-2892bc1a4b44\",\n            \"alternateName\": null,\n            \"backgroundImage\": false,\n            \"companyLogo\": false,\n            \"fontName\": \"\",\n            \"headerBackgroundColor\": 0,\n            \"headerForegroundColor\": 0,\n            \"mainBackgroundColor\": 0,\n            \"mainForegroundColor\": 0,\n            \"menuBackgroundColor\": 0,\n            \"menuForegroundColor\": 0,\n            \"moduleForegroundColor\": 0,\n            \"lcid\": 2057,\n            \"login\": false,\n            \"logo\": false,\n            \"refreshInterval\": 0,\n            \"status\": \"Active\",\n            \"template\": false,\n            \"descriptions\": {\n                \"current\": {\n                    \"name\": \"New hub\",\n                    \"lcid\": 2057\n                },\n                \"translations\": [\n                    {\n                        \"name\": \"New hub\",\n                        \"lcid\": 2057\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"2e2fc26a-676f-46fd-bb3a-01a5d7c11b14\",\n            \"alternateName\": null,\n            \"backgroundImage\": false,\n            \"companyLogo\": false,\n            \"fontName\": \"\",\n            \"headerBackgroundColor\": -1776412,\n            \"headerForegroundColor\": -12303292,\n            \"mainBackgroundColor\": -921103,\n            \"mainForegroundColor\": -14796222,\n            \"menuBackgroundColor\": -15978680,\n            \"menuForegroundColor\": -1,\n            \"moduleForegroundColor\": 0,\n            \"lcid\": 2057,\n            \"login\": false,\n            \"logo\": false,\n            \"refreshInterval\": 0,\n            \"status\": \"Design\",\n            \"template\": false,\n            \"descriptions\": {\n                \"current\": {\n                    \"name\": \"New hub - 1\",\n                    \"lcid\": 2057\n                },\n                \"translations\": [\n                    {\n                        \"name\": \"New hub - 1\",\n                        \"lcid\": 2057\n                    }\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"c1143adf-c74f-4d75-a953-de9428298cf7"}],"id":"1924ee76-83c2-4f82-8d56-49373c59a5b8","_postman_id":"1924ee76-83c2-4f82-8d56-49373c59a5b8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Security Template","item":[{"name":"All","id":"a88896d5-c4c9-48ba-88ae-bf087d6528cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/SecurityTemplate","description":"<p>Lists every accessible security template.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","SecurityTemplate"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"a88896d5-c4c9-48ba-88ae-bf087d6528cf"}],"id":"ef272f88-242d-4d26-bd8a-5c0b9f478ef4","description":"<p>Manages templates defining the access control to apply on files and folders.</p>\n","_postman_id":"ef272f88-242d-4d26-bd8a-5c0b9f478ef4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Share","item":[{"name":"Item","event":[{"listen":"prerequest","script":{"id":"7d34c435-9d09-4b15-a3c3-57331556d8a7","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");\r","pm.variables.set(\"identityId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"42e3e6f0-2462-4194-af6d-ae48b2f81cf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Share/{{resourceId}}/{{identityId}}","description":"<p>Retrieves every shares existing between a resource and an identity</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Share","{{resourceId}}","{{identityId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"42e3e6f0-2462-4194-af6d-ae48b2f81cf9"},{"name":"Item","event":[{"listen":"prerequest","script":{"id":"888082a6-366e-40d1-96fc-3fa970a7d152","exec":["pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"25a076ff-059d-454b-832d-607415ad67cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"resourceId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"identityId\": \"Anonymous\",\r\n    \"endDate\": \"2019-12-31T23:59:59Z\",\r\n    \"emails\":\r\n    [\r\n        \"john.doe@company.com\"\r\n    ],\r\n    \"message\": \"Welcome to my share!\",\r\n    \"password\": \"\",\r\n    \"notification\": \"NoInvitation\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Share","description":"<p>Creates a new share on a resource.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Share"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"25a076ff-059d-454b-832d-607415ad67cb"},{"name":"Item","event":[{"listen":"prerequest","script":{"id":"aa13a6fc-0876-4ebb-b4d7-11be625a4873","exec":["pm.variables.set(\"shareId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"5ae05fc1-8e7b-4120-93d1-e8b6059a5f47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:44348/Api/Preview2/Share/{{shareId}}","description":"<p>Removes an existing share.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Share","{{shareId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ae05fc1-8e7b-4120-93d1-e8b6059a5f47"}],"id":"8a560fd4-5fef-4ccb-9a66-f5a4c897e216","description":"<p>Manages shared access on files, folders and hubs.</p>\n","_postman_id":"8a560fd4-5fef-4ccb-9a66-f5a4c897e216","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Upload","item":[{"name":"Item","event":[{"listen":"prerequest","script":{"id":"5ff5311b-5fb0-4774-ac59-d5d6dc52ad7f","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"adf2e761-ed96-4afa-b550-32e2b36f80c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Upload/{{resourceId}}","description":"<p>Retrieves the lock status of a specified file.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Upload","{{resourceId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"adf2e761-ed96-4afa-b550-32e2b36f80c2"},{"name":"Item - New","event":[{"listen":"prerequest","script":{"id":"85c91611-520a-4197-bc69-4f4219f17273","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"parentId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","pm.variables.set(\"fileName\", \"file.txt\");","pm.variables.set(\"fileLength\", \"16777216\");"],"type":"text/javascript"}}],"id":"0c8c3e67-069b-440e-aacc-b22465ae067b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"parentId\": \"01234567-89AB-CDEF-0123-456789ABCDEF\",\r\n    \"name\": \"{{fileName}}\",\r\n    \"length\": {{fileLength}}\r\n}"},"url":"https://localhost:44348/Api/Preview2/Upload/{{resourceId}}","description":"<p>Creates an upload lock on a new file.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Upload","{{resourceId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"0c8c3e67-069b-440e-aacc-b22465ae067b"},{"name":"Item - Update","event":[{"listen":"prerequest","script":{"id":"16767b80-4b20-46ec-be86-3f396b39f3ee","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"fileLength\", \"8388608\");"],"type":"text/javascript"}}],"id":"6baf51e4-0d49-4420-9e9e-3220052611e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Range","value":"bytes=0-4194304","description":"<p>Optional. Range of the data to write in the file which will receive contents. (Only bytes unit is supported)</p>\n","type":"text"}],"body":{"mode":"file","file":{}},"url":"https://localhost:44348/Api/Preview2/Upload/{{lockId}}","description":"<p>Creates an upload lock on an existing file.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Upload","{{lockId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"6baf51e4-0d49-4420-9e9e-3220052611e8"},{"name":"Item","event":[{"listen":"prerequest","script":{"id":"35461abe-8a65-44db-b82d-d7e51601cd16","exec":["pm.variables.set(\"resourceId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"a7e2b664-6c8d-45d1-a075-e627770a1071","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:44348/Api/Preview2/Upload/{{resourceId}}","description":"<p>Cancels an incomplete upload.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Upload","{{resourceId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7e2b664-6c8d-45d1-a075-e627770a1071"}],"id":"70a309f9-29da-4213-b04f-2d968d31feff","description":"<p>Manages file upload.</p>\n","_postman_id":"70a309f9-29da-4213-b04f-2d968d31feff","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"User","item":[{"name":"Item","event":[{"listen":"prerequest","script":{"id":"80d0eec1-cfda-4fbd-9a6b-e632cb065474","exec":["pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\"); // Can be set to \"Me\"."],"type":"text/javascript"}}],"id":"795dd189-e31c-4f60-a216-4e81d17d8534","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/User/{{userId}}","description":"<p>Retrieves a user profile information.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","User","{{userId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"795dd189-e31c-4f60-a216-4e81d17d8534"},{"name":"Main Company","event":[{"listen":"prerequest","script":{"id":"369a9d3a-4df6-48b5-be64-b6986fe2f997","exec":["pm.variables.set(\"userId\", \"Me\");"],"type":"text/javascript"}}],"id":"b7c8ddac-9c72-4999-8484-b25b5e86ee86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/User/{{userId}}/Account/Main/Company","description":"<p>Retrieves a user's main account company identifier.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","User","{{userId}}","Account","Main","Company"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7c8ddac-9c72-4999-8484-b25b5e86ee86"},{"name":"Picture","event":[{"listen":"prerequest","script":{"id":"3a20c5c8-c250-4b2c-a30b-ac905782c0e2","exec":["pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\"); // Can be set to \"Me\"."],"type":"text/javascript"}}],"id":"22e3d98d-28f3-4825-888b-6593e116dc4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/User/{{userId}}/Picture","description":"<p>Retrieves a user picture.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","User","{{userId}}","Picture"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"22e3d98d-28f3-4825-888b-6593e116dc4a"},{"name":"Usage","event":[{"listen":"prerequest","script":{"id":"f7f59a52-c95a-4242-b16f-6fcb1367c726","exec":["pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\"); // Can be set to \"Me\"."],"type":"text/javascript"}}],"id":"ebfcdea8-4092-460b-8417-4923d67f17b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2//User/{{userId}}/Usage","description":"<p>Retrieves a user account storage usage.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","","User","{{userId}}","Usage"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"ebfcdea8-4092-460b-8417-4923d67f17b2"},{"name":"Item","event":[{"listen":"prerequest","script":{"id":"f4744e86-6b01-4ea0-a45b-c74e26e5c01e","exec":["pm.variables.set(\"serverUrl\", \"https://localhost:44348\");\r","pm.variables.set(\"apiAccess\", \"M8Ud4VUa0kKRZWgOitqrIw2\");"],"type":"text/javascript"}}],"id":"8dfd528e-1e0d-4384-950f-22ca066eae9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"type\": \"Internal\",\r\n    \"email\": \"john.smith@sns-company100.com\",\r\n    \"firstName\": \"John\",\r\n    \"lastName\": \"Smith\",\r\n    \"title\": \"Mr.\",\r\n    \"company\": \"Smith & Smith\",\r\n    \"job\": \"CEO\",\r\n    \"phone\": \"+10123456789\",\r\n    \"mobilePhone\": \"+10123456789\",\r\n    \"fax\": \"+10123456789\",\r\n    \"lcid\":\"1200\",\r\n    \"account\":\r\n    {\r\n        \"roomCreator\": true,\r\n        \"roomTemplateCreator\": true,\r\n        \"outlookPlugin\": \"Full\"\r\n    }\r\n}"},"url":"https://localhost:44348/Api/Preview2/User","description":"<p>Creates a new user profile with an account in the main company of the current user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","User"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"8dfd528e-1e0d-4384-950f-22ca066eae9a"},{"name":"Update Language","id":"6c424509-4654-4631-b2d8-c2c5ed5ab8fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"lcid\": \"1033\",\r\n    \"locale\":\"en-GB\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/User/{{userId}}/Language","description":"<p>Update an internal user profile language.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","User","{{userId}}","Language"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c424509-4654-4631-b2d8-c2c5ed5ab8fa"},{"name":"Update","event":[{"listen":"prerequest","script":{"id":"a8f8353d-0c93-42cc-96ea-422c6a56388c","exec":["pm.variables.set(\"serverUrl\", \"https://localhost:44348\");\r","pm.variables.set(\"apiAccess\", \"M8Ud4VUa0kKRZWgOitqrIw2\");\r","pm.variables.set(\"userId\", \"ad28593d-1303-4324-90d7-412aa93ddf62\");\r",""],"type":"text/javascript"}}],"id":"47ae4dec-88fc-4c3c-ae4e-fe81b4573d3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"firstName\": \"Bougard2\",\r\n    \"lastName\": \"Romaric2\",\r\n    \"email\": \"romaric.bougard2@hubshare.com\",\r\n    \"phone\": \"+10123456789\",\r\n    \"mobilePhone\": \"+10123456789\",\r\n    \"fax\": \"+10123456789\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/User/{{userId}}","description":"<p>Update an internal user profile.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","User","{{userId}}"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"47ae4dec-88fc-4c3c-ae4e-fe81b4573d3a"}],"id":"d138c10b-3023-41e8-857c-0d4ad2213507","description":"<p>Manages user profiles.</p>\n","_postman_id":"d138c10b-3023-41e8-857c-0d4ad2213507","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Version","item":[{"name":"Revision","event":[{"listen":"prerequest","script":{"id":"d6b05044-7c26-42b3-92a6-48260ddbd879","exec":[""],"type":"text/javascript"}}],"id":"2f2b515e-675b-4102-826c-b85f9b554df0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Version","description":"<p>Retrieves the revision number of the current API version.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Version"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f2b515e-675b-4102-826c-b85f9b554df0"},{"name":"Engine","event":[{"listen":"prerequest","script":{"id":"97ee6f81-c34b-40bc-b9c8-67c97e5104af","exec":[""],"type":"text/javascript"}}],"id":"1a8b8434-3415-40a3-ab98-d12b029c9f0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Version/Engine","description":"<p>Retrieves the core engine version number.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Version","Engine"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a8b8434-3415-40a3-ab98-d12b029c9f0b"},{"name":"Language","event":[{"listen":"prerequest","script":{"id":"a084e46e-9584-4453-a836-2b4e8c96394f","exec":[""],"type":"text/javascript"}}],"id":"bac9a17f-bca6-4400-9e2d-f3f1f5ae0b14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Version/Languages","description":"<p>Retrieves the description of the languages supported by the server.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Version","Languages"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"bac9a17f-bca6-4400-9e2d-f3f1f5ae0b14"},{"name":"Web","event":[{"listen":"prerequest","script":{"id":"2f5edba8-a0e1-44a7-be14-509ffab501a8","exec":[""],"type":"text/javascript"}}],"id":"4495ad8e-5ba3-4dfe-ad9f-639e3f957002","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Api/Preview2/Version/Web","description":"<p>Retrieves the website version number.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Version","Web"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"4495ad8e-5ba3-4dfe-ad9f-639e3f957002"}],"id":"903a0e16-fa2c-419f-9545-89d2ce229ca8","description":"<p>Returns version information about the server.</p>\n","_postman_id":"903a0e16-fa2c-419f-9545-89d2ce229ca8","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"Widget","item":[{"name":"Access","event":[{"listen":"prerequest","script":{"id":"7c4040c7-453b-4a87-b54d-ffb78da5c37a","exec":["pm.variables.set(\"widgetId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"78766a63-01fb-4640-a29e-6c6c74cf20ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"identityId\": \"{{userId}}\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Widget/{{widgetId}}}/Access","description":"<p>Allows a user or group to view a widget.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Widget","{{widgetId}}}","Access"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"78766a63-01fb-4640-a29e-6c6c74cf20ba"},{"name":"Access","event":[{"listen":"prerequest","script":{"id":"257d389e-eed8-4d38-98ad-a0b1ab44b231","exec":["pm.variables.set(\"widgetId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");","","pm.variables.set(\"userId\", \"01234567-89AB-CDEF-0123-456789ABCDEF\");"],"type":"text/javascript"}}],"id":"6b6a2164-c842-4791-85df-fb0f653bdcb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"identityId\": \"{{userId}}\"\r\n}"},"url":"https://localhost:44348/Api/Preview2/Widget/{{widgetId}}}/Access","description":"<p>Denies a user or group to view a widget.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Api","Preview2","Widget","{{widgetId}}}","Access"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b6a2164-c842-4791-85df-fb0f653bdcb9"}],"id":"d7af6aeb-9c67-4ff6-adeb-6391a6fc479d","description":"<p>Manages widgets used in hub dashboard modules.</p>\n","_postman_id":"d7af6aeb-9c67-4ff6-adeb-6391a6fc479d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}}},{"name":"API Info","id":"cf3eba27-7f62-4ebc-822e-dea14aa4a208","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:44348/Svc/Info/Api","description":"<p>Retrieves metadata for each supported API version.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","id":"6b5a3512-34a1-4657-aaa9-3ea479bd1c4e","name":"Hubshare","type":"collection"}},"urlObject":{"path":["Svc","Info","Api"],"host":["https://localhost:44348"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf3eba27-7f62-4ebc-822e-dea14aa4a208"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"86912471-9036-40e2-8539-17b9cdd87d32","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"53bf38bb-9662-44b6-96c3-6495e6c89646","type":"text/javascript","exec":[""]}}],"variable":[{"key":"serverUrl","value":"https://localhost:44348"},{"key":"apiVersion","value":"Preview2"},{"key":"apiAccess","value":""}]}