List wallet keys that fit a credential
const url = 'http://localhost:11044/api/v1/channels/credentials/example/example/candidates';const options = {method: 'GET', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:11044/api/v1/channels/credentials/example/example/candidates \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'The names of the owner’s wallet keys a bind would accept for this credential, sorted. Never a secret.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Name of the captured realm installed in the signed-in owner’s world; non-blank, at most 256 UTF-8 bytes, no control characters and not all * (400 otherwise). 404 when it has no live installation
Id of a credential the realm declares, as declared.id in the credential list; same text rules as the realm name. 404 when the installation declares no such credential
Responses
Section titled “Responses”OK
The owner’s wallet keys a bind would accept for one declared credential; answered by GET …/{credentialId}/candidates
object
Id of the declared credential the keys fit
The installation this was read from
object
Digest of the realm snapshot the installation admitted, 64 lowercase hex characters
The live installation’s id; send it back as installationId on a change
Name of the installed realm
The installation’s revision; send it back as expectedRevision on a change. Every bind or revoke moves it
Names of the wallet items that fit, sorted; never a secret. Empty when none fit, and always empty for an oauth2 credential

