Key Management API
Describe the API key used for this request
Changed onReturns the key that authenticated this call, including its permission type and access policy, so a caller can tell what it may do before attempting it. The key value itself is never returned. Requires an API key; a session-authenticated call has no key to describe.
get/rest/api/v1/apiKeys/current
Request
- Base URLhttps://api.metacopier.io
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Example response
{
"accessPolicy": {
"enabled": true,
"endpointPolicyMode": "ALLOW_LIST",
"endpoints": [
{
"method": "GET",
"path": "/rest/api/v1/projects/{projectId}/strategies"
}
],
"fieldPolicyMode": "DENY_LIST",
"fields": [
{
"dtoClassName": "AccountInformationDTO",
"fieldName": "balance",
"fieldType": "java.math.BigDecimal"
}
]
}
}Changes
- info
endpoint added
- info