Clarification on the structure of errors in the Central Portal API

2 views
Skip to first unread message

org.so...@io7m.com

unread,
Aug 9, 2024, 8:47:57 AM8/9/24
to ossrh...@glists.sonatype.com
Hello!

I'm in the process of writing a client for the new Central Portal API.

The API documentation lacks a couple of things:

1. Do "errors" always have the same structure? The documentation outside
of the API shows errors having this general form:

{
"error": "not_authenticated",
"description": "The user does not have an active session or is not
authenticated"
}

There's no schema provided, though.

2. Is the "errors" property of the object returned by the
publisher/status endpoint a list of these structures? There's
no schema and no example.


--
Mark Raynsford | https://www.io7m.com

org.so...@io7m.com

unread,
Aug 10, 2024, 11:46:11 AM8/10/24
to OSSRH Users
On 09/08/2024 12:47, org.so...@io7m.com wrote:
> Hello!
>
> I'm in the process of writing a client for the new Central Portal API.

I've re-sent this message to central-support@ instead. I realized the
documentation on the site suggested that I should ask for support
regarding questions like this.
Reply all
Reply to author
Forward
0 new messages