User-created credential definitions

To list all credential definitions created by user1, use the following command for version 2.0 API:

curl --location 'https://${service_url}/v2.0/diagency/credential_definitions' \
--header 'Authorization: Bearer ${user1_verifiable_credentials_access_token}' 

The response includes the following details:

{
    "count": 0,
    "items": []
}

For Indy Anoncreds credential schemas, use version 1.0 API:

curl --location 'https://${service_url}/v1.0/diagency/credential_definitions' \
--header 'Authorization: Bearer ${user1_verifiable_credentials_access_token}' 

The response includes the following details:

{
    "count": 0,
    "items": []
}