Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adobe/reactor-postman
A Postman collection of Reactor API examples for Adobe Experience Platform
https://github.com/adobe/reactor-postman
adobe
Last synced: 4 months ago
JSON representation
A Postman collection of Reactor API examples for Adobe Experience Platform
- Host: GitHub
- URL: https://github.com/adobe/reactor-postman
- Owner: adobe
- License: apache-2.0
- Created: 2018-11-28T16:19:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T17:22:54.000Z (9 months ago)
- Last Synced: 2024-05-02T12:11:59.127Z (9 months ago)
- Topics: adobe
- Homepage: https://experienceleague.adobe.com/docs/experience-platform/tags/api/overview.html
- Size: 906 KB
- Stars: 11
- Watchers: 29
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-adobe-launch - Reactor Postman - A collection of examples for [Postman](https://www.getpostman.com/) with the Launch API (API Development)
README
# Reactor Postman
A Postman collection of Reactor API examples for Adobe Experience Platform. This collection shows a simplified use case of provisioning a new property, creating extension rules and data elements, and initiating a library build.
Check out the [docs](https://experienceleague.adobe.com/docs/experience-platform/tags/home.html) for detailed guides and help.
## Contributing
Contributions are encouraged and welcomed! Please read the [Contributing Guide](CONTRIBUTING.md) for more information.
## Usage
To get started:
1. Install [Postman](https://www.getpostman.com/).
3. Clone the repository.
4. Import the folder into Postman
5. Set your access token
6. Set your company## Importing the collection
You can import the entire collection and environment in one go:
![import collection](./images/import.png)
## Setting the Access Token
To interact with the Reactor APIs, you must have a valid access token and the correct permissions configured. The provision collection requires the development permissions to create resources and a development library. Check out the [docs](https://experienceleague.adobe.com/docs/launch.html#guides) for more details on creating Adobe I/O integrations and permissioning.
#### Adobe I/O integration
If you have an Adobe I/O integration ready to go, the collection will automatically authenticate and set the access token variable if configured. This [walkthrough](https://experienceleague.adobe.com/docs/launch/using/extension-dev/submit/upload-and-test.html#integration) will help you get started creating your integration
Once you've created your integration, you will need to set the following environment variables in Postman:
* CLIENT_SECRET
* API_KEY
* IMS_HOST
* ISS
* SUB
* METASCOPE
* PRIVATE_KEY#### Directly setting the access token
If the `ACCESS_TOKEN` variable is already set, the collection will use that value instead of trying to create one. You can directly set the `ACCESS_TOKEN` variable in your environment if you haven't/don't want to create an integration yet.
![accesstoken](./images/access_token.png)
#### Setting the company id
Before you can start making calls, you also need to set the company id for your company. Technical Adobe I/O accounts are tied to a single organization/company. Ideally, we would correlate the org id to the list from a call to the [/companies](https://developer.adobelaunch.com/api/reference/1.0/companies/list/) endpoint. Until we get that in place, *cough*PR*cough*, you'll need to set it manually. You can get your company id from the Tags URL - CHECK YOUR ACTIVE ORGANIZATION TO ENSURE YOU ARE USING THE CORRECT COMPANY!
![tags_company_id](./images/launch_company_id.png)
Now you can set that value in your environment
![company_id](./images/company_id.png)
#### Running the requests
Each request builds on the previous request and demonstrates an end-to-end property creation to publish. Details on the specifications, headers, and attributes can be found for each endpoint in the [Tags docs](https://experienceleague.adobe.com/docs/tags.html). At the completion of each request, various environment variables required for later will be set using the postman `test` and `postman.setEnvironmentVariable`
## Contributing
Contributions are welcomed! Read the [Contributing Guide](CONTRIBUTING.md) for more information.
## Licensing
This project is licensed under the Apache V2 License. See [LICENSE](LICENSE) for more information.