From d7484504846b19ea84781838be5087a449fb0999 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Sat, 28 Jan 2023 13:27:38 +1100 Subject: [PATCH] wip --- README.md | 2 +- foo.json | 54 ------------------------------------------------------ 2 files changed, 1 insertion(+), 55 deletions(-) delete mode 100644 foo.json diff --git a/README.md b/README.md index 20d3694..84e564e 100644 --- a/README.md +++ b/README.md @@ -591,7 +591,7 @@ class AppServiceProvider extends ServiceProvider ### Relationships -//----- WIP------- // +//----- Everything that follows is WIP and should be ignored ------- // ## Resource Identification diff --git a/foo.json b/foo.json deleted file mode 100644 index d4aedaa..0000000 --- a/foo.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "data": [ - { - "id": "25240", - "type": "posts", - "attributes": { - "title": "So what is JSON:API all about anyway?", - "excerpt": "..." - }, - "relationships": { - "author": { - "data": { - "type": "users", - "id": "74812", - "meta": {} - }, - "meta": {}, - "links": {} - } - } - }, - { - "id": "39974", - "type": "posts", - "attributes": { - "title": "Building an API with Laravel, using the JSON:API specification.", - "excerpt": "..." - }, - "relationships": { - "author": { - "data": { - "type": "users", - "id": "74812", - "meta": {} - }, - "meta": {}, - "links": {} - } - } - } - ], - "included": [ - { - "type": "users", - "id": "74812", - "attributes": { - "name": "Tim" - }, - "relationships": {}, - "meta": {}, - "links": {} - } - ] -}