SPB Git forge

spb/doc-api

Public
2commits 1branches 0releases
15.7 MBsize
maindefault branch
13 days agolast push
Python 88.3% TypeScript 7.6% Shell 4.1%
2.0 KB · 126 lines json
Raw Blame History
1{2  "$schema": "https://json-schema.org/draft/2020-12/schema",3  "$id": "https://atlas.local/schemas/endpoint.schema.json",4  "title": "Atlas endpoint record",5  "type": "object",6  "required": [7    "provider",8    "method",9    "path",10    "status",11    "sources"12  ],13  "properties": {14    "provider": {15      "enum": [16        "openai",17        "anthropic",18        "xai",19        "gemini"20      ]21    },22    "api_family": {23      "type": [24        "string",25        "null"26      ]27    },28    "method": {29      "type": "string",30      "description": "GET | POST | PUT | PATCH | DELETE | WS | WEBRTC | SIP | SSE | *"31    },32    "path": {33      "type": "string"34    },35    "name": {36      "type": [37        "string",38        "null"39      ]40    },41    "description": {42      "type": [43        "string",44        "null"45      ]46    },47    "status": {48      "type": "array",49      "items": {50        "$ref": "common.schema.json#/$defs/status"51      }52    },53    "auth": {54      "type": [55        "string",56        "array",57        "object",58        "null"59      ]60    },61    "beta_header": {62      "type": [63        "string",64        "array",65        "null"66      ]67    },68    "request": {69      "type": [70        "object",71        "null"72      ]73    },74    "response": {75      "type": [76        "object",77        "null"78      ]79    },80    "streaming": {81      "type": [82        "object",83        "boolean",84        "null"85      ]86    },87    "pagination": {88      "type": [89        "object",90        "string",91        "boolean",92        "null"93      ]94    },95    "idempotency": {96      "type": [97        "string",98        "boolean",99        "null"100      ]101    },102    "sdk": {103      "type": [104        "object",105        "null"106      ]107    },108    "relations": {109      "type": [110        "array",111        "object",112        "null"113      ]114    },115    "verification": {116      "$ref": "common.schema.json#/$defs/verification"117    },118    "sources": {119      "type": "array",120      "items": {121        "$ref": "common.schema.json#/$defs/source"122      }123    }124  }125}126