Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

/rest/customize/scanmetadata/keys/index


Descriptor

Value

HTTP Method

GET

Description

Retrieves a list of scan metadata keys

Required Permission

Manage Scan Metadata Keys

Version Introduced2.7.1


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

A value of ‘application/json’ must be provided.


Sample Call:


Code Block
themeEclipse
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X GET http://localhost/threadfix/rest/customize/scanmetadata/keys/index?apiKey={apiKey}


Sample Output:


Code Block
themeEclipse
{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": [
        {
            "id": 1,
            "active": true,
            "key": "I Gotta Brand New Pair of Rollerskates"
        },
        {
            "id": 2,
            "active": true,
            "key": "You Gotta Brand New Key"
        }
    ]
}


Page Tree
rootScans API