List or Add Publication Collaborators by Custom URL
Hybrid POST endpoint operating on publication identified by custom URL (resolved via mixin).
Behavior: If request JSON omits 'email', returns collaborator list. If 'email' is provided, attempts to add collaborator using same validation rules as ID-based endpoint.
Permissions: Access controlled by PublicationAccessControlMixin (workspace/public visibility ACL).
Errors: 404 for missing publication/user or insufficient authority; 400 for role validation failures.
Request
This endpoint expects an object.
url
Custom publication URL used for lookup (required even when listing).
email
Optional email to add as collaborator. If omitted, lists collaborators.
Response
List of collaborators or publication collaborator data after no-op listing.
Errors
400
Bad Request Error
404
Not Found Error

