WARNING

WARNING: These APIs are currently in an 'alpha' state and are likely to change over time. We recommend you not use them in a production setting at this time!


List Properties for a Company

Definition

GET  /companies/:company_id/properties

Example Request

curl https://mc-api-activation-reactor-integration.adobe.io/companies/:company_id/properties \
  -H "Accept: application/vnd.api+json;revision=1" \
  -H "Content-Type: application/vnd.api+json" \
  -H "Authorization: Bearer [TOKEN]" \
  -H "X-Api-Key: [KEY]" \
  -X GET
  

Example Response

200 OK
{
  "data": [
    {
      "id": "PRb506e60f0d7d47adad603cd76dde4122",
      "type": "properties",
      "attributes": {
        "created_at": "2018-06-15T19:10:20.782Z",
        "enabled": true,
        "name": "Property 20180615131002305",
        "updated_at": "2018-06-15T19:10:20.782Z",
        "type_of": "web",
        "domains": [
          "example.com"
        ],
        "link_delay": 100,
        "tracking_cookie_name": "sat_track",
        "undefined_vars_return_empty": false
      },
      "relationships": {
        "company": {
          "links": {
            "related": "http://localhost:9010/properties/PRb506e60f0d7d47adad603cd76dde4122/company"
          },
          "data": {
            "type": "companies",
            "id": "CO90b2d08bbf63431c8b132dfa82ade66d"
          }
        },
        "callbacks": {
          "links": {
            "related": "http://localhost:9010/properties/PRb506e60f0d7d47adad603cd76dde4122/callbacks"
          }
        },
        "adapters": {
          "links": {
            "related": "http://localhost:9010/properties/PRb506e60f0d7d47adad603cd76dde4122/adapters"
          }
        },
        "environments": {
          "links": {
            "related": "http://localhost:9010/properties/PRb506e60f0d7d47adad603cd76dde4122/environments"
          }
        },
        "libraries": {
          "links": {
            "related": "http://localhost:9010/properties/PRb506e60f0d7d47adad603cd76dde4122/libraries"
          }
        },
        "data_elements": {
          "links": {
            "related": "http://localhost:9010/properties/PRb506e60f0d7d47adad603cd76dde4122/data_elements"
          }
        },
        "extensions": {
          "links": {
            "related": "http://localhost:9010/properties/PRb506e60f0d7d47adad603cd76dde4122/extensions"
          }
        },
        "rules": {
          "links": {
            "related": "http://localhost:9010/properties/PRb506e60f0d7d47adad603cd76dde4122/rules"
          }
        }
      },
      "links": {
        "company": "http://localhost:9010/companies/CO90b2d08bbf63431c8b132dfa82ade66d",
        "data_elements": "http://localhost:9010/properties/PRb506e60f0d7d47adad603cd76dde4122/data_elements",
        "environments": "http://localhost:9010/properties/PRb506e60f0d7d47adad603cd76dde4122/environments",
        "extensions": "http://localhost:9010/properties/PRb506e60f0d7d47adad603cd76dde4122/extensions",
        "rules": "http://localhost:9010/properties/PRb506e60f0d7d47adad603cd76dde4122/rules",
        "self": "http://localhost:9010/properties/PRb506e60f0d7d47adad603cd76dde4122"
      },
      "meta": {
        "rights": [
          "develop",
          "approve",
          "publish",
          "manage_extensions",
          "manage_environments"
        ],
        "extensions_count": 1
      }
    }
  ],
  "meta": {
    "pagination": {
      "current_page": 1,
      "next_page": null,
      "prev_page": null,
      "total_pages": 1,
      "total_count": 1
    }
  }
}