Untitled

 avatar
unknown
json
17 days ago
923 B
3
Indexable
{
  "openapi": "3.0.0",
  "info": {
    "title": "Notion API for Investors",
    "version": "1.0.0"
  },
  "paths": {
    "/add-investor": {
      "post": {
        "operationId": "addInvestor",
        "summary": "Add new investor",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "first_name": { "type": "string" },
                  "last_name": { "type": "string" },
                  "notes": { "type": "string" }
                },
                "required": ["first_name", "last_name"]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Investor added successfully"
          }
        }
      }
    }
  }
}
Editor is loading...
Leave a Comment