{ "opencollection": "1.0.0", "info": { "name": "MediaValet UserGroups API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://login.mediavalet.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "UserGroups", "type": "folder" }, "items": [ { "info": { "name": "Retrieve Groups", "type": "http" }, "http": { "method": "GET", "url": "https://api.mediavalet.com/groups", "headers": [ { "name": "x-mv-api-version", "value": "1.2" } ] }, "docs": "Retrieves list of groups that belong to the Organizational Unit." }, { "info": { "name": "Create Group", "type": "http" }, "http": { "method": "POST", "url": "https://api.mediavalet.com/groups", "headers": [ { "name": "x-mv-api-version", "value": "1.2" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates the user group and gives it permissions to the library." }, { "info": { "name": "Retrieve Group Details", "type": "http" }, "http": { "method": "GET", "url": "https://api.mediavalet.com/groups/:id", "headers": [ { "name": "x-mv-api-version", "value": "1.2" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "id path parameter." } ] }, "docs": "Retrieves group details based on group id." }, { "info": { "name": "Retrieve Group Categories", "type": "http" }, "http": { "method": "GET", "url": "https://api.mediavalet.com/groups/:userGroupId/categories", "headers": [ { "name": "x-mv-api-version", "value": "1.2" } ], "params": [ { "name": "userGroupId", "value": "", "type": "path", "description": "userGroupId path parameter." } ] }, "docs": "Retrieves list of categories based on the group id." }, { "info": { "name": "Update Group With Patch Operations", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.mediavalet.com/groups/:userGroupId/categories", "headers": [ { "name": "x-mv-api-version", "value": "1.2" } ], "params": [ { "name": "userGroupId", "value": "", "type": "path", "description": "userGroupId path parameter." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates user group using a list of patch operations." }, { "info": { "name": "Update Group", "type": "http" }, "http": { "method": "PUT", "url": "https://api.mediavalet.com/groups/:userGroupId", "headers": [ { "name": "x-mv-api-version", "value": "1.2" } ], "params": [ { "name": "userGroupId", "value": "", "type": "path", "description": "userGroupId path parameter." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates user group and gives/revokes permission to the library." }, { "info": { "name": "Remove Group", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.mediavalet.com/groups/:userGroupId", "headers": [ { "name": "x-mv-api-version", "value": "1.2" } ], "params": [ { "name": "userGroupId", "value": "", "type": "path", "description": "userGroupId path parameter." } ] }, "docs": "Removes the user group and detaches its permissions from the library." } ] } ], "bundled": true }