Created
November 9, 2020 21:07
-
-
Save vMarkusK/c6cb7e5ec479e3f5db3814b7fcb104f3 to your computer and use it in GitHub Desktop.
REST API service for Veeam backup & Replication Postman Collection
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"info": { | |
"_postman_id": "3f100323-72de-47c0-a14a-ea11fcb692f4", | |
"name": "REST API service for Veeam backup & Replication", | |
"description": "REST API service for Veeam backup & Replication\n\nContact Support:\nEmail: support@veeam.com", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "api", | |
"item": [ | |
{ | |
"name": "v1", | |
"item": [ | |
{ | |
"name": "sessions", | |
"item": [ | |
{ | |
"name": "{id}", | |
"item": [ | |
{ | |
"name": "Get Session", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id" | |
], | |
"variable": [ | |
{ | |
"id": "1b1f53c5-facf-4243-917e-9b2f84fd26a3", | |
"key": "id", | |
"value": "<uuid>", | |
"type": "string", | |
"description": "(Required) " | |
} | |
] | |
} | |
}, | |
"response": [ | |
{ | |
"name": "Unauthorized. The authorization header has been expected but not found (or found but is expired).", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Unauthorized", | |
"code": 401, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Success", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"activityId\": \"69a0f048-bbd2-517a-7e2a-0ca27da65c01\",\n \"creationTimeUtc\": \"2017-11-25T02:22:36.050Z\",\n \"id\": \"urn:uuid:9f92a9b9-6b20-cc8d-6d36-7b91d613e568\",\n \"name\": \"et Excepteur do consequat\",\n \"result\": {\n \"result\": \"<string>\",\n \"message\": \"laborum do cupidatat\",\n \"isCanceled\": false\n },\n \"sessionType\": \"<string>\",\n \"state\": \"<string>\",\n \"usn\": -72958883,\n \"endTimeUtc\": \"1993-02-20T18:05:36.542Z\",\n \"progressPercent\": \"enim ut dolore consequat\",\n \"resourceId\": \"urn:uuid:1e0e88dd-6812-31d8-8683-f0b4f6947d87\",\n \"resourceReference\": \"enim nostrud in labore\",\n \"parentSessionId\": \"5c01ccec-3aa2-391d-9d0c-4150b399f33c\"\n}" | |
}, | |
{ | |
"name": "Not Found. This error is related to path parameters. One or more resources specified in the request could not be found in the specified resource collection.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Not Found", | |
"code": 404, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Internal Server Error", | |
"code": 500, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Forbidden", | |
"code": 403, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
} | |
] | |
}, | |
{ | |
"name": "Get Session Logs", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id/logs", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id", | |
"logs" | |
], | |
"variable": [ | |
{ | |
"id": "62fdbd4c-eba5-4c86-a08d-d7824e6f5a08", | |
"key": "id", | |
"value": "<uuid>", | |
"type": "string", | |
"description": "(Required) " | |
} | |
] | |
} | |
}, | |
"response": [ | |
{ | |
"name": "Unauthorized. The authorization header has been expected but not found (or found but is expired).", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id/logs", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id", | |
"logs" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Unauthorized", | |
"code": 401, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id/logs", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id", | |
"logs" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Forbidden", | |
"code": 403, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Not Found. This error is related to path parameters. One or more resources specified in the request could not be found in the specified resource collection.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id/logs", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id", | |
"logs" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Not Found", | |
"code": 404, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id/logs", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id", | |
"logs" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Internal Server Error", | |
"code": 500, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Success", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id/logs", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id", | |
"logs" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"totalRecords\": -40841322,\n \"records\": [\n {\n \"id\": 49354180,\n \"status\": \"officia sint non occaecat\",\n \"startTime\": \"1944-03-05T22:53:59.346Z\",\n \"updateTime\": \"1963-04-12T12:01:03.424Z\",\n \"title\": \"laborum ea proident\",\n \"description\": \"ut amet voluptate sunt\"\n },\n {\n \"id\": 67760456,\n \"status\": \"aute et culpa tempor\",\n \"startTime\": \"1961-10-23T01:34:34.033Z\",\n \"updateTime\": \"2020-05-02T09:54:54.742Z\",\n \"title\": \"aute velit minim veniam\",\n \"description\": \"non aute ad esse\"\n }\n ]\n}" | |
} | |
] | |
}, | |
{ | |
"name": "Stop Session", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id/stop", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id", | |
"stop" | |
], | |
"variable": [ | |
{ | |
"id": "75bcbbf6-683a-4509-bbba-963ec8e9b49b", | |
"key": "id", | |
"value": "<uuid>", | |
"type": "string", | |
"description": "(Required) " | |
} | |
] | |
} | |
}, | |
"response": [ | |
{ | |
"name": "Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.", | |
"originalRequest": { | |
"method": "POST", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id/stop", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id", | |
"stop" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Internal Server Error", | |
"code": 500, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Success", | |
"originalRequest": { | |
"method": "POST", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id/stop", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id", | |
"stop" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{}" | |
}, | |
{ | |
"name": "Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.", | |
"originalRequest": { | |
"method": "POST", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id/stop", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id", | |
"stop" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Forbidden", | |
"code": 403, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Unauthorized. The authorization header has been expected but not found (or found but is expired).", | |
"originalRequest": { | |
"method": "POST", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id/stop", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id", | |
"stop" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Unauthorized", | |
"code": 401, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Not Found. This error is related to path parameters. One or more resources specified in the request could not be found in the specified resource collection.", | |
"originalRequest": { | |
"method": "POST", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions/:id/stop", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions", | |
":id", | |
"stop" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Not Found", | |
"code": 404, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
} | |
] | |
} | |
], | |
"protocolProfileBehavior": {}, | |
"_postman_isSubFolder": true | |
}, | |
{ | |
"name": "Get All Sessions", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&startDateFilter=<dateTime>&endDateFilter=<dateTime>&typeFilter=<string>&stateFilter=<string>&resultFilter=<string>", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "startDateFilter", | |
"value": "<dateTime>" | |
}, | |
{ | |
"key": "endDateFilter", | |
"value": "<dateTime>" | |
}, | |
{ | |
"key": "typeFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "stateFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "resultFilter", | |
"value": "<string>" | |
} | |
] | |
} | |
}, | |
"response": [ | |
{ | |
"name": "Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&startDateFilter=<dateTime>&endDateFilter=<dateTime>&typeFilter=<string>&stateFilter=<string>&resultFilter=<string>", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "startDateFilter", | |
"value": "<dateTime>" | |
}, | |
{ | |
"key": "endDateFilter", | |
"value": "<dateTime>" | |
}, | |
{ | |
"key": "typeFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "stateFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "resultFilter", | |
"value": "<string>" | |
} | |
] | |
} | |
}, | |
"status": "Internal Server Error", | |
"code": 500, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Unauthorized. The authorization header has been expected but not found (or found but is expired).", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&startDateFilter=<dateTime>&endDateFilter=<dateTime>&typeFilter=<string>&stateFilter=<string>&resultFilter=<string>", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "startDateFilter", | |
"value": "<dateTime>" | |
}, | |
{ | |
"key": "endDateFilter", | |
"value": "<dateTime>" | |
}, | |
{ | |
"key": "typeFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "stateFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "resultFilter", | |
"value": "<string>" | |
} | |
] | |
} | |
}, | |
"status": "Unauthorized", | |
"code": 401, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&startDateFilter=<dateTime>&endDateFilter=<dateTime>&typeFilter=<string>&stateFilter=<string>&resultFilter=<string>", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "startDateFilter", | |
"value": "<dateTime>" | |
}, | |
{ | |
"key": "endDateFilter", | |
"value": "<dateTime>" | |
}, | |
{ | |
"key": "typeFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "stateFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "resultFilter", | |
"value": "<string>" | |
} | |
] | |
} | |
}, | |
"status": "Forbidden", | |
"code": 403, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Success", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/sessions?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&startDateFilter=<dateTime>&endDateFilter=<dateTime>&typeFilter=<string>&stateFilter=<string>&resultFilter=<string>", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"sessions" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "startDateFilter", | |
"value": "<dateTime>" | |
}, | |
{ | |
"key": "endDateFilter", | |
"value": "<dateTime>" | |
}, | |
{ | |
"key": "typeFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "stateFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "resultFilter", | |
"value": "<string>" | |
} | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"data\": [\n {\n \"activityId\": \"b0742f2b-3ec5-e727-9766-4b5bbc5a726a\",\n \"creationTimeUtc\": \"1945-04-19T11:38:39.837Z\",\n \"id\": \"urn:uuid:24087ca6-08ca-f4d6-490a-d626aea55036\",\n \"name\": \"anim rep\",\n \"result\": {\n \"result\": \"<string>\",\n \"message\": \"adipisicing anim cillum\",\n \"isCanceled\": true\n },\n \"sessionType\": \"<string>\",\n \"state\": \"<string>\",\n \"usn\": 25323938,\n \"endTimeUtc\": \"1977-09-17T19:43:32.629Z\",\n \"progressPercent\": \"ex sint aliquip consequat\",\n \"resourceId\": \"urn:uuid:9845a56b-7abd-3ef5-83be-1e68e54f973a\",\n \"resourceReference\": \"Duis consectetur\",\n \"parentSessionId\": \"urn:uuid:e9c3f31c-c0b3-7bd6-30a0-9b97587dc869\"\n },\n {\n \"activityId\": \"urn:uuid:48049618-63e5-f92e-ab58-8b6896fceb44\",\n \"creationTimeUtc\": \"1958-01-31T05:51:48.508Z\",\n \"id\": \"urn:uuid:7dc0e368-c981-d205-d69c-5863c0bb59e4\",\n \"name\": \"nulla nostrud\",\n \"result\": {\n \"result\": \"<string>\",\n \"message\": \"Ut commodo laborum est\",\n \"isCanceled\": true\n },\n \"sessionType\": \"<string>\",\n \"state\": \"<string>\",\n \"usn\": 33701706,\n \"endTimeUtc\": \"1971-11-05T08:18:22.071Z\",\n \"progressPercent\": \"laboris eu et nulla\",\n \"resourceId\": \"urn:uuid:de85e16f-bf9a-b927-c7c2-ec7c1bef6b4c\",\n \"resourceReference\": \"voluptate ullamco enim magna labore\",\n \"parentSessionId\": \"e9eb6320-d205-eceb-fe56-3759a745b2b3\"\n }\n ],\n \"pagination\": {\n \"total\": -61626419\n }\n}" | |
} | |
] | |
} | |
], | |
"protocolProfileBehavior": {}, | |
"_postman_isSubFolder": true | |
}, | |
{ | |
"name": "inventory/vmware/hosts", | |
"item": [ | |
{ | |
"name": "Gets vCenters from inventory browser", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/inventory/vmware/hosts?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&nameFilter=<string>", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"inventory", | |
"vmware", | |
"hosts" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "nameFilter", | |
"value": "<string>" | |
} | |
] | |
} | |
}, | |
"response": [ | |
{ | |
"name": "Success", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/inventory/vmware/hosts?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&nameFilter=<string>", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"inventory", | |
"vmware", | |
"hosts" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "nameFilter", | |
"value": "<string>" | |
} | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"data\": [\n {\n \"inventoryObject\": {\n \"name\": \"laboris dolore Lorem sit\",\n \"type\": \"VirtualMachine\",\n \"viHostName\": \"minim dolor sed commodo\",\n \"objectId\": \"quis pariatur est in\"\n },\n \"size\": \"velit dolore ad\"\n },\n {\n \"inventoryObject\": {\n \"name\": \"Excepteur commodo aliqua\",\n \"type\": \"Tag\",\n \"viHostName\": \"consectetur id in sint\",\n \"objectId\": \"Lorem\"\n },\n \"size\": \"velit occaecat anim\"\n }\n ],\n \"pagination\": {\n \"total\": -77459587\n }\n}" | |
}, | |
{ | |
"name": "Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/inventory/vmware/hosts?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&nameFilter=<string>", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"inventory", | |
"vmware", | |
"hosts" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "nameFilter", | |
"value": "<string>" | |
} | |
] | |
} | |
}, | |
"status": "Forbidden", | |
"code": 403, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/inventory/vmware/hosts?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&nameFilter=<string>", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"inventory", | |
"vmware", | |
"hosts" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "nameFilter", | |
"value": "<string>" | |
} | |
] | |
} | |
}, | |
"status": "Internal Server Error", | |
"code": 500, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Unauthorized. The authorization header has been expected but not found (or found but is expired).", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/inventory/vmware/hosts?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&nameFilter=<string>", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"inventory", | |
"vmware", | |
"hosts" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "nameFilter", | |
"value": "<string>" | |
} | |
] | |
} | |
}, | |
"status": "Unauthorized", | |
"code": 401, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
} | |
] | |
}, | |
{ | |
"name": "Gets vCenter or standalone host inventory content ( vms, resourcePools, hosts, datacenters )", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/inventory/vmware/hosts/:name?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&objectIdFilter=<string>&hierarchyTypeFilter=<string>&nameFilter=<string>&typeFilter=Datastore", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"inventory", | |
"vmware", | |
"hosts", | |
":name" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "objectIdFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "hierarchyTypeFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "nameFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "typeFilter", | |
"value": "Datastore" | |
} | |
], | |
"variable": [ | |
{ | |
"id": "7be8a430-fd52-41ef-93db-700b5dadff9c", | |
"key": "name", | |
"value": "<string>", | |
"type": "string", | |
"description": "(Required) vCenter" | |
} | |
] | |
} | |
}, | |
"response": [ | |
{ | |
"name": "Unauthorized. The authorization header has been expected but not found (or found but is expired).", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/inventory/vmware/hosts/:name?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&objectIdFilter=<string>&hierarchyTypeFilter=<string>&nameFilter=<string>&typeFilter=Datacenter", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"inventory", | |
"vmware", | |
"hosts", | |
":name" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "objectIdFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "hierarchyTypeFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "nameFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "typeFilter", | |
"value": "Datacenter" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "name" | |
} | |
] | |
} | |
}, | |
"status": "Unauthorized", | |
"code": 401, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/inventory/vmware/hosts/:name?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&objectIdFilter=<string>&hierarchyTypeFilter=<string>&nameFilter=<string>&typeFilter=Datacenter", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"inventory", | |
"vmware", | |
"hosts", | |
":name" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "objectIdFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "hierarchyTypeFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "nameFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "typeFilter", | |
"value": "Datacenter" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "name" | |
} | |
] | |
} | |
}, | |
"status": "Internal Server Error", | |
"code": 500, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/inventory/vmware/hosts/:name?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&objectIdFilter=<string>&hierarchyTypeFilter=<string>&nameFilter=<string>&typeFilter=Datacenter", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"inventory", | |
"vmware", | |
"hosts", | |
":name" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "objectIdFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "hierarchyTypeFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "nameFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "typeFilter", | |
"value": "Datacenter" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "name" | |
} | |
] | |
} | |
}, | |
"status": "Forbidden", | |
"code": 403, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Not Found. This error is related to path parameters. One or more resources specified in the request could not be found in the specified resource collection.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/inventory/vmware/hosts/:name?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&objectIdFilter=<string>&hierarchyTypeFilter=<string>&nameFilter=<string>&typeFilter=Datacenter", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"inventory", | |
"vmware", | |
"hosts", | |
":name" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "objectIdFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "hierarchyTypeFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "nameFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "typeFilter", | |
"value": "Datacenter" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "name" | |
} | |
] | |
} | |
}, | |
"status": "Not Found", | |
"code": 404, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Success", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/inventory/vmware/hosts/:name?skip=<integer>&count=<integer>&orderColumn=<string>&orderAsc=<boolean>&objectIdFilter=<string>&hierarchyTypeFilter=<string>&nameFilter=<string>&typeFilter=Datacenter", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"inventory", | |
"vmware", | |
"hosts", | |
":name" | |
], | |
"query": [ | |
{ | |
"key": "skip", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "count", | |
"value": "<integer>" | |
}, | |
{ | |
"key": "orderColumn", | |
"value": "<string>" | |
}, | |
{ | |
"key": "orderAsc", | |
"value": "<boolean>" | |
}, | |
{ | |
"key": "objectIdFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "hierarchyTypeFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "nameFilter", | |
"value": "<string>" | |
}, | |
{ | |
"key": "typeFilter", | |
"value": "Datacenter" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "name" | |
} | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"data\": [\n {\n \"inventoryObject\": {\n \"name\": \"laboris dolore Lorem sit\",\n \"type\": \"VirtualMachine\",\n \"viHostName\": \"minim dolor sed commodo\",\n \"objectId\": \"quis pariatur est in\"\n },\n \"size\": \"velit dolore ad\"\n },\n {\n \"inventoryObject\": {\n \"name\": \"Excepteur commodo aliqua\",\n \"type\": \"Tag\",\n \"viHostName\": \"consectetur id in sint\",\n \"objectId\": \"Lorem\"\n },\n \"size\": \"velit occaecat anim\"\n }\n ],\n \"pagination\": {\n \"total\": -77459587\n }\n}" | |
} | |
] | |
} | |
], | |
"protocolProfileBehavior": {}, | |
"_postman_isSubFolder": true | |
}, | |
{ | |
"name": "backup Infrastructure", | |
"item": [ | |
{ | |
"name": "managed Servers", | |
"item": [ | |
{ | |
"name": "{id}", | |
"item": [ | |
{ | |
"name": "Gets a host managed by Veeam B&R", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/backupInfrastructure/managedServers/:id", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"backupInfrastructure", | |
"managedServers", | |
":id" | |
], | |
"variable": [ | |
{ | |
"id": "b882a12c-ef5a-4081-aa25-4206b0ee3231", | |
"key": "id", | |
"value": "<uuid>", | |
"type": "string", | |
"description": "(Required) managed server Id" | |
} | |
] | |
} | |
}, | |
"response": [ | |
{ | |
"name": "Not Found. This error is related to path parameters. One or more resources specified in the request could not be found in the specified resource collection.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/backupInfrastructure/managedServers/:id", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"backupInfrastructure", | |
"managedServers", | |
":id" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Not Found", | |
"code": 404, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/backupInfrastructure/managedServers/:id", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"backupInfrastructure", | |
"managedServers", | |
":id" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Internal Server Error", | |
"code": 500, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/backupInfrastructure/managedServers/:id", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"backupInfrastructure", | |
"managedServers", | |
":id" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Forbidden", | |
"code": 403, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Unauthorized. The authorization header has been expected but not found (or found but is expired).", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/backupInfrastructure/managedServers/:id", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"backupInfrastructure", | |
"managedServers", | |
":id" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "Unauthorized", | |
"code": 401, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"errorCode\": \"UnexpectedContent\",\n \"message\": \"magna occaecat\",\n \"resourceId\": \"fugiat consectetur nulla deserunt\"\n}" | |
}, | |
{ | |
"name": "Success", | |
"originalRequest": { | |
"method": "GET", | |
"header": [ | |
{ | |
"description": { | |
"content": "Added as a part of security scheme: apikey", | |
"type": "text/plain" | |
}, | |
"key": "Authorization", | |
"value": "<API Key>" | |
}, | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
} | |
], | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/backupInfrastructure/managedServers/:id", | |
"host": [ | |
"{{baseUrl}}" | |
], | |
"path": [ | |
"api", | |
"v1", | |
"backupInfrastructure", | |
"managedServers", | |
":id" | |
], | |
"variable": [ | |
{ | |
"key": "id" | |
} | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "json", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"cookie": [], | |
"body": "{\n \"networkSettings\": {\n \"components\": [\n {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n ],\n \"portRangeStart\": 49793394,\n \"portRangeEnd\": 42912738,\n \"serverThisSide\": true\n }\n}" | |
} | |
] | |
}, | |
{ | |
"name": "Updates a host managed by Veeam B&R", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"description": "(Required) ", | |
"key": "x-api-version", | |
"value": "1.0-rev1" | |
}, | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"networkSettings\": {\n \"components\": [\n {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n ],\n \"portRangeStart\": -5630011,\n \"portRangeEnd\": -65166311,\n \"serverThisSide\": true\n }\n}", | |
"options": { | |
"raw": {} | |
} | |
}, | |
"url": { | |
"raw": "{{baseUrl}}/api/v1/backupInfrastructure/managedServers/:id", | |
"host": [ | |
"{{baseUrl}}" | |