You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raisefalcon.HTTPNotFound(description=f"{prefix} is not a known identifier.")
contact=agent.org.get(prefix)
ifcontactisNone:
raisefalcon.HTTPNotFound(description="NOT FOUND")
rep.status=falcon.HTTP_200
rep.data=json.dumps(contact).encode("utf-8")
yielding a response with the following shape:
id: string;
alias: string;
oobi: string;
Is it intentional? If yes, what is the preferred way to get the current challenge responses for a specific contact? If not, should we add this information to ContactResource as well?
Another option could be to remove the challenges from the ContactCollectionResource as well and add a new endpoint /contacts/{prefix}/challenges. Thoughts?
The text was updated successfully, but these errors were encountered:
Currently, you can get challenge information for a contact using the list contacts endpoint (
GET /contacts
). It is added here:keria/src/keria/app/aiding.py
Lines 1143 to 1167 in f24cf4b
On the endpoint for getting a contact by id, this information is missing:
keria/src/keria/app/aiding.py
Lines 1294 to 1303 in f24cf4b
Is it intentional? If yes, what is the preferred way to get the current challenge responses for a specific contact? If not, should we add this information to ContactResource as well?
Another option could be to remove the challenges from the ContactCollectionResource as well and add a new endpoint /contacts/{prefix}/challenges. Thoughts?
The text was updated successfully, but these errors were encountered: