Resolve a shortened id prefix
GET
/v1/resolve-prefix/{prefix}
const url = 'http://localhost:8090/v1/resolve-prefix/example';const options = {method: 'GET'};
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:8090/v1/resolve-prefix/exampleParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”prefix
required
string
Responses
Section titled “ Responses ”Resolved id or ambiguity error
Media typeapplication/json
object
id
string
error
string
matches
Array<string>
Example
{ "error": "ambiguous"}