Skip to content

Instantly share code, notes, and snippets.

@ckung
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckung/6a1ee10b513f45a1dab0 to your computer and use it in GitHub Desktop.
Save ckung/6a1ee10b513f45a1dab0 to your computer and use it in GitHub Desktop.
PUT : http://ci.vf.api.conde.io/v2/lists/53cec3c8fa1f2ecb440e53a9 : BODY : { meta:
{ collectionName: 'lists',
modelName: 'list',
publishable: true,
image: false },
_links: '/lists/53cec3c8fa1f2ecb440e53a9/revisions/8/rels',
id: '53cec3c8fa1f2ecb440e53a9',
createdAt: '2014-07-22T20:04:24.163Z',
modifiedAt: '2014-08-02T15:27:48.744Z',
revision: 9,
hed: 'VF-Hollywood',
channel: 'Hollywood',
subChannel: 'Celebrity News',
dek: 'lalalalal',
tags: [ 'tags', 'television' ],
publishHistory:
{ page: 1,
totalCount: 3,
meta:
{ collectionName: 'lists',
modelName: 'list',
publishable: true,
image: false },
_links: { self: [Object] },
hasMore: false,
data: [ [Object], [Object], [Object] ] },
items:
[ { relId: '53d805ab51c1ebe53e6dbe5b',
hed: 'This is a hed, a beautiful hed',
dek: '',
tags: [] } ] }
PUT : http://ci.vf.api.conde.io/v2/lists/53cec3c8fa1f2ecb440e53a9/rels/inline : BODY : []
PUT : http://ci.vf.api.conde.io/v2/lists/53cec3c8fa1f2ecb440e53a9/rels/items : BODY : [ { hed: 'This is a hed, a beautiful hed',
dek: 'this is a dek',
channel: 'VF Hollywood',
subChannel: '',
body: '[#twitter: https://twitter.com/HP/statuses/494127990368768000]\n\n\n',
tags: [],
contentSource: 'web',
rubric: '',
ledeCaption: '',
id: '53d805ab51c1ebe53e6dbe5b',
revision: 2,
createdAt: '2014-07-29T20:35:55.837Z',
modifiedAt: '2014-07-30T17:10:53.957Z',
revisionCreatedAt: '2014-07-30T17:10:53.957Z',
meta:
{ collectionName: 'articles',
modelName: 'article',
publishable: true,
image: false },
seoTitle: 'This is a hed, a beautiful hed',
socialTitle: 'This is a hed, a beautiful hed',
_embedded:
{ photosTout: [Object],
contributorsAuthor: [],
publishHistory: [Object] },
_links:
{ self: [Object],
rels: [Object],
relate: [Object],
publish: [Object],
publishHistory: [Object],
next: [Object],
previous: [Object],
more: [Object] },
photosTout: [ [Object] ] } ]
PUT : http://ci.vf.api.conde.io/v2/lists/53cec3c8fa1f2ecb440e53a9/rels/photosTout : BODY : []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment