You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to jsonapi-rb it is possible to define a meta key when serializing a resource's relationship(s) documents.
My use case is that, when requesting e.g. /api/v1/jobs/:job_id to fetch a serialized job record (that has many related outputs, i.e. a job produces outputs), I want to see some metadata describing the number of outputs associated with the job:
According to
jsonapi-rb
it is possible to define ameta
key when serializing a resource's relationship(s) documents.My use case is that, when requesting e.g.
/api/v1/jobs/:job_id
to fetch a serialized job record (that has many related outputs, i.e. a job produces outputs), I want to see some metadata describing the number of outputs associated with the job:Is this possible to do using this library? Thank you.
The text was updated successfully, but these errors were encountered: