Page tree

Gets information about a tape media pool.

Endpoint

https://<Director_IP_address>:4443/c/router

Tenant Endpoint

For tenants of the multi-tenant product the endpoint must be:
https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router

Request Example

curl
 curl --request POST \
	--url https://<Director_IP_address>:4443/c/router \
	--header "content-type: application/json" \
	--cookie @cookies.txt \
	--data "{
			"action": "TapeMediaPoolManagement",
			"method": "getTapeMediaPoolInfo",
			"data": [65],
			"type": "rpc",
			"tid": 1
             }"

Request Fields

Field
Type
Value(s)
actionstring

TapeMediaPoolManagement

methodstring

getTapeMediaPoolInfo

dataarray

ID of the tape media pool

typestringrpc
tidint1

Response Sample

{
    "action": "TapeMediaPoolManagement",
    "method": "getTapeMediaPoolInfo",
    "tid": "1",
    "type": "rpc",
    "message": null,
    "where": null,
    "cause": null,
    "data": {
        "id": 65,
        "name": "Media Pool 001",
        "description": null,
        "defaultOfflineLocationId": null,
        "autoAddFreeTapes": null
            }
}

Response Fields

Field
Value
Description
messagestringMessage if the request failed
wherestringReference to the method where the problem occurred
causestringCause of failure

data

Json

Media pool Information. See the data table below

data

Field

Value

Description

id

long

The media pool ID

name

string

The media pool name

description

string

The description of media pool

defaultOfflineLocationId

long

Default offline location ID

autoAddFreeTapes

boolean

true if free tapes will be added to this media pool automatically when required

  • No labels