Skip to content

The algorithms and certificate types on offer

GET
/api/products/options
curl --request GET \
--url https://app.dycrypt.com/o/acme/api/products/options \
--header 'Authorization: Bearer <token>'

Every option this platform knows is listed, each marked available or not, according to what a live cipher has announced. A menu that silently gets shorter tells an operator nothing.

available is a courtesy, never a control: the cipher refuses what it cannot provide, because only it knows.

Algorithms and certificate types.

Media typeapplication/json
object
algorithms
Array<object>
object
value
string
label
string
signatureAlgorithm
string
available
boolean
certificateTypes
Array<object>
object
Examplegenerated
{
"algorithms": [
{
"value": "example",
"label": "example",
"signatureAlgorithm": "example",
"available": true
}
],
"certificateTypes": [
{}
]
}

No credential, or one that no longer resolves — revoked, expired, deleted. Replace it.

Media typeapplication/json

Every failure in this API has this shape and no other.

object
error
required
string
Example
{
"error": "this token does not have licenses:write"
}

Authenticated, but not allowed: a missing scope, a read-only role, a plan limit reached, or a credential used under another organisation’s slug. The right credential doing something it may not do.

Media typeapplication/json

Every failure in this API has this shape and no other.

object
error
required
string
Example
{
"error": "this token does not have licenses:write"
}