Skip to content

Instantly share code, notes, and snippets.

@azat-co
Created April 17, 2013 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save azat-co/5407980 to your computer and use it in GitHub Desktop.
Save azat-co/5407980 to your computer and use it in GitHub Desktop.
Example response to a **GET** `v1/stories/storifydev/node-js-news` request.
{ content:
{ sid: '516f1018384ca80000000011',
title: 'node.js news',
slug: 'node-js-news',
status: 'working',
version: 1,
permalink: 'http://storify.com/storify/node-js-news',
description: null,
thumbnail: 'http://storify.com/public/img/default-thumb.gif',
date:
{ created: '2013-04-17T21:11:52.729Z',
modified: '2013-04-17T21:11:53.211Z',
published: null },
private: false,
not_indexed: false,
topics: [],
siteposts: [],
meta:
{ quoted:
[ { username: 'tjanczuk',
name: 'Tomasz Janczuk',
userid: '205858265',
avatar: 'http://a0.twimg.com/profile_images/1149898823/D70-100-3785_normal.jpg',
source: 'twitter',
notified_at: null },
{ username: 'rpflorence',
name: 'rpflorence',
source: 'github',
notified_at: null } ],
hashtags: [ '#edgejs', '#python', '#nodejs' ] },
stats:
{ ...},
modified: null,
deleted: false,
canEdit: true,
comments: [],
page: 1,
per_page: 20,
elements:
[ { id: '516f1018384ca80000000016',
eid: 'f1f7730398249d8482886a1c',
type: 'image',
permalink: 'https://twitter.com/tjanczuk/status/319702227902136320',
posted_at: '2013-04-17T21:11:52.756Z',
added_at: '2013-04-17T21:11:52.756Z',
data:
{ image:
{ caption: 'tjanczuk: Node.js embraces Python an ...',
src: 'http://pbs.twimg.com/media/BG_Pe4CCAAAlG5m.png' },
oembed:
{ type: 'rich',
html: '',
thumbnail_url: 'http://a0.twimg.com/profile_images/1149898823/D70-100-3785_normal.jpg',
title: 'Twitter / tjanczuk: Node.js embraces Python an ...',
provider_url: 'http://twitter.com',
provider_name: 'Twitter',
author_url: 'https://twitter.com/tjanczuk',
author_name: 'Tomasz Janczuk',
url: 'https://twitter.com/tjanczuk/status/319702227902136320' },
link:
{ rest_api_url: 'https://api.twitter.com/1.1/statuses/show.json?id=319702227902136320',
oembed_url: 'https://api.twitter.com/1.1/statuses/oembed.json?id=319702227902136320',
thumbnail: 'http://a0.twimg.com/profile_images/1149898823/D70-100-3785_normal.jpg',
description: 'Twitter / tjanczuk: Node.js embraces Python an ...',
title: 'Twitter / tjanczuk: Node.js embraces Python an ...' } },
source:
{ name: 'twitter',
href: 'http://twitter.com',
userid: '205858265',
username: 'tjanczuk' },
attribution:
{ name: 'Tomasz Janczuk',
username: 'tjanczuk',
service_userid: '205858265',
href: 'http://twitter.com/tjanczuk',
thumbnail: 'http://a0.twimg.com/profile_images/1149898823/D70-100-3785_normal.jpg' },
comments: [],
stats: { likes: 0, comments: 0 },
liked: false },
{ ...}]
author:
{ ... },
code: 200 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment