Skip to main content
GET
List work-writer relationships
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

GET /work/work-writers Description: Lists CWRWorkWriter rows, tenant-scoped through the joined work. Optional workId/writerId filters (validated as UUIDs). With NEITHER page nor size supplied, returns the historical BARE ARRAY of the full tenant set; supplying either switches to the { WorkWriters, totalItems, totalPages, currentPage, filteredItems } envelope. Authorization:
  • Required role: user or higher
Method: GET

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Query Parameters

workId
string<uuid>
writerId
string<uuid>
page
integer
size
integer

Response

Work-writer relationships retrieved

Row shape for GET /work/work-writers.

id
string<uuid>
workId
string<uuid>
writerId
string<uuid> | null
writerRole
string
relativeShare
number | null
work
object
CWRWriter
object | null