Skip to content

Latest commit

 

History

History
52 lines (46 loc) · 1.63 KB

File metadata and controls

52 lines (46 loc) · 1.63 KB
title Feeds API
author_name pengwynn

Today we're releasing a new Feeds API, an easy way to list all the Atom resources available to the authenticated user.

$ curl -u defunkt https://api.github.com/feeds

> {
>   "timeline_url": "https://github.com/timeline",
>   "user_url": "https://github.com/{user}",
>   "current_user_public_url": "https://github.com/defunkt",
>   "current_user_url": "https://github.com/defunkt.private?token=abc123",
>   "current_user_actor_url": "https://github.com/defunkt.private.actor?token=abc123",
>   "current_user_organization_url": "https://github.com/organizations/{org}/defunkt.private.atom?token=abc123",
>   "_links": {
>    "timeline": {
>      "href": "https://github.com/timeline",
>      "type": "application/atom+xml"
>    },
>    "user": {
>      "href": "https://github.com/{user}",
>      "type": "application/atom+xml"
>    },
>    "current_user_public": {
>      "href": "https://github.com/defunkt",
>      "type": "application/atom+xml"
>    },
>    "current_user": {
>      "href": "https://github.com/defunkt.private?token=abc123",
>      "type": "application/atom+xml"
>    },
>    "current_user_actor": {
>      "href": "https://github.com/defunkt.private.actor?token=abc123",
>      "type": "application/atom+xml"
>    },
>    "current_user_organization": {
>      "href": "https://github.com/organizations/{org}/defunkt.private.atom?token=abc123",
>      "type": "application/atom+xml"
>    }
>   }
> }

If you have any questions or feedback, please drop us a line.