Created
February 4, 2019 15:55
-
-
Save es0329/df4d225ef98ed4e32e1b917c192108c1 to your computer and use it in GitHub Desktop.
## Role Offerscurl "https://obsidian.wombang.com/v1/workflow/role-offers/42/?filter%5Baccount_id%5D=58&filter%5Bstate%5D=open&include=locked-spot,locked-spot.tasks" \ -H 'Content-Type: application/vnd.api+json' \ -H 'Authorization: Bearer ***** Hidden credentials *****' \ -H 'X-IZEA-Account-ID: 58'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "data": { | |
| "id": "42", | |
| "type": "workflow/role-offers", | |
| "attributes": { | |
| "current": true, | |
| "side": "buy", | |
| "state": "open", | |
| "system-terms-accepted-at": null, | |
| "transactions": { | |
| "deliverables": [ | |
| { | |
| "ident": "blog-post-deliverable", | |
| "price": 200, | |
| "units": [ | |
| { | |
| "ident": "blog-post-unit", | |
| "tasks": [ | |
| { | |
| "ident": "blog-post-delivery", | |
| "connectionId": 140 | |
| } | |
| ] | |
| }, | |
| { | |
| "ident": "twitter-share_70b1a85b-5dab-465c-b2c8-d6db63d3147f", | |
| "tasks": [ | |
| { | |
| "ident": "twitter-delivery", | |
| "connectionId": 42 | |
| } | |
| ] | |
| }, | |
| { | |
| "ident": "facebook-share_832a7aa1-e272-4e64-ba0f-d95d377a0443", | |
| "tasks": [ | |
| { | |
| "ident": "facebook-delivery", | |
| "connectionId": 101 | |
| } | |
| ] | |
| }, | |
| { | |
| "ident": "instagram-share_d242302b-e0af-491b-9b5b-05e3f3a387b4", | |
| "tasks": [ | |
| { | |
| "ident": "instagram-delivery", | |
| "connectionId": 90 | |
| } | |
| ] | |
| } | |
| ], | |
| "spotCompensation": 98 | |
| } | |
| ] | |
| } | |
| }, | |
| "relationships": { | |
| "account": { | |
| "data": { | |
| "type": "accounts", | |
| "id": "58" | |
| } | |
| }, | |
| "locked-spot": { | |
| "links": { | |
| "self": "/v1/workflow/role-offers/42/relationships/locked-spot", | |
| "related": "/v1/workflow/role-offers/42/locked-spot" | |
| }, | |
| "data": { | |
| "type": "workflow/spots", | |
| "id": "67" | |
| } | |
| }, | |
| "role": { | |
| "links": { | |
| "self": "/v1/workflow/role-offers/42/relationships/role", | |
| "related": "/v1/workflow/role-offers/42/role" | |
| } | |
| }, | |
| "spot": { | |
| "links": { | |
| "self": "/v1/workflow/role-offers/42/relationships/spot", | |
| "related": "/v1/workflow/role-offers/42/spot" | |
| } | |
| }, | |
| "parent": { | |
| "links": { | |
| "self": "/v1/workflow/role-offers/42/relationships/parent", | |
| "related": "/v1/workflow/role-offers/42/parent" | |
| } | |
| }, | |
| "children": { | |
| "links": { | |
| "self": "/v1/workflow/role-offers/42/relationships/children", | |
| "related": "/v1/workflow/role-offers/42/children" | |
| } | |
| } | |
| } | |
| }, | |
| "included": [ | |
| { | |
| "id": "67", | |
| "type": "workflow/spots", | |
| "relationships": { | |
| "order": { | |
| "links": { | |
| "self": "/v1/workflow/spots/67/relationships/order", | |
| "related": "/v1/workflow/spots/67/order" | |
| } | |
| }, | |
| "role": { | |
| "links": { | |
| "self": "/v1/workflow/spots/67/relationships/role", | |
| "related": "/v1/workflow/spots/67/role" | |
| } | |
| }, | |
| "locking-role-offer": { | |
| "links": { | |
| "self": "/v1/workflow/spots/67/relationships/locking-role-offer", | |
| "related": "/v1/workflow/spots/67/locking-role-offer" | |
| } | |
| }, | |
| "role-offer": { | |
| "links": { | |
| "self": "/v1/workflow/spots/67/relationships/role-offer", | |
| "related": "/v1/workflow/spots/67/role-offer" | |
| } | |
| }, | |
| "tasks": { | |
| "links": { | |
| "self": "/v1/workflow/spots/67/relationships/tasks", | |
| "related": "/v1/workflow/spots/67/tasks" | |
| }, | |
| "data": [ | |
| { | |
| "type": "workflow/tasks", | |
| "id": "102" | |
| }, | |
| { | |
| "type": "workflow/tasks", | |
| "id": "105" | |
| }, | |
| { | |
| "type": "workflow/tasks", | |
| "id": "108" | |
| }, | |
| { | |
| "type": "workflow/tasks", | |
| "id": "111" | |
| }, | |
| { | |
| "type": "workflow/tasks", | |
| "id": "106" | |
| }, | |
| { | |
| "type": "workflow/tasks", | |
| "id": "100" | |
| }, | |
| { | |
| "type": "workflow/tasks", | |
| "id": "103" | |
| }, | |
| { | |
| "type": "workflow/tasks", | |
| "id": "109" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "102", | |
| "type": "workflow/tasks", | |
| "attributes": { | |
| "data": { | |
| "fields": [ | |
| "post-url" | |
| ], | |
| "url_field": "post-url", | |
| "publish_field": "content" | |
| }, | |
| "ident": "blog-post-delivery", | |
| "state": "pending", | |
| "task-type": "manual_blog_delivery", | |
| "due-on": null | |
| }, | |
| "relationships": { | |
| "unit": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/102/relationships/unit", | |
| "related": "/v1/workflow/tasks/102/unit" | |
| } | |
| }, | |
| "spot": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/102/relationships/spot", | |
| "related": "/v1/workflow/tasks/102/spot" | |
| } | |
| }, | |
| "field-set-revisions": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/102/relationships/field-set-revisions", | |
| "related": "/v1/workflow/tasks/102/field-set-revisions" | |
| } | |
| }, | |
| "latest-revision": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/102/relationships/latest-revision", | |
| "related": "/v1/workflow/tasks/102/latest-revision" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "id": "105", | |
| "type": "workflow/tasks", | |
| "attributes": { | |
| "data": { | |
| "url_field": "post-url", | |
| "publish_field": "content" | |
| }, | |
| "ident": "twitter-delivery", | |
| "state": "pending", | |
| "task-type": "twitter_delivery", | |
| "due-on": null | |
| }, | |
| "relationships": { | |
| "unit": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/105/relationships/unit", | |
| "related": "/v1/workflow/tasks/105/unit" | |
| } | |
| }, | |
| "spot": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/105/relationships/spot", | |
| "related": "/v1/workflow/tasks/105/spot" | |
| } | |
| }, | |
| "field-set-revisions": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/105/relationships/field-set-revisions", | |
| "related": "/v1/workflow/tasks/105/field-set-revisions" | |
| } | |
| }, | |
| "latest-revision": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/105/relationships/latest-revision", | |
| "related": "/v1/workflow/tasks/105/latest-revision" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "id": "108", | |
| "type": "workflow/tasks", | |
| "attributes": { | |
| "data": { | |
| "url_field": "post-url", | |
| "publish_field": "content" | |
| }, | |
| "ident": "facebook-delivery", | |
| "state": "pending", | |
| "task-type": "facebook_delivery", | |
| "due-on": null | |
| }, | |
| "relationships": { | |
| "unit": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/108/relationships/unit", | |
| "related": "/v1/workflow/tasks/108/unit" | |
| } | |
| }, | |
| "spot": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/108/relationships/spot", | |
| "related": "/v1/workflow/tasks/108/spot" | |
| } | |
| }, | |
| "field-set-revisions": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/108/relationships/field-set-revisions", | |
| "related": "/v1/workflow/tasks/108/field-set-revisions" | |
| } | |
| }, | |
| "latest-revision": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/108/relationships/latest-revision", | |
| "related": "/v1/workflow/tasks/108/latest-revision" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "id": "111", | |
| "type": "workflow/tasks", | |
| "attributes": { | |
| "data": { | |
| "url_field": "post-url", | |
| "publish_field": "content" | |
| }, | |
| "ident": "instagram-delivery", | |
| "state": "pending", | |
| "task-type": "instagram_delivery", | |
| "due-on": null | |
| }, | |
| "relationships": { | |
| "unit": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/111/relationships/unit", | |
| "related": "/v1/workflow/tasks/111/unit" | |
| } | |
| }, | |
| "spot": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/111/relationships/spot", | |
| "related": "/v1/workflow/tasks/111/spot" | |
| } | |
| }, | |
| "field-set-revisions": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/111/relationships/field-set-revisions", | |
| "related": "/v1/workflow/tasks/111/field-set-revisions" | |
| } | |
| }, | |
| "latest-revision": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/111/relationships/latest-revision", | |
| "related": "/v1/workflow/tasks/111/latest-revision" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "id": "106", | |
| "type": "workflow/tasks", | |
| "attributes": { | |
| "data": { | |
| "fields": [ | |
| "media", | |
| "content" | |
| ] | |
| }, | |
| "ident": "facebook-content-creation", | |
| "state": "pending", | |
| "task-type": "content_creation", | |
| "due-on": "2018-12-12" | |
| }, | |
| "relationships": { | |
| "unit": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/106/relationships/unit", | |
| "related": "/v1/workflow/tasks/106/unit" | |
| } | |
| }, | |
| "spot": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/106/relationships/spot", | |
| "related": "/v1/workflow/tasks/106/spot" | |
| } | |
| }, | |
| "field-set-revisions": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/106/relationships/field-set-revisions", | |
| "related": "/v1/workflow/tasks/106/field-set-revisions" | |
| } | |
| }, | |
| "latest-revision": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/106/relationships/latest-revision", | |
| "related": "/v1/workflow/tasks/106/latest-revision" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "id": "100", | |
| "type": "workflow/tasks", | |
| "attributes": { | |
| "data": { | |
| "fields": [ | |
| "content" | |
| ] | |
| }, | |
| "ident": "content-creation", | |
| "state": "pending", | |
| "task-type": "content_creation", | |
| "due-on": "2018-12-12" | |
| }, | |
| "relationships": { | |
| "unit": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/100/relationships/unit", | |
| "related": "/v1/workflow/tasks/100/unit" | |
| } | |
| }, | |
| "spot": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/100/relationships/spot", | |
| "related": "/v1/workflow/tasks/100/spot" | |
| } | |
| }, | |
| "field-set-revisions": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/100/relationships/field-set-revisions", | |
| "related": "/v1/workflow/tasks/100/field-set-revisions" | |
| } | |
| }, | |
| "latest-revision": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/100/relationships/latest-revision", | |
| "related": "/v1/workflow/tasks/100/latest-revision" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "id": "103", | |
| "type": "workflow/tasks", | |
| "attributes": { | |
| "data": { | |
| "fields": [ | |
| "media", | |
| "content" | |
| ] | |
| }, | |
| "ident": "twitter-content-creation", | |
| "state": "pending", | |
| "task-type": "content_creation", | |
| "due-on": "2018-12-12" | |
| }, | |
| "relationships": { | |
| "unit": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/103/relationships/unit", | |
| "related": "/v1/workflow/tasks/103/unit" | |
| } | |
| }, | |
| "spot": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/103/relationships/spot", | |
| "related": "/v1/workflow/tasks/103/spot" | |
| } | |
| }, | |
| "field-set-revisions": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/103/relationships/field-set-revisions", | |
| "related": "/v1/workflow/tasks/103/field-set-revisions" | |
| } | |
| }, | |
| "latest-revision": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/103/relationships/latest-revision", | |
| "related": "/v1/workflow/tasks/103/latest-revision" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "id": "109", | |
| "type": "workflow/tasks", | |
| "attributes": { | |
| "data": { | |
| "fields": [ | |
| "media", | |
| "content" | |
| ] | |
| }, | |
| "ident": "instagram-content-creation", | |
| "state": "pending", | |
| "task-type": "content_creation", | |
| "due-on": "2018-12-12" | |
| }, | |
| "relationships": { | |
| "unit": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/109/relationships/unit", | |
| "related": "/v1/workflow/tasks/109/unit" | |
| } | |
| }, | |
| "spot": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/109/relationships/spot", | |
| "related": "/v1/workflow/tasks/109/spot" | |
| } | |
| }, | |
| "field-set-revisions": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/109/relationships/field-set-revisions", | |
| "related": "/v1/workflow/tasks/109/field-set-revisions" | |
| } | |
| }, | |
| "latest-revision": { | |
| "links": { | |
| "self": "/v1/workflow/tasks/109/relationships/latest-revision", | |
| "related": "/v1/workflow/tasks/109/latest-revision" | |
| } | |
| } | |
| } | |
| } | |
| ], | |
| "jsonapi": { | |
| "version": "1.0" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment