Skip to content

KRA List Key Requests REST API

Endi S. Dewata edited this page Aug 21, 2021 · 1 revision

Request

  • Method: GET

  • Path: /kra/rest/agent/keyrequests

  • Authentication: Required

  • Authorization: Must be a member of Data Recovery Manager Agents group.

  • Query Parameters:

    • requestState: string

    • requestType: string

    • start: dec/hex request ID

    • pageSize: integer

    • maxResults: integer

    • maxTime: integer

  • Content: None

Examples

JSON
$ curl \
    -k \
    -s \
    -H "Accept: application/json" \
    --user kraadmin:Secret.123 \
    https://localhost.localdomain:8443/kra/rest/agent/keyrequests | python -m json.tool
{
    "total": 0,
    "entries": [],
    "Link": []
}
XML
$ curl \
    -k \
    -s \
    -H "Accept: application/xml" \
    --user kraadmin:Secret.123 \
    https://localhost.localdomain:8443/kra/rest/agent/keyrequests | xmllint --format -
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<KeyRequestInfoCollection>
    <total>0</total>
</KeyRequestInfoCollection>
Clone this wiki locally