GET /api/apps/versions?Identity={Identity}

Returns app version information, including the AppVersionID, based on the Identity value provided.

This operation provides a bridge so that if you have the Identity value you can retrieve the AppVersionID, which is used by most of the operations in the Apps service. With the AppVersionID you can run other operations in the service.

For a full list of operations and their signatures see Apps Service: Overview.

Authorization Roles/Permissions: Must be logged in. App team member, Business Admin, or Site Admin.

This topic includes the following sections:

HTTP Method


Back to top



Back to top

Sample Request

The example below shows a request for the version information for the specified identity value.

Request URL


Sample request headers

Accept: application/json

Sample request body

Not applicable.

Back to top

Request Headers

For general information on request header values, refer to HTTP Request Headers.

Header Description

text/xml, application/xml, application/json

application/vnd.soa.v71+json, application/vnd.soa.v71+xml
X-Csrf-Token_{fedmemberID} The CSRF prevention header; may or may not be required, depending on platform settings. See CSRF Prevention on the Platform. By default, the CSRF header is not required for GET operations and is required for all others, with a few exceptions relating to user login.

Back to top

Request Parameters

Parameter Parm Type Data Type Required Description
Identity Query string Optional The identity name for the app version, if applicable.

Back to top


If successful, this operation returns HTTP status code 200, with information about the app versions. The information is returned in the form of an RSS channel.

Back to top

Sample Response

The sample response below shows successful completion of this operation. There is one version.

Sample response headers: application/json

Status Code: 200 OK
Content-Type: application/json
Date: Wed, 03 Jul 2013 20:12:39 GMT

Sample response body: application/json

  "channel" : {
    "title" : "Application versions",
    "item" : [ {
      "title" : "2.0",
      "description" : "Created 2/4/13",
      "category" : [ {
        "value" : "app-version",
        "domain" : ""
      }, {
        "value" : "Sandbox",
        "domain" : ""
      }, {
        "value" : "",
        "domain" : ""
      } ],
      "guid" : {
        "value" : "4iXro2Uxs2h4LviCshR9pK9w.acmepaymentscorp"
      "pubDate" : "Tue, 04 Jun 2013 19:38:55 +0000",
      "EntityReferences" : {
        "EntityReference" : [ {
          "Title" : "PaaStime",
          "Guid" : "app16964.acmepaymentscorp",
          "Category" : [ {
            "value" : "app",
            "domain" : ""
          } ]
        } ]
    } ]
  "version" : "1.0"

Back to top

Sample response headers: text/xml

Status Code: 200 OK
Content-Type: text/xml
Date: Wed, 03 Jul 2013 20:23:22 GMT

Sample response body: text/xml

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:ns2="" xmlns:ns3="" xmlns:ns4="" 
xmlns:ns5="" xmlns:ns6="" xmlns:ns7="" 
xmlns:ns8="" xmlns:ns9="" xmlns:ns10="" version="1.0">
    <title>Application versions</title>
      <description>Created 2/4/13</description>
      <category domain="">app-version</category>
      <category domain="">Sandbox</category>
      <category domain=""></category>
      <pubDate>Tue, 04 Jun 2013 19:38:55 +0000</pubDate>
          <ns4:Category domain="">app</ns4:Category>

Back to top

Response Headers

For general information on response header values, refer to HTTP Response Headers.

Header Description

text/xml, application/xml, application/json

application/vnd.soa.v71+json, application/vnd.soa.v71+xml

Back to top

Response Body

The response body is in the form of an RSS channel, and includes the items listed below. The RSS version is 1.0. The title of the RSS channel is Application versions. Each item in the channel represents one app version, and includes the information listed below.

Name Description
title Version number.
description Description of the app version.
category[ ]

An array of sets of two name/value pairs, each including Value and Domain, with a value for each.

A category for the "" domain is provided with the value "App Version".

A second category for the "" domain is provided for each tag assigned to the app version.

A third category for the "" domain is provided with the value representing the version's state.

There is also a name/value pair for each tag assigned to the app version.

For information regarding app state, refer to Determining the State Value of an App.

guid App version ID.
pubDate A date/time stamp identifying when the app version was last updated.
EntityReference Reference to the app for which versions are being retrieved: Title, which is the app name, GUID, the unique AppID, and Category indicating the resource type is app.

Back to top

Error Codes/Messages

If the call is unsuccessful an error code/message is returned. One or more examples of possible errors for this operation are shown below.

Item Value
401 Unauthorized. For example, you would get this response if you didn't include the custom X-Csrf-Token_{fedmemberID} header in the request, when it was required by the platform settings; or if you included an invalid or expired value for this header. You would also get this response for any operation that requires login (almost all) if the login cookie was missing.
500 An error occurred processing the call.

More information about Akana API Platform API error messages.

Back to top

Related Topics