kamax-matrix / mxisd

Federated Matrix Identity Server
GNU Affero General Public License v3.0
220 stars 112 forks source link

REST API > Profile Missing Response if No Results Found #109

Closed palmtown closed 5 years ago

palmtown commented 5 years ago

In the document https://github.com/kamax-matrix/mxisd/blob/master/docs/stores/rest.md, the Profile section is missing the "If no match was found" section, therefore, I am unsure what exactly to return if no results are found being that other API request have special response formats.

maxidorius commented 5 years ago

The expected response is:

{
  "profile": {}
}

I'll clarify the doc.