Operations
Every operation on MARS.
The full operation table for MARS. Each entry is dispatched through MapEngine::handle_request and matched on operation inside the protocols/mars-lib crate.
Index
| Operation | Summary |
|---|---|
register_agent | Register an agent with its OAS DID and capability declaration. |
query_registry | Query the registry by predicate; supports paging and capability filters. |
publish_manifest | Publish an artifact manifest (workflow, model, asset) with provenance. |
discovery | Discover entities/assets matching a capability or schema predicate. |
Reference
register_agent
Register an agent with its OAS DID and capability declaration.
| Field | Value |
|---|---|
| Capability | map.mars.register_agent |
| Idempotent | No — supply Idempotency-Key for safe retries |
{
"did": "did:oas:l1fe:agent:0x...",
"capabilities": []
}Dispatched through the standard pipeline; see Engine pipeline for the 8 stages.
query_registry
Query the registry by predicate; supports paging and capability filters.
| Field | Value |
|---|---|
| Capability | map.mars.query_registry |
| Idempotent | No — supply Idempotency-Key for safe retries |
{
"example": true
}Dispatched through the standard pipeline; see Engine pipeline for the 8 stages.
publish_manifest
Publish an artifact manifest (workflow, model, asset) with provenance.
| Field | Value |
|---|---|
| Capability | map.mars.publish_manifest |
| Idempotent | No — supply Idempotency-Key for safe retries |
{
"example": true
}Dispatched through the standard pipeline; see Engine pipeline for the 8 stages.
discovery
Discover entities/assets matching a capability or schema predicate.
| Field | Value |
|---|---|
| Capability | map.mars.discovery |
| Idempotent | No — supply Idempotency-Key for safe retries |
{
"example": true
}Dispatched through the standard pipeline; see Engine pipeline for the 8 stages.