Comments (4)
Hey, just a heads up I'll be merging support for this shortly!
from json-api.
This is the exact API that will land in v1. Docs are being written at the moment. Thanks Sam.
from json-api.
hi @timacdonald is this possible today? can not see on docs, thank you
from json-api.
currently this way works
return ItemResource::collection(
// ...
)
->additional([ // << -----
'meta' => [
'test_key' => 'test_value',
],
]);
"meta": {
// ...
"test_key": "test_value"
},
from json-api.
Related Issues (20)
- [Question] How to include tree relationships? HOT 7
- Getting empty results in browser
- Using with non Model resources. HOT 1
- Laravel 10 support HOT 1
- Laravel 10 support HOT 2
- Default include relationship HOT 1
- JsonApiServerImplementation 'final'`, doesn't allow custom implementations HOT 2
- Relationship attributes are not displayed in the response HOT 2
- Do this for James
- Lumen support? HOT 1
- Relationships not shown while having data HOT 5
- How to get from JsonResource to JsonApiResource HOT 1
- Type is plural HOT 1
- Relationship data is not shown as expected HOT 6
- Is the response following v1.0 or ? HOT 1
- laravel 10
- i now want some vegemite HOT 2
- Clarification for how to use with many to many HOT 3
- included section not showing in my json response HOT 1
- How to define a `morphTo` relationship? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-api.