{"id":3116,"date":"2014-01-23T17:03:14","date_gmt":"2014-01-24T01:03:14","guid":{"rendered":"http:\/\/107.21.221.225\/ning3help\/?page_id=3116"},"modified":"2019-10-21T08:17:58","modified_gmt":"2019-10-21T15:17:58","slug":"ning-3-0-api-responses","status":"publish","type":"page","link":"https:\/\/www.ning.com\/ning3help\/ning-3-0-api-responses\/","title":{"rendered":"Ning 3.0 API Response Overview"},"content":{"rendered":"<div class=\"section\" id=\"response-structure\">\n<h2>Response Structure<a class=\"headerlink\" href=\"#response-structure\" title=\"Permalink to this headline\"><\/a><\/h2>\n<p>Responses from resources are formatted as <a class=\"reference external\" href=\"http:\/\/en.wikipedia.org\/wiki\/JSON\">JSON<\/a> objects. The exact structure of the<br \/>\nresponse object will vary depending on the resource, parameters, and request<br \/>\ntype. Additional details on the exact structure of a response can be found in<br \/>\nthe sections below and on the <a href=\"https:\/\/www.ning.com\/ning3help\/ning-3-0-api-requests\/\"><em>Request Types<\/em><\/a> page.<\/p>\n<\/div>\n<div class=\"section\" id=\"caching\">\n<h2>Caching<a class=\"headerlink\" href=\"#caching\" title=\"Permalink to this headline\"><\/a><\/h2>\n<p>The data returned by queries is not cached, metadata used for determining<br \/>\naccess rights and site properties is cached for less than ten seconds.<\/p>\n<p>This means that if a photo has it\u2019s visibility changed from <tt class=\"docutils literal\"><span class=\"pre\">me<\/span><\/tt> to <tt class=\"docutils literal\"><span class=\"pre\">all<\/span><\/tt>,<br \/>\nit is possible that a request made by another member within ten seconds of the<br \/>\nchange will not include the photo in the response.<\/p>\n<p>On the other hand, an update to a blog post\u2019s title will be seen immediately by<br \/>\nthe next request.<\/p>\n<\/div>\n<div class=\"section\" id=\"successful-response\">\n<h2>Successful Response<a class=\"headerlink\" href=\"#successful-response\" title=\"Permalink to this headline\"><\/a><\/h2>\n<div class=\"section\" id=\"read-responses\">\n<h3>Read responses<a class=\"headerlink\" href=\"#read-responses\" title=\"Permalink to this headline\"><\/a><\/h3>\n<p>There are 3 types of responses you can get from a successful READ request:<br \/>\n<strong>single item<\/strong>, <strong>multi-item<\/strong>, and <strong>list<\/strong><\/p>\n<div class=\"section\" id=\"single-item-response\">\n<h4>Single Item Response<a class=\"headerlink\" href=\"#single-item-response\" title=\"Permalink to this headline\"><\/a><\/h4>\n<p>Single item requests are requests for a specific content item by it\u2019s ID. The<br \/>\nresponse contains two properties: success and entry. Success will be true and<br \/>\nentry will contain a JSON representation of the requested item. If the requested<br \/>\nitem cannot be found the server will respond with a 404 error.<\/p>\n<p>Example: If you made a request for a blog post on a site:<\/p>\n<div class=\"highlight-python\">\n<pre>GET http:\/\/external.ningapis.com\/xn\/rest\/apiexample\/2.0\/BlogPost?id=2570916:BlogPost:322<\/pre>\n<\/div>\n<p>Your response would be structured like the following:<\/p>\n<div class=\"highlight-javascript\">\n<div class=\"highlight\">\n<pre><span class=\"p\">{<\/span>\n    <span class=\"s2\">\"success\"<\/span><span class=\"o\">:<\/span> <span class=\"kc\">true<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"entry\"<\/span><span class=\"o\">:<\/span> <span class=\"p\">[{<\/span>\n        <span class=\"s2\">\"id\"<\/span><span class=\"o\">:<\/span> <span class=\"s2\">\"2570916:BlogPost:322\"<\/span><span class=\"p\">,<\/span>\n        <span class=\"s2\">\"author\"<\/span><span class=\"o\">:<\/span> <span class=\"s2\">\"3ixs6bzjxfkv6\"<\/span><span class=\"p\">,<\/span>\n        <span class=\"s2\">\"title\"<\/span><span class=\"o\">:<\/span> <span class=\"s2\">\"Cycling Las Vegas\"<\/span><span class=\"p\">,<\/span>\n        <span class=\"s2\">\"description\"<\/span><span class=\"o\">:<\/span> <span class=\"s2\">\"Cycling in Las Vegas is better than you would think\"<\/span>\n    <span class=\"p\">}],<\/span>\n<span class=\"p\">}<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"section\" id=\"multi-item-response\">\n<h4>Multi-Item Response<a class=\"headerlink\" href=\"#multi-item-response\" title=\"Permalink to this headline\"><\/a><\/h4>\n<p>The request is made for multiple content items using multiple <tt class=\"docutils literal\"><span class=\"pre\">id<\/span><\/tt> parameters.<br \/>\nThe resulting <tt class=\"docutils literal\"><span class=\"pre\">entry<\/span><\/tt> resource will be an array of JSON representations or an<br \/>\nempty array if none of the items could be found.<\/p>\n<p>Example: If you made a request for 2 photos on a site:<\/p>\n<div class=\"highlight-python\">\n<pre>GET http:\/\/external.ningapis.com\/xn\/rest\/examplenetwork\/2.0\/Photo?id=1220999:Photo:5605&amp;id=1220999:Photo:5591<\/pre>\n<\/div>\n<p>Your response would be structured like the following:<\/p>\n<div class=\"highlight-javascript\">\n<div class=\"highlight\">\n<pre><span class=\"p\">{<\/span>\n  <span class=\"s2\">\"success\"<\/span> <span class=\"o\">:<\/span> <span class=\"kc\">true<\/span><span class=\"p\">,<\/span>\n  <span class=\"s2\">\"entry\"<\/span> <span class=\"o\">:<\/span> <span class=\"p\">[<\/span> <span class=\"p\">{<\/span>\n    <span class=\"s2\">\"id\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"1220999:Photo:5591\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"author\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"exampleuser\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"createdDate\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"2014-01-26T23:20:13.591Z\"<\/span>\n  <span class=\"p\">},<\/span> <span class=\"p\">{<\/span>\n    <span class=\"s2\">\"id\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"1220999:Photo:5605\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"author\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"qrwc2g2iqjhi\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"createdDate\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"2014-01-26T20:49:06.605Z\"<\/span>\n  <span class=\"p\">}<\/span> <span class=\"p\">],<\/span>\n  <span class=\"s2\">\"resources\"<\/span> <span class=\"o\">:<\/span> <span class=\"p\">{<\/span>\n  <span class=\"p\">}<\/span>\n<span class=\"p\">}<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"section\" id=\"list-response\">\n<h4>List Response<a class=\"headerlink\" href=\"#list-response\" title=\"Permalink to this headline\"><\/a><\/h4>\n<p>Requests for lists of items (such as \/BlogPost\/recent) will return an array of<br \/>\nJSON representations or an empty array. It will also contain information for<br \/>\npaginating through the result set.<\/p>\n<dl class=\"docutils\">\n<dt><strong>anchor<\/strong><\/dt>\n<dd>A token used to identify the current page of results relative to the entire<br \/>\nset<\/dd>\n<dt><strong>firstPage<\/strong><\/dt>\n<dd>If true, this is the first page of the result set<\/dd>\n<dt><strong>lastPage<\/strong><\/dt>\n<dd>If true, this is the last page of the result set<\/dd>\n<\/dl>\n<p>Example: If you made a request for the 5 most recent photos on a site:<\/p>\n<div class=\"highlight-python\">\n<pre>GET http:\/\/external.ningapis.com\/xn\/rest\/examplenetwork\/2.0\/Photo\/recent?count=5<\/pre>\n<\/div>\n<p>Your response would be structured like the following:<\/p>\n<div class=\"highlight-javascript\">\n<div class=\"highlight\">\n<pre><span class=\"p\">{<\/span>\n  <span class=\"s2\">\"success\"<\/span> <span class=\"o\">:<\/span> <span class=\"kc\">true<\/span><span class=\"p\">,<\/span>\n  <span class=\"s2\">\"anchor\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"sBLHSuPH8xNPdBxyRHy3pw\"<\/span><span class=\"p\">,<\/span>\n  <span class=\"s2\">\"firstPage\"<\/span> <span class=\"o\">:<\/span> <span class=\"kc\">true<\/span><span class=\"p\">,<\/span>\n  <span class=\"s2\">\"lastPage\"<\/span> <span class=\"o\">:<\/span> <span class=\"kc\">false<\/span><span class=\"p\">,<\/span>\n  <span class=\"s2\">\"entry\"<\/span> <span class=\"o\">:<\/span> <span class=\"p\">[<\/span> <span class=\"p\">{<\/span>\n    <span class=\"s2\">\"id\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"1220999:Photo:5868\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"author\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"exampleuser\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"createdDate\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"2013-06-02T10:54:41.868Z\"<\/span>\n  <span class=\"p\">},<\/span> <span class=\"p\">{<\/span>\n    <span class=\"s2\">\"id\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"1220999:Photo:5605\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"author\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"qrwc2g2iqjhi\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"createdDate\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"2013-02-26T20:49:06.605Z\"<\/span>\n  <span class=\"p\">},<\/span> <span class=\"p\">{<\/span>\n    <span class=\"s2\">\"id\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"1220999:Photo:5591\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"author\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"exampleuser\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"createdDate\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"2013-01-26T23:20:13.591Z\"<\/span>\n  <span class=\"p\">},<\/span> <span class=\"p\">{<\/span>\n    <span class=\"s2\">\"id\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"1220999:Photo:5590\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"author\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"exampleuser\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"createdDate\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"2013-01-26T23:09:02.590Z\"<\/span>\n  <span class=\"p\">},<\/span> <span class=\"p\">{<\/span>\n    <span class=\"s2\">\"id\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"1220999:Photo:5589\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"author\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"exampleuser\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"createdDate\"<\/span> <span class=\"o\">:<\/span> <span class=\"s2\">\"2013-01-26T21:32:44.589Z\"<\/span>\n  <span class=\"p\">}<\/span> <span class=\"p\">],<\/span>\n  <span class=\"s2\">\"resources\"<\/span> <span class=\"o\">:<\/span> <span class=\"p\">{<\/span>\n  <span class=\"p\">}<\/span>\n<span class=\"p\">}<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"section\" id=\"count-response\">\n<h4>Count Response<a class=\"headerlink\" href=\"#count-response\" title=\"Permalink to this headline\"><\/a><\/h4>\n<p>Count requests return the number of items created after a user specified date.<br \/>\nFor a successful count request, your response will contain two properties:<br \/>\n<tt class=\"docutils literal\"><span class=\"pre\">success<\/span><\/tt> and <tt class=\"docutils literal\"><span class=\"pre\">count<\/span><\/tt>. <tt class=\"docutils literal\"><span class=\"pre\">success<\/span><\/tt> will be <tt class=\"docutils literal\"><span class=\"pre\">true<\/span><\/tt> and <tt class=\"docutils literal\"><span class=\"pre\">count<\/span><\/tt> will be<br \/>\nthe number of items in the result set.<\/p>\n<div class=\"highlight-javascript\">\n<div class=\"highlight\">\n<pre><span class=\"p\">{<\/span>\n    <span class=\"s2\">\"success\"<\/span><span class=\"o\">:<\/span> <span class=\"kc\">true<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"count\"<\/span><span class=\"o\">:<\/span> <span class=\"mi\">23<\/span>\n<span class=\"p\">}<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"section\" id=\"create-responses\">\n<h3>Create responses<a class=\"headerlink\" href=\"#create-responses\" title=\"Permalink to this headline\"><\/a><\/h3>\n<p>For a successful CREATE request, your response will contain two properties:<br \/>\n<tt class=\"docutils literal\"><span class=\"pre\">success<\/span><\/tt> and <tt class=\"docutils literal\"><span class=\"pre\">id<\/span><\/tt>. <tt class=\"docutils literal\"><span class=\"pre\">success<\/span><\/tt> will be <tt class=\"docutils literal\"><span class=\"pre\">true<\/span><\/tt> and <tt class=\"docutils literal\"><span class=\"pre\">id<\/span><\/tt> will be the ID<br \/>\nof the item you just created.<\/p>\n<p>Example: If you made a request to create a blog post:<\/p>\n<div class=\"highlight-python\">\n<pre>POST \/xn\/rest\/apiexample\/2.0\/BlogPost?fields=title HTTP\/1.1\nHost: external.ningapis.com\nAuthorization: oauth_signature_method=\"PLAINTEXT\",oauth_consumer_key=\"0d716e57-5ada-4b29-a33c-2f4af1b26837\",oauth_token=\"a2f85402-f16c-4677-91e2-a334d362ad47\",oauth_signature=\"f0963fa5-1259-434f-86fc-8a17d14b16ca%26b42a0833-e1e2-4b02-a906-258a157bc702\"\nContent-Length: 47\nContent-Type: application\/x-www-form-urlencoded\ntitle=BlogPost&amp;description=BlogPost description<\/pre>\n<\/div>\n<p>The response would look like:<\/p>\n<div class=\"highlight-javascript\">\n<div class=\"highlight\">\n<pre><span class=\"p\">{<\/span>\n    <span class=\"s2\">\"success\"<\/span><span class=\"o\">:<\/span> <span class=\"kc\">true<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"id\"<\/span><span class=\"o\">:<\/span> <span class=\"s2\">\"123:BlogPost:456\"<\/span>\n<span class=\"p\">}<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"section\" id=\"update-responses\">\n<h3>Update responses<a class=\"headerlink\" href=\"#update-responses\" title=\"Permalink to this headline\"><\/a><\/h3>\n<p>For a successful UPDATE request, your response will contain 1 property:<br \/>\n<tt class=\"docutils literal\"><span class=\"pre\">success<\/span><\/tt> and it\u2019s value will be <tt class=\"docutils literal\"><span class=\"pre\">true<\/span><\/tt><\/p>\n<p>Example: if you made a request to update a photo:<\/p>\n<div class=\"highlight-python\">\n<pre>PUT \/xn\/rest\/apiexample\/2.0\/Photo?id=3011345:Photo:1077 HTTP\/1.1\nHost: external.ningapis.com\nAuthorization: oauth_signature_method=\"PLAINTEXT\",oauth_consumer_key=\"0d716e57-5ada-4b29-a33c-2f4af1b26837\",oauth_token=\"a2f85402-f16c-4677-91e2-a334d362ad47\",oauth_signature=\"f0963fa5-1259-434f-86fc-8a17d14b16ca%26b42a0833-e1e2-4b02-a906-258a157bc702\"\nContent-Length: 85\nContent-Type: application\/x-www-form-urlencoded\n\ntitle=Updated Photo Title&amp;description=Updated Photo Description<\/pre>\n<\/div>\n<p>The response would look like:<\/p>\n<div class=\"highlight-javascript\">\n<div class=\"highlight\">\n<pre><span class=\"p\">{<\/span>\n    <span class=\"s2\">\"success\"<\/span><span class=\"o\">:<\/span> <span class=\"kc\">true<\/span>\n<span class=\"p\">}<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"section\" id=\"delete-responses\">\n<h3>Delete responses<a class=\"headerlink\" href=\"#delete-responses\" title=\"Permalink to this headline\"><\/a><\/h3>\n<p>For a successful DELETE request, your response will contain 1 property:<br \/>\n<tt class=\"docutils literal\"><span class=\"pre\">success<\/span><\/tt> and it\u2019s value will be <tt class=\"docutils literal\"><span class=\"pre\">true<\/span><\/tt><\/p>\n<p>Example: if you made a request to delete a photo:<\/p>\n<div class=\"highlight-python\">\n<pre>DELETE http:\/\/external.ningapis.com\/xn\/rest\/examplenetwork\/2.0\/Photo?id=1220998:Photo:5581<\/pre>\n<\/div>\n<p>The response would look like:<\/p>\n<div class=\"highlight-javascript\">\n<div class=\"highlight\">\n<pre><span class=\"p\">{<\/span>\n    <span class=\"s2\">\"success\"<\/span><span class=\"o\">:<\/span> <span class=\"kc\">true<\/span>\n<span class=\"p\">}<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"section\" id=\"failed-response\">\n<h2>Failed Response<a class=\"headerlink\" href=\"#failed-response\" title=\"Permalink to this headline\"><\/a><\/h2>\n<p>If a request fails, there are several pieces of info that will help clue you<br \/>\ninto what\u2019s going on:<\/p>\n<dl class=\"docutils\">\n<dt><strong>success<\/strong><\/dt>\n<dd>For failed requests, this will always be false<\/dd>\n<dt><strong>reason<\/strong><\/dt>\n<dd>A human readable reason for the failure<\/dd>\n<dt><strong>status<\/strong><\/dt>\n<dd>The HTTP status code for the request<\/dd>\n<dt><strong>code<\/strong><\/dt>\n<dd>A numeric value indicating the category this error belongs to. This is meant<br \/>\nto be consumed programmatically.<\/dd>\n<dt><strong>subcode<\/strong><\/dt>\n<dd>A numeric value that indicates the specific error that was triggered. This<br \/>\nis meant to be consumed programmatically.<\/dd>\n<dt><strong>trace<\/strong><\/dt>\n<dd>An identifier that is used by Ning to debug issues. Include this number in<br \/>\nany bug reports.<\/dd>\n<\/dl>\n<p>Here is an example of a failed response:<\/p>\n<div class=\"highlight-javascript\">\n<div class=\"highlight\">\n<pre><span class=\"p\">{<\/span>\n    <span class=\"s2\">\"success\"<\/span><span class=\"o\">:<\/span> <span class=\"kc\">false<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"reason\"<\/span><span class=\"o\">:<\/span> <span class=\"s2\">\"Count must be less than 100, but got: 500\"<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"status\"<\/span><span class=\"o\">:<\/span> <span class=\"mi\">400<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"code\"<\/span><span class=\"o\">:<\/span> <span class=\"mi\">1<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"subcode\"<\/span><span class=\"o\">:<\/span> <span class=\"mi\">7<\/span><span class=\"p\">,<\/span>\n    <span class=\"s2\">\"trace\"<\/span><span class=\"o\">:<\/span> <span class=\"s2\">\"4a076440-f132-4fbf-81bf-8f4d2eefa4c7\"<\/span>\n<span class=\"p\">}<\/span>\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Response Structure<a class=\"headerlink\" href=\"#response-structure\" title=\"Permalink to this headline\"><\/a><br \/>\nResponses from resources are formatted as <a class=\"reference external\" href=\"http:\/\/en.wikipedia.org\/wiki\/JSON\">JSON<\/a> objects. The exact structure of the<br \/>\nresponse object will vary depending on the resource, parameters, and request<br \/>\ntype. Additional details on the exact structure of a response can be found in<br \/>\nthe sections below and on the <a href=\"https:\/\/www.ning.com\/ning3help\/ning-3-0-api-requests\/\">Request Types<\/a> page.<\/p>\n<p>Caching<a class=\"headerlink\" href=\"#caching\" title=\"Permalink to this headline\"><\/a><br \/>\nThe data returned by queries is not cached, metadata used for determining<br \/>\naccess rights and site properties is cached for less than ten seconds.<br \/>\nThis means that if a photo has it\u2019s visibility changed from me to all,<br \/>\nit is possible that a request made by another member within ten seconds of the<br \/>\nchange will not include the photo in the response.<br \/>\nOn the other hand, an update to a blog post\u2019s title will be seen immediately by<br \/>\nthe next request.<\/p>\n<p>Successful Response<a class=\"headerlink\" href=\"#successful-response\" title=\"Permalink to this headline\"><\/a><\/p>\n<p>Read responses<a class=\"headerlink\" href=\"#read-responses\" title=\"Permalink to this headline\"><\/a><br \/>\nThere are 3 types of responses you can get from a successful READ request:<br \/>\nsingle item, multi-item, and list<\/p>\n<p>Single Item Response<a class=\"headerlink\" href=\"#single-item-response\" title=\"Permalink to this headline\"><\/a><br \/>\nSingle item requests are requests for a specific content item by it\u2019s ID. The<br \/>\nresponse contains two properties: success and entry. Success will be true and<br \/>\nentry will contain &#8230;<\/p>\n","protected":false},"author":20,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ning.com\/ning3help\/ning-3-0-api-responses\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ning 3.0 API Response Overview - Ning 3 Help\" \/>\n<meta property=\"og:description\" content=\"Response Structure Responses from resources are formatted as JSON objects. The exact structure of the response object will vary depending on the resource, parameters, and request type. Additional details on the exact structure of a response can be found in the sections below and on the Request Types page.  Caching The data returned by queries is not cached, metadata used for determining access rights and site properties is cached for less than ten seconds. This means that if a photo has it\u2019s visibility changed from me to all, it is possible that a request made by another member within ten seconds of the change will not include the photo in the response. On the other hand, an update to a blog post\u2019s title will be seen immediately by the next request.  Successful Response Read responses There are 3 types of responses you can get from a successful READ request: single item, multi-item, and list Single Item Response Single item requests are requests for a specific content item by it\u2019s ID. The response contains two properties: success and entry. Success will be true and entry will contain ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ning.com\/ning3help\/ning-3-0-api-responses\/\" \/>\n<meta property=\"og:site_name\" content=\"Ning 3 Help\" \/>\n<meta property=\"article:modified_time\" content=\"2019-10-21T15:17:58+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ning.com\/ning3help\/#website\",\"url\":\"https:\/\/www.ning.com\/ning3help\/\",\"name\":\"Ning 3 Help\",\"description\":\"The place to look for help with the details of your Ning Network.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ning.com\/ning3help\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ning.com\/ning3help\/ning-3-0-api-responses\/#webpage\",\"url\":\"https:\/\/www.ning.com\/ning3help\/ning-3-0-api-responses\/\",\"name\":\"Ning 3.0 API Response Overview - Ning 3 Help\",\"isPartOf\":{\"@id\":\"https:\/\/www.ning.com\/ning3help\/#website\"},\"datePublished\":\"2014-01-24T01:03:14+00:00\",\"dateModified\":\"2019-10-21T15:17:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ning.com\/ning3help\/ning-3-0-api-responses\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ning.com\/ning3help\/ning-3-0-api-responses\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ning.com\/ning3help\/ning-3-0-api-responses\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.ning.com\/ning3help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ning 3.0 API Response Overview\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.ning.com\/ning3help\/wp-json\/wp\/v2\/pages\/3116"}],"collection":[{"href":"https:\/\/www.ning.com\/ning3help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ning.com\/ning3help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ning.com\/ning3help\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ning.com\/ning3help\/wp-json\/wp\/v2\/comments?post=3116"}],"version-history":[{"count":5,"href":"https:\/\/www.ning.com\/ning3help\/wp-json\/wp\/v2\/pages\/3116\/revisions"}],"predecessor-version":[{"id":4538,"href":"https:\/\/www.ning.com\/ning3help\/wp-json\/wp\/v2\/pages\/3116\/revisions\/4538"}],"wp:attachment":[{"href":"https:\/\/www.ning.com\/ning3help\/wp-json\/wp\/v2\/media?parent=3116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}