Sign in

Create resource

documented

Upload a new resource (with file data and metadata).

POST /api/v3/resources.jsonResourcesno implementation yet0 runs
No 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://api.devicemagic.com/api/v3/resources.json" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"organization_id": "{{$organization_id}}", "title": "{{$title}}", "description": "{{$description}}", "resource_type": "{{$resource_type}}", "data_url": "{{$data_url}}", "notes": "{{$notes}}"}'