+{"sdkfabric/notion":{"baseUrl":"https://api.notion.com","security":{"type":"httpBearer"},"operations":{"user.getAll":{"path":"/v1/users","method":"GET","return":{"code":200,"schema":{"type":"reference","target":"User_Collection"}},"arguments":{"Notion-Version":{"in":"header","schema":{"type":"string"}},"start_cursor":{"in":"query","schema":{"type":"string"}},"page_size":{"in":"query","schema":{"type":"integer"}}},"throws":[{"code":999,"schema":{"type":"reference","target":"Error"}}],"description":"Returns a paginated list of Users for the workspace. The response may contain fewer than page_size of results.","stability":1,"security":[],"authorization":true,"tags":[]},"user.get":{"path":"/v1/users/:user_id","method":"GET","return":{"code":200,"schema":{"type":"reference","target":"User"}},"arguments":{"Notion-Version":{"in":"header","schema":{"type":"string"}},"user_id":{"in":"path","schema":{"type":"string"}}},"throws":[{"code":999,"schema":{"type":"reference","target":"Error"}}],"description":"Retrieves a User using the ID specified.","stability":1,"security":[],"authorization":true,"tags":[]},"database.get":{"path":"/v1/databases/:database_id","method":"GET","return":{"code":200,"schema":{"type":"reference","target":"Database"}},"arguments":{"Notion-Version":{"in":"header","schema":{"type":"string"}},"database_id":{"in":"path","schema":{"type":"string"}}},"throws":[{"code":999,"schema":{"type":"reference","target":"Error"}}],"description":"Retrieves a database object \u2014 information that describes the structure and columns of a database \u2014 for a provided database ID. The response adheres to any limits to an integration\u2019s capabilities.","stability":1,"security":[],"authorization":true,"tags":[]},"page.get":{"path":"/v1/pages/:page_id","method":"GET","return":{"code":200,"schema":{"type":"reference","target":"Page"}},"arguments":{"page_id":{"in":"path","schema":{"type":"string"}}},"throws":[{"code":999,"schema":{"type":"reference","target":"Error"}}],"description":"Retrieves a Page object using the ID specified.","stability":1,"security":[],"authorization":true,"tags":[]},"page.create":{"path":"/v1/pages","method":"POST","return":{"code":200,"schema":{"type":"reference","target":"Page"}},"arguments":{"payload":{"in":"body","schema":{"type":"reference","target":"Page"}}},"throws":[{"code":999,"schema":{"type":"reference","target":"Error"}}],"description":"Creates a new page that is a child of an existing page or database.","stability":1,"security":[],"authorization":true,"tags":[]}},"definitions":{"Block":{"description":"","type":"struct","properties":{"object":{"description":"","type":"string"},"id":{"description":"","type":"string"},"parent":{"description":"","type":"reference","target":"Page"},"created_time":{"description":"","type":"string","format":"date-time"},"last_edited_time":{"description":"","type":"string","format":"date-time"},"created_by":{"description":"","type":"reference","target":"User"},"last_edited_by":{"description":"","type":"reference","target":"User"},"has_children":{"description":"","type":"boolean"},"in_trash":{"description":"","type":"boolean"},"type":{"description":"","type":"string"}}},"Comment":{"description":"","type":"struct","properties":{"parent":{"description":"","type":"reference","target":"Page_Id"},"discussion_id":{"description":"","type":"string"},"rich_text":{"description":"","type":"reference","target":"Rich_Text"}}},"Database":{"description":"","type":"struct","properties":{"object":{"description":"","type":"string"},"id":{"description":"","type":"string"},"created_time":{"description":"","type":"string","format":"date-time"},"last_edited_time":{"description":"","type":"string","format":"date-time"},"icon":{"description":"","type":"reference","target":"Database_Icon"},"cover":{"description":"","type":"reference","target":"Database_Cover"},"url":{"description":"","type":"string"},"title":{"description":"","type":"array","schema":{"type":"reference","target":"Database_Title"}},"description":{"description":"","type":"array","schema":{"type":"reference","target":"Database_Title"}}}},"Database_Annotations":{"description":"","type":"struct","properties":{"bold":{"description":"","type":"boolean"},"italic":{"description":"","type":"boolean"},"strikethrough":{"description":"","type":"boolean"},"underline":{"description":"","type":"boolean"},"code":{"description":"","type":"boolean"},"color":{"description":"","type":"string"}}},"Database_Cover":{"description":"","type":"struct","properties":{"type":{"description":"","type":"string"},"external":{"description":"","type":"any"}}},"Database_Icon":{"description":"","type":"struct","properties":{"type":{"description":"","type":"string"},"emoji":{"description":"","type":"string"}}},"Database_Id":{"description":"","type":"struct","properties":{"database_id":{"description":"","type":"string"}}},"Database_Text":{"description":"","type":"struct","properties":{"content":{"description":"","type":"string"},"link":{"description":"","type":"string"}}},"Database_Title":{"description":"","type":"struct","properties":{"type":{"description":"","type":"string"},"text":{"description":"","type":"string"},"annotations":{"description":"","type":"reference","target":"Database_Annotations"},"plain_text":{"description":"","type":"string"},"href":{"description":"","type":"string"}}},"Error":{"description":"","type":"struct","properties":{"code":{"description":"","type":"string"},"message":{"description":"","type":"string"}}},"Page":{"description":"","type":"struct","properties":{"object":{"description":"","type":"string"},"id":{"description":"","type":"string"},"created_time":{"description":"","type":"string","format":"date-time"},"last_edited_time":{"description":"","type":"string","format":"date-time"},"created_by":{"description":"","type":"reference","target":"User"},"last_edited_by":{"description":"","type":"reference","target":"User"},"cover":{"description":"","type":"string"},"icon":{"description":"","type":"string"},"parent":{"description":"","type":"any"},"in_trash":{"description":"","type":"boolean"},"properties":{"description":"","type":"map","schema":{"type":"any"}},"url":{"description":"","type":"string"},"public_url":{"description":"","type":"string"}}},"Page_Id":{"description":"","type":"struct","properties":{"page_id":{"description":"","type":"string"}}},"Person":{"description":"","type":"struct","properties":{"email":{"description":"","type":"string"}}},"Rich_Text":{"description":"","type":"struct","properties":{"type":{"description":"","type":"string"},"annotations":{"description":"","type":"reference","target":"Rich_Text_Annotation"},"plain_text":{"description":"","type":"string"},"href":{"description":"","type":"string"}}},"Rich_Text_Annotation":{"description":"","type":"struct","properties":{"bold":{"description":"","type":"boolean"},"italic":{"description":"","type":"boolean"},"strikethrough":{"description":"","type":"boolean"},"underline":{"description":"","type":"boolean"},"code":{"description":"","type":"boolean"},"color":{"description":"","type":"string"}}},"User":{"description":"","type":"struct","properties":{"object":{"description":"","type":"string"},"id":{"description":"","type":"string"},"type":{"description":"","type":"string"},"person":{"description":"","type":"reference","target":"Person"},"name":{"description":"","type":"string"},"avatar_url":{"description":"","type":"string"}}},"User_Collection":{"description":"","type":"struct","properties":{"results":{"description":"","type":"array","schema":{"type":"reference","target":"User"}},"next_cursor":{"description":"","type":"string"},"has_more":{"description":"","type":"boolean"}}}}}}
0 commit comments