Create or upsert a rating with JSON:API format.
JSON:API 1.0 requires:
If a rating already exists for the same note + rater, it will be updated (upsert).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
JSON:API request body for creating a rating.
JSON:API data object for rating creation.
Successful Response
JSON:API response for a single rating resource.
JSON:API resource object for a rating.
JSON:API links object for pagination and resource links.
Uses field aliases for 'self' and 'next' which are Python reserved words. Always use by_alias=True when serializing. Includes JSON:API 1.1 'describedby' link for API documentation.