Authors
Get an Author
Property | Description |
---|---|
Method | GET |
Path | /open/v1/spaces/$me/authors/{authorId} |
Accept | - |
Content-Type | application/json |
Description | Retrieves an author by its ID. |
- Request
- Query
(empty) - Body
// (empty)
- Query
- Response
type AuthorView = { author: Author }
Batch Get Authors
Property | Description |
---|---|
Method | GET |
Path | /open/v1/spaces/$me/authors/batch |
Accept | - |
Content-Type | application/json |
Description | Retrieves multiple authors by IDs. Can fetch up to 25 authors. |
-
Request
-
Query
Param Required? Default Type Description Example ids[] O - string[] IDs of authors to fetch. ?ids[]=42&ids[]=37 -
Body
// (empty)
-
-
Response
type AuthorsView = { authors: Author[] }
List Authors of a Space
Property | Description |
---|---|
Method | GET |
Path | /open/v1/spaces/$me/authors |
Accept | - |
Content-Type | application/json |
Description | Retrieves a paginated list of authors in a space, ordered by create timestamp. |
-
Request
-
Query
Param Required? Default Type Description Example limit X 25 number Used for pagination 25 since X string Used for pagination 1707017182188 order X asc ‘asc’ | 'desc' Sort order asc -
Body
// (empty)
-
-
Response
type AuthorsListView = { authors: Author[] next?: string }
Updated 5 months ago