Language
OneAtlas Basemap Guide
  1. Manage Subscriptions

    Manage Subscriptions

    Information relating to your subscriptions can be retrieved by simply calling the /me endpoint:

    curl -X GET -H "Authorization: Bearer <API_KEY>" "https://view.geoapi-airbusds.com/api/v1/me"
    

    You will find the list of offers you are subscribed to within the imagery / layers section of the response. An example of the response is shown below:

    {
      "canCompose": true,
      "email": "john.doe@airbus.com",
      "externalId": "7743610706",
      "firstname": "John",
      "id": "4f586b1f-9999-4ba6-8188-8afdf2684126",
      "isSubscriptionSuspended": false,
      "lastname": "Doe",
      "maps": {
        "compositions": [],
        "imagery": {
          "id": "CF69E122-9999-11E6-B6B4-3F1489348498",
          "layers": [
            {
              "id": "53744984-9999-11E7-80B3-420189964461",
              "offerName": "OneLive"
            }
          ],
          "links": {
            "ags": "https://view.geoapi-airbusds.com/api/v1/map/imagery.ags/services",
            "agsRestDirect": "https://view.geoapi-airbusds.com/mugg/rest/services/CF69E122-9999-11E6-B6B4-3F1489348498/MapServer",
            "agsSoapDirect": "https://view.geoapi-airbusds.com/mugg/soap/CF69E122-9999-11E6-B6B4-3F1489348498/services",
            "kml": "https://view.geoapi-airbusds.com/api/v1/map/imagery.kml",
            "kmlDirect": "https://view.geoapi-airbusds.com/mugg/kml/CF69E122-9999-11E6-B6B4-3F1489348498",
            "wms": "https://view.geoapi-airbusds.com/api/v1/map/imagery.wms",
            "wmsDirect": "https://view.geoapi-airbusds.com/mugg/wms/CF69E122-9999-11E6-B6B4-3F1489348498?",
            "wmts": "https://view.geoapi-airbusds.com/api/v1/map/imagery.wmts",
            "wmtsDirect": "https://view.geoapi-airbusds.com/mugg/wmts/CF69E122-9999-11E6-B6B4-3F1489348498?"
          }
        },
        "metadata": {
          "id": "CF11E595-9999-11E6-B6B3-0F918242EB09",
          "layers": [
            {
              "id": "59945568-9999-11E7-80B3-424854475111",
              "offerName": "OneLive-Metadata"
            }
          ],
          "links": {
            "ags": "https://view.geoapi-airbusds.com/api/v1/map/imagery-composition-detail.ags/services",
            "agsRestDirect": "https://view.geoapi-airbusds.com/mugg/rest/services/CF11E595-9999-11E6-B6B3-0F918242EB09/MapServer",
            "agsSoapDirect": "https://view.geoapi-airbusds.com/mugg/soap/CF11E595-9999-11E6-B6B3-0F918242EB09/services",
            "kml": "https://view.geoapi-airbusds.com/api/v1/map/imagery-composition-detail.kml",
            "kmlDirect": "https://view.geoapi-airbusds.com/mugg/kml/CF11E595-9999-11E6-B6B3-0F918242EB09",
            "wfs": "https://view.geoapi-airbusds.com/api/v1/map/imagery-composition-detail.wfs",
            "wfsDirect": "https://view.geoapi-airbusds.com/mugg/wfs/885964C9-9999-4DB5-815D-48A01941BF0D?",
            "wms": "https://view.geoapi-airbusds.com/api/v1/map/imagery-composition-detail.wms",
            "wmsDirect": "https://view.geoapi-airbusds.com/mugg/wms/CF11E595-9999-11E6-B6B3-0F918242EB09?",
            "wmts": "https://view.geoapi-airbusds.com/api/v1/map/imagery-composition-detail.wmts",
            "wmtsDirect": "https://view.geoapi-airbusds.com/mugg/wmts/CF11E595-9999-11E6-B6B3-0F918242EB09?"
          }
        }
      },
      "subscriptionAdministrator": [],
      "subscriptions": [
        "119934e0-9999-442c-8a14-fae18754458d"
      ],
      "systemRoles": [],
      "userPreference": {}
    }