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

Retrieve the Properties owned by the specified 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": "PR7c1fd077608d4e12b165410e911f1709",
      "type": "properties",
      "attributes": {
        "created_at": "2018-08-31T13:23:37.182Z",
        "enabled": true,
        "name": "Denesik, Bode and Hintz",
        "updated_at": "2018-08-31T13:23:37.182Z",
        "platform": "web",
        "domains": [
          "swiftbechtelar.gutkowski.com"
        ],
        "undefined_vars_return_empty": false
      },
      "relationships": {
        "company": {
          "links": {
            "related": "http://localhost:9010/properties/PR7c1fd077608d4e12b165410e911f1709/company"
          },
          "data": {
            "id": "CO7a5089ebb61c4853ac2a494b1512fe2e",
            "type": "companies"
          }
        },
        "callbacks": {
          "links": {
            "related": "http://localhost:9010/properties/PR7c1fd077608d4e12b165410e911f1709/callbacks"
          }
        },
        "adapters": {
          "links": {
            "related": "http://localhost:9010/properties/PR7c1fd077608d4e12b165410e911f1709/adapters"
          }
        },
        "environments": {
          "links": {
            "related": "http://localhost:9010/properties/PR7c1fd077608d4e12b165410e911f1709/environments"
          }
        },
        "libraries": {
          "links": {
            "related": "http://localhost:9010/properties/PR7c1fd077608d4e12b165410e911f1709/libraries"
          }
        },
        "data_elements": {
          "links": {
            "related": "http://localhost:9010/properties/PR7c1fd077608d4e12b165410e911f1709/data_elements"
          }
        },
        "extensions": {
          "links": {
            "related": "http://localhost:9010/properties/PR7c1fd077608d4e12b165410e911f1709/extensions"
          }
        },
        "rules": {
          "links": {
            "related": "http://localhost:9010/properties/PR7c1fd077608d4e12b165410e911f1709/rules"
          }
        }
      },
      "links": {
        "company": "http://localhost:9010/companies/CO7a5089ebb61c4853ac2a494b1512fe2e",
        "data_elements": "http://localhost:9010/properties/PR7c1fd077608d4e12b165410e911f1709/data_elements",
        "environments": "http://localhost:9010/properties/PR7c1fd077608d4e12b165410e911f1709/environments",
        "extensions": "http://localhost:9010/properties/PR7c1fd077608d4e12b165410e911f1709/extensions",
        "rules": "http://localhost:9010/properties/PR7c1fd077608d4e12b165410e911f1709/rules",
        "self": "http://localhost:9010/properties/PR7c1fd077608d4e12b165410e911f1709"
      },
      "meta": {
        "rights": [
          "develop",
          "approve",
          "publish",
          "manage_extensions",
          "manage_environments"
        ]
      }
    },
    {
      "id": "PRa959f488ff394e3897d79639a20660bf",
      "type": "properties",
      "attributes": {
        "created_at": "2018-08-31T16:51:46.440Z",
        "enabled": true,
        "name": "Kessel Example Property",
        "updated_at": "2018-08-31T16:51:46.440Z",
        "platform": "web",
        "domains": [
          "example.com"
        ],
        "undefined_vars_return_empty": false
      },
      "relationships": {
        "company": {
          "links": {
            "related": "http://localhost:9010/properties/PRa959f488ff394e3897d79639a20660bf/company"
          },
          "data": {
            "id": "CO7a5089ebb61c4853ac2a494b1512fe2e",
            "type": "companies"
          }
        },
        "callbacks": {
          "links": {
            "related": "http://localhost:9010/properties/PRa959f488ff394e3897d79639a20660bf/callbacks"
          }
        },
        "adapters": {
          "links": {
            "related": "http://localhost:9010/properties/PRa959f488ff394e3897d79639a20660bf/adapters"
          }
        },
        "environments": {
          "links": {
            "related": "http://localhost:9010/properties/PRa959f488ff394e3897d79639a20660bf/environments"
          }
        },
        "libraries": {
          "links": {
            "related": "http://localhost:9010/properties/PRa959f488ff394e3897d79639a20660bf/libraries"
          }
        },
        "data_elements": {
          "links": {
            "related": "http://localhost:9010/properties/PRa959f488ff394e3897d79639a20660bf/data_elements"
          }
        },
        "extensions": {
          "links": {
            "related": "http://localhost:9010/properties/PRa959f488ff394e3897d79639a20660bf/extensions"
          }
        },
        "rules": {
          "links": {
            "related": "http://localhost:9010/properties/PRa959f488ff394e3897d79639a20660bf/rules"
          }
        }
      },
      "links": {
        "company": "http://localhost:9010/companies/CO7a5089ebb61c4853ac2a494b1512fe2e",
        "data_elements": "http://localhost:9010/properties/PRa959f488ff394e3897d79639a20660bf/data_elements",
        "environments": "http://localhost:9010/properties/PRa959f488ff394e3897d79639a20660bf/environments",
        "extensions": "http://localhost:9010/properties/PRa959f488ff394e3897d79639a20660bf/extensions",
        "rules": "http://localhost:9010/properties/PRa959f488ff394e3897d79639a20660bf/rules",
        "self": "http://localhost:9010/properties/PRa959f488ff394e3897d79639a20660bf"
      },
      "meta": {
        "rights": [
          "develop",
          "approve",
          "publish",
          "manage_extensions",
          "manage_environments"
        ]
      }
    },
    {
      "id": "PRb5f6a086d5744dc0a16fec3d5913ca11",
      "type": "properties",
      "attributes": {
        "created_at": "2018-08-31T15:20:04.359Z",
        "enabled": true,
        "name": "Ondricka, Heathcote and O'Reilly",
        "updated_at": "2018-08-31T15:20:04.359Z",
        "platform": "web",
        "domains": [
          "ferry.stiedemann.name"
        ],
        "undefined_vars_return_empty": false
      },
      "relationships": {
        "company": {
          "links": {
            "related": "http://localhost:9010/properties/PRb5f6a086d5744dc0a16fec3d5913ca11/company"
          },
          "data": {
            "id": "CO7a5089ebb61c4853ac2a494b1512fe2e",
            "type": "companies"
          }
        },
        "callbacks": {
          "links": {
            "related": "http://localhost:9010/properties/PRb5f6a086d5744dc0a16fec3d5913ca11/callbacks"
          }
        },
        "adapters": {
          "links": {
            "related": "http://localhost:9010/properties/PRb5f6a086d5744dc0a16fec3d5913ca11/adapters"
          }
        },
        "environments": {
          "links": {
            "related": "http://localhost:9010/properties/PRb5f6a086d5744dc0a16fec3d5913ca11/environments"
          }
        },
        "libraries": {
          "links": {
            "related": "http://localhost:9010/properties/PRb5f6a086d5744dc0a16fec3d5913ca11/libraries"
          }
        },
        "data_elements": {
          "links": {
            "related": "http://localhost:9010/properties/PRb5f6a086d5744dc0a16fec3d5913ca11/data_elements"
          }
        },
        "extensions": {
          "links": {
            "related": "http://localhost:9010/properties/PRb5f6a086d5744dc0a16fec3d5913ca11/extensions"
          }
        },
        "rules": {
          "links": {
            "related": "http://localhost:9010/properties/PRb5f6a086d5744dc0a16fec3d5913ca11/rules"
          }
        }
      },
      "links": {
        "company": "http://localhost:9010/companies/CO7a5089ebb61c4853ac2a494b1512fe2e",
        "data_elements": "http://localhost:9010/properties/PRb5f6a086d5744dc0a16fec3d5913ca11/data_elements",
        "environments": "http://localhost:9010/properties/PRb5f6a086d5744dc0a16fec3d5913ca11/environments",
        "extensions": "http://localhost:9010/properties/PRb5f6a086d5744dc0a16fec3d5913ca11/extensions",
        "rules": "http://localhost:9010/properties/PRb5f6a086d5744dc0a16fec3d5913ca11/rules",
        "self": "http://localhost:9010/properties/PRb5f6a086d5744dc0a16fec3d5913ca11"
      },
      "meta": {
        "rights": [
          "develop",
          "approve",
          "publish",
          "manage_extensions",
          "manage_environments"
        ]
      }
    },
    {
      "id": "PR04a114b5c8404afd9a5b0c1b25b8479b",
      "type": "properties",
      "attributes": {
        "created_at": "2018-08-31T13:26:58.692Z",
        "enabled": true,
        "name": "Osinski-Paucek",
        "updated_at": "2018-08-31T13:26:58.692Z",
        "platform": "web",
        "domains": [
          "simonisprohaska.schroeder.ca"
        ],
        "undefined_vars_return_empty": false
      },
      "relationships": {
        "company": {
          "links": {
            "related": "http://localhost:9010/properties/PR04a114b5c8404afd9a5b0c1b25b8479b/company"
          },
          "data": {
            "id": "CO7a5089ebb61c4853ac2a494b1512fe2e",
            "type": "companies"
          }
        },
        "callbacks": {
          "links": {
            "related": "http://localhost:9010/properties/PR04a114b5c8404afd9a5b0c1b25b8479b/callbacks"
          }
        },
        "adapters": {
          "links": {
            "related": "http://localhost:9010/properties/PR04a114b5c8404afd9a5b0c1b25b8479b/adapters"
          }
        },
        "environments": {
          "links": {
            "related": "http://localhost:9010/properties/PR04a114b5c8404afd9a5b0c1b25b8479b/environments"
          }
        },
        "libraries": {
          "links": {
            "related": "http://localhost:9010/properties/PR04a114b5c8404afd9a5b0c1b25b8479b/libraries"
          }
        },
        "data_elements": {
          "links": {
            "related": "http://localhost:9010/properties/PR04a114b5c8404afd9a5b0c1b25b8479b/data_elements"
          }
        },
        "extensions": {
          "links": {
            "related": "http://localhost:9010/properties/PR04a114b5c8404afd9a5b0c1b25b8479b/extensions"
          }
        },
        "rules": {
          "links": {
            "related": "http://localhost:9010/properties/PR04a114b5c8404afd9a5b0c1b25b8479b/rules"
          }
        }
      },
      "links": {
        "company": "http://localhost:9010/companies/CO7a5089ebb61c4853ac2a494b1512fe2e",
        "data_elements": "http://localhost:9010/properties/PR04a114b5c8404afd9a5b0c1b25b8479b/data_elements",
        "environments": "http://localhost:9010/properties/PR04a114b5c8404afd9a5b0c1b25b8479b/environments",
        "extensions": "http://localhost:9010/properties/PR04a114b5c8404afd9a5b0c1b25b8479b/extensions",
        "rules": "http://localhost:9010/properties/PR04a114b5c8404afd9a5b0c1b25b8479b/rules",
        "self": "http://localhost:9010/properties/PR04a114b5c8404afd9a5b0c1b25b8479b"
      },
      "meta": {
        "rights": [
          "develop",
          "approve",
          "publish",
          "manage_extensions",
          "manage_environments"
        ]
      }
    },
    {
      "id": "PR11946aeee37340b4996c97d3427328bc",
      "type": "properties",
      "attributes": {
        "created_at": "2018-08-31T13:27:42.125Z",
        "enabled": true,
        "name": "Stiedemann LLC",
        "updated_at": "2018-08-31T13:27:42.125Z",
        "platform": "web",
        "domains": [
          "hartmann.adamswatsica.us"
        ],
        "undefined_vars_return_empty": false
      },
      "relationships": {
        "company": {
          "links": {
            "related": "http://localhost:9010/properties/PR11946aeee37340b4996c97d3427328bc/company"
          },
          "data": {
            "id": "CO7a5089ebb61c4853ac2a494b1512fe2e",
            "type": "companies"
          }
        },
        "callbacks": {
          "links": {
            "related": "http://localhost:9010/properties/PR11946aeee37340b4996c97d3427328bc/callbacks"
          }
        },
        "adapters": {
          "links": {
            "related": "http://localhost:9010/properties/PR11946aeee37340b4996c97d3427328bc/adapters"
          }
        },
        "environments": {
          "links": {
            "related": "http://localhost:9010/properties/PR11946aeee37340b4996c97d3427328bc/environments"
          }
        },
        "libraries": {
          "links": {
            "related": "http://localhost:9010/properties/PR11946aeee37340b4996c97d3427328bc/libraries"
          }
        },
        "data_elements": {
          "links": {
            "related": "http://localhost:9010/properties/PR11946aeee37340b4996c97d3427328bc/data_elements"
          }
        },
        "extensions": {
          "links": {
            "related": "http://localhost:9010/properties/PR11946aeee37340b4996c97d3427328bc/extensions"
          }
        },
        "rules": {
          "links": {
            "related": "http://localhost:9010/properties/PR11946aeee37340b4996c97d3427328bc/rules"
          }
        }
      },
      "links": {
        "company": "http://localhost:9010/companies/CO7a5089ebb61c4853ac2a494b1512fe2e",
        "data_elements": "http://localhost:9010/properties/PR11946aeee37340b4996c97d3427328bc/data_elements",
        "environments": "http://localhost:9010/properties/PR11946aeee37340b4996c97d3427328bc/environments",
        "extensions": "http://localhost:9010/properties/PR11946aeee37340b4996c97d3427328bc/extensions",
        "rules": "http://localhost:9010/properties/PR11946aeee37340b4996c97d3427328bc/rules",
        "self": "http://localhost:9010/properties/PR11946aeee37340b4996c97d3427328bc"
      },
      "meta": {
        "rights": [
          "develop",
          "approve",
          "publish",
          "manage_extensions",
          "manage_environments"
        ]
      }
    }
  ],
  "meta": {
    "pagination": {
      "current_page": 1,
      "next_page": null,
      "prev_page": null,
      "total_pages": 1,
      "total_count": 5
    }
  }
}