|
Base URL for all API requests*1 |
|
| Network Specific | http://networkurl |
| All Public Networks*2 | http://api.ning.com/atom/1.0/ |
|
*1 use https:// and HTTP Basic Authentication for any operation for which you want to retrieve private data, this operations can only be made by the network owner *2 currently only available for vintage networks and apps, does not lists content from new social networks |
|
|
Atom Endpoints for Fetching data (GET)* |
|
|
/content(C) |
Returns a feed of content entries. |
| /content(C)/rollup(R) | Returns a feed of <xn:rollup /> elements describing content rolled-up as indicated by R. |
|
/application |
Returns a feed containing an <entry /> describing the current application, if that application exists. |
|
/profile(P) |
Returns a feed of profiles matching selector P |
|
/content(C)/tag |
Returns a feed of tags for content matching selector C. |
|
/tag(T)/content |
Returns a feed of content tagged with tags matching selector T. |
| /tag(T)/rollup(R) |
Returns a feed of <xn:rollup /> elements describing tags against all content in the app rolled up by frequency. |
| * application parenting (clones) and roles stystem related endpoints not listed for summarization purposes check the complete list at http://lear.ning.com/old-documentation/app/sections/rest.php | |
| Examples |
|
Basic account information for the user of id david on Network Creators http://networkcreators.ning.com/xn/atom/1.0/profile(id='david') |
|
Information of the user profile*1 of the member of id david on Network Creators http://networkcreators.ning.com/xn/atom/1.0/content(type='User'&author='david') |
|
The 100 most recent public contents*2 (of any type) on the Developer Network http://developer.ning.com/xn/atom/1.0/content?order=published@D |
|
The 10 most viewed photos on Brooklyn Art Project http://brooklynartproject.ning.com/xn/atom/1.0/content(type='Photo')?order=my.viewCount@D&from=0&to=10 |
|
The 10 most voted photos tagged with brooklynbattle on Brooklyn Art Project http://brooklynartproject.ning.com/xn/atom/1.0/tag(value='brooklynbattle')/content(type='Photo')?order=my.ratingCount@D&from=0&to=10 |
|
The 5 most commented forum topics in Network Creators of all time http://networkcreators.ning.com/xn/atom/1.0/content(type='Topic'&my.xg_forum_commentCount>1)?order=my.xg_forum_commentCount@D&from=0&to=5 |
|
The first 5 forum topics of Jetset Show http://jetsetshow.ning.com/xn/atom/1.0/content(type='Topic')?order=published@A&from=0&to=5 |
|
The number of Users on the Developer Network (check the value of <xn:rollup key="User"> ) http://developer.ning.com/xn/atom/1.0/content/rollup(field='type') |
|
The most recent videos tagged 'funny' over all non-social networks http://api.ning.com/atom/1.0/tag(value='funny')/content(type='Video')?order=published@D |
|
CCHits MusicTracks with more than 2 votes, voted by fabricio, tagged with instrument by fabricio and licensed with creative commons Attribution Non-commercial 2.5 http://cchits.ning.com/xn/atom/1.0/tag(value='instrumental'&author='fabricio')/content(type='MusicTrack'&my.voted_by%20likeic%20'fabricio'%20&my.votes_total%3E2&my.license_url='http://creativecommons.org/licenses/by-nc/2.5/') |
|
*1: currently, if the network contains private questions the user profile information is private *2: forum replies, and comments are currently private by default, so they will not show up on results unless you are authenticated as the network owner |