Skip to main content
Omeka Classic exposes a REST API rather than a standalone administration CLI. sitectl provides direct API helpers and resource shortcuts:
API helpers accept:
  • --url for the base API URL, defaulting to http://localhost/api
  • --key for the Omeka Classic API key
  • --query name=value for repeated query parameters
  • --data or --file for JSON request bodies on arbitrary requests

Reference

api get

GET an Omeka Classic API resource

api request

Call an arbitrary Omeka Classic API path