Create annotation
documentedCreate a new annotation with required fields (name, rsid, dateRange, color).
POST /api/{GLOBALCOMPANYID}/annotationsEndpoint guidesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://analytics.adobe.io/api/{{$GLOBALCOMPANYID}}/annotations" \
-X POST \
-H "x-api-key: {{ADOBE_API_KEY}}" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "rsid": "{{$rsid}}", "dateRange": "{{$dateRange}}", "color": "{{$color}}"}'