{"info":{"contact":{"email":"support@axispuls.ir","url":"https://axispuls.ir/demo/"},"description":"Zero-signup isolated RAM sandbox to benchmark automated monthly nursing and team shift scheduling with enforced labor/rest rules (>=12h rest, no Morning after Night, max 2 consecutive shifts, daily/monthly caps).","title":"Axis Puls Shift Arranger Public Sandbox API","version":"1.0.0"},"openapi":"3.1.0","paths":{"/api/demo/quick-test":{"get":{"operationId":"quickTestShiftArrangerGet","parameters":[{"in":"query","name":"lang","required":false,"schema":{"default":"en","enum":["fa","ar","en","de"],"type":"string"}}],"responses":{"200":{"description":"Verified scheduling metrics, constraint status, and sample slots"}},"summary":"Read-only one-shot Shift Arranger verification (for web browsers / LLM GET tools; ephemeral, zero leftover RAM)"},"post":{"operationId":"quickTestShiftArranger","requestBody":{"content":{"application/json":{"schema":{"properties":{"apply":{"default":true,"type":"boolean"},"auto_destroy":{"default":false,"type":"boolean"},"dept_name":{"example":"Emergency Ward","type":"string"},"lang":{"default":"en","enum":["fa","ar","en","de"],"type":"string"}},"type":"object"}}},"required":false},"responses":{"200":{"description":"Simulation summary, sample placements, and X-Demo-Session token"}},"summary":"One-shot zero-auth Shift Arranger test (provision + arrange + apply)"}},"/api/demo/session/destroy":{"post":{"operationId":"destroyDemoSession","parameters":[{"in":"header","name":"X-Demo-Session","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Session destroyed"}},"summary":"Immediately wipe ephemeral RAM session"}},"/api/demo/session/info":{"get":{"operationId":"getDemoSessionInfo","parameters":[{"in":"header","name":"X-Demo-Session","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Session summary"}},"summary":"Inspect department headcount, pending proposals, and approved shifts"}},"/api/demo/session/start":{"post":{"operationId":"startDemoSession","requestBody":{"content":{"application/json":{"schema":{"properties":{"dept_name":{"type":"string"},"lang":{"default":"en","enum":["fa","ar","en","de"],"type":"string"},"roles":{"items":{"properties":{"count":{"maximum":250,"minimum":1,"type":"integer"},"name":{"type":"string"}},"required":["name","count"],"type":"object"},"type":"array"}},"type":"object"}}},"required":true},"responses":{"200":{"description":"Session created cleanly"}},"summary":"Create isolated RAM demo department with 100-200h proposals"}},"/api/demo/shifts/departments/{dept_id}/arrange":{"post":{"operationId":"saveShiftArrangement","parameters":[{"in":"path","name":"dept_id","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Demo-Session","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Saved arrangement id"}},"summary":"Save simulated arrangement draft"}},"/api/demo/shifts/departments/{dept_id}/arrange/simulate":{"post":{"operationId":"simulateShiftArranger","parameters":[{"in":"path","name":"dept_id","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Demo-Session","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Draft arrangement_id, summary, and approve steps"}},"summary":"Run server-side Shift Arranger and preview monthly placements"}},"/api/demo/shifts/departments/{dept_id}/arrange/{arrangement_id}/apply":{"post":{"operationId":"applyShiftArrangement","parameters":[{"in":"path","name":"dept_id","required":true,"schema":{"type":"string"}},{"in":"path","name":"arrangement_id","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Demo-Session","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Applied count"}},"summary":"Apply saved arrangement to confirmed monthly schedule"}}},"servers":[{"description":"Axis Puls Live Demo Server","url":"https://axispuls.ir"}]}
