openapi: 3.1.0 info: title: SharePoint REST $batch $batch Lists API description: Minimal OpenAPI definition for the SharePoint Online REST/OData web service exposing site, web, list, and list item resources. version: '1.0' x-generated-from: https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service x-generated-by: claude-crawl-2026-05-08 servers: - url: https://{tenant}.sharepoint.com/_api description: SharePoint site collection root REST endpoint variables: tenant: default: contoso security: - bearerAuth: [] tags: - name: Lists paths: /web/lists: get: tags: - Lists summary: List all lists on the site operationId: getLists responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/GenericObject' post: tags: - Lists summary: Create a list operationId: createList requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GenericObject' responses: '200': description: OK '201': description: Created /web/lists/getbytitle('{listTitle}'): parameters: - in: path name: listTitle required: true schema: type: string get: tags: - Lists summary: Get list by title operationId: getListByTitle responses: '200': description: OK delete: tags: - Lists summary: Delete list operationId: deleteList responses: '200': description: OK components: schemas: GenericObject: type: object additionalProperties: true securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT