|
Download backend/api/example_payloads.md from ZAIDX11/Axiovora-X: direct link, hf CLI and curl.
- Browser
- Download file 764 Bytes
-
https://huggingface.co/ZAIDX11/Axiovora-X/resolve/main/backend/api/example_payloads.md
- Command line
-
hf download hf://ZAIDX11/Axiovora-X/backend/api/example_payloads.md
-
curl -L -o example_payloads.md https://huggingface.co/ZAIDX11/Axiovora-X/resolve/main/backend/api/example_payloads.md
764 Bytes
Example API Payloads
Create Universe
POST /universes
{
"name": "Group Theory",
"description": "Universe for group theory",
"universe_type": "group_theory",
"axioms": ["Closure", "Associativity", "Identity", "Inverse"]
}
Add Axiom
POST /axioms
{
"universe_id": 1,
"statement": "Commutativity"
}
Evolve Axiom
POST /axioms/evolve Form data or JSON:
{
"axiom_id": 2,
"new_statement": "Commutativity (strong)"
}
Derive Theorem
POST /theorems/derive
{
"universe_id": 1,
"axiom_ids": [1, 2],
"statement": "Closure Commutativity"
}
Create Proof
POST /proofs
{
"axiom_id": 1,
"content": "Proof details here."
}