{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-keep/keep-notes-get":{"get":{"operationId":"analytics_googleapis_keep_keep_notes_get","summary":"Gets a note.","description":"GET /v1/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. Name of the resource.","schema":{"type":"string","description":"Required. Name of the resource."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-keep/keep-notes-delete":{"post":{"operationId":"analytics_googleapis_keep_keep_notes_delete","summary":"Deletes a note. Caller must have the `OWNER` role on the note to delete. Deleting a note removes the…","description":"DELETE /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Required. Name of the note to delete."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-keep/keep-notes-list":{"get":{"operationId":"analytics_googleapis_keep_keep_notes_list","summary":"Lists notes. Every list call returns a page of results with `page_size` as the upper bound of returned…","description":"GET /v1/notes","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Filter for list results. If no filter is supplied, the `trashed` filter is applied by default. Valid fields to filter by are:…","schema":{"type":"string","description":"Filter for list results. If no filter is supplied, the `trashed` filter is applied by default. Valid fields to filter by are:…"}},{"name":"pageSize","in":"query","required":false,"description":"The maximum number of results to return.","schema":{"type":"integer","description":"The maximum number of results to return."}},{"name":"pageToken","in":"query","required":false,"description":"The previous page's `next_page_token` field.","schema":{"type":"string","description":"The previous page's `next_page_token` field."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-keep/keep-notes-create":{"post":{"operationId":"analytics_googleapis_keep_keep_notes_create","summary":"Creates a new note.","description":"POST /v1/notes","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-keep/keep-notes-permissions-batch-create":{"post":{"operationId":"analytics_googleapis_keep_keep_notes_permissions_batch_create","summary":"Creates one or more permissions on the note. Only permissions with the `WRITER` role may be created. If…","description":"POST /v1/{+parent}/permissions:batchCreate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"The parent resource shared by all Permissions being created. Format: `notes/{note}` If this is set, the parent field in the…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-keep/keep-notes-permissions-batch-delete":{"post":{"operationId":"analytics_googleapis_keep_keep_notes_permissions_batch_delete","summary":"Deletes one or more permissions on the note. The specified entities will immediately lose access. A…","description":"POST /v1/{+parent}/permissions:batchDelete","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"The parent resource shared by all permissions being deleted. Format: `notes/{note}` If this is set, the parent of all of the permissions…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}