Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions docs/website/docs/api/assign-a-role-to-a-user.api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
id: assign-a-role-to-a-user
title: "Assign a role to a user"
description: "Assign a role to a user"
sidebar_label: "Assign a role to a user"
hide_title: true
hide_table_of_contents: true
api: eJyFU01v2zAM/SuCzlnt7gMofOuGDsipQdedgmJgJCZWJ0uaJKcNjPz3kXKbJoux+pBI5CMpvkcOMuKfHlP+6vVONkO5mohaNjn2OJPKu4wuswtCsEZBNt5Vj8k7tiXVYgd8yruAspF+9Ygqy5kM0QeM2WBib58w/jL6CJhyNG4j9zMqmXwfFb7rHz1TCG+nHOUr8cG7ND7kY13zn8akogncCwXcUbyAlMzGoRapVwpTWvfW7jj756mQuduCNVoYF/o8oj6do777uDJao2PEl+k8GaMDK4igLUaBMfoo+dmnuOvyOgGCexXZ04k5JaI7zK0n5mTwqRAPuaVbxcBE9zExNb8kGaIlV5tzaKrKegW2paDmqr6qKwim2l7K/cNMsrp3b3Nx8wxdGBk+6PhK8j/yTZhPRXkV60g949a+qGdy8dw+WZOyUeJ6MZdnPCzmQnvVdzSUZRTF2kdxCDmaUQrlvsewy4v6ouZiTFIHZXYddPhfZk8qH6Yr43OuggVTRC2MDi+kL+VIOlHIvLJhGFaQ8Ge0+z2bidNIe7ak4xaigRV3vHygRC2Cpqqs0m8kiPw2bt6Hey7LcNtz+bMtZMEOM7C4/XFP4NXLNndec0yEJyaefhtJB19aKutQbIO04DY9bBg75uTvL3Iqaho=
sidebar_class_name: "post api-method"
info_path: docs/api/owlistic-api
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
as={"h1"}
className={"openapi__heading"}
children={"Assign a role to a user"}
>
</Heading>

<MethodEndpoint
method={"post"}
path={"/roles"}
context={"endpoint"}
>

</MethodEndpoint>



Assign a role to a user

<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>

<ParamsDetails
parameters={undefined}
>

</ParamsDetails>

<RequestSchema
title={"Body"}
body={{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user_id":{"type":"string"},"resource_id":{"type":"string"},"resource_type":{"type":"string"},"role":{"type":"string"}}}}}}}
>

</RequestSchema>

<StatusCodes
id={undefined}
label={undefined}
responses={{"200":{"description":"Role assigned successfully"},"400":{"description":"Invalid input"},"403":{"description":"Forbidden"},"500":{"description":"Internal server error"}}}
>

</StatusCodes>



71 changes: 71 additions & 0 deletions docs/website/docs/api/create-a-new-block.api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
id: create-a-new-block
title: "Create a new block"
description: "Create a new block"
sidebar_label: "Create a new block"
hide_title: true
hide_table_of_contents: true
api: eJytlMFu2zAMhl9F0NmLnWEDCt/aYYeeWmzdKQgGWWZitbKkSXLSwPC7j5SdxFnWHoblkMjkr5/iZyo99/CrgxDvbH3gZZ8elYeal9F3kHFpTQQTKSWc00qKqKzJn4M1FAuygVbQKh4c8JLb6hlk5Bl33jrwUUGg7MzmUjhk3NgIP1U9y4XoldlSbgxcJTBzPujq5H72mnauh2HUBmdNGI/ysVjSTw1BeuWoGzS+01a+MOlBRKhZ6KSEEDad1gf+3xi80eI/tJ+9y9P6GvwsY7q2wgCBiCpqOLbLRzifiuKax73ZCa1qpozrkunnv6sieCM0C+B34Bl4b8dCl7oviSsTzMCeVal2xluIjcW2ubMhwRKxwac85QMGRlNEt+p55zXmmhhdmecoELrBXeVNcVPkwql8t+TDOuP0Sr6dB/rrq2idhssBnCM/Es2uCSuzsQnihOxhr1WISrLbx3vU08nG5paLYlHwP1tGFaut7FosmsaFbaxnJ5PZHC2oGjFoRRonI1p4i9lFjdMLjvAac6eFMmSVUPUTzhWfcCIcIkaRvq9EgB9eDwOFkZbHq7/C5U54JSpqd7VGpwZEmiTk/wIHOtMI8cMT1SW57qj+1aUYsuOOW7xILr6rXc9G4fHh+xOKq+nPqLU17fFij0H6LjkubOo/XakU67kWZtuJLWlHT/r8BpENqp0=
sidebar_class_name: "post api-method"
info_path: docs/api/owlistic-api
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
as={"h1"}
className={"openapi__heading"}
children={"Create a new block"}
>
</Heading>

<MethodEndpoint
method={"post"}
path={"/blocks"}
context={"endpoint"}
>

</MethodEndpoint>



Create a new block

<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>

<ParamsDetails
parameters={undefined}
>

</ParamsDetails>

<RequestSchema
title={"Body"}
body={{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"object"},"note_id":{"type":"string"},"type":{"type":"string"}},"required":["content","note_id","type"]}}}}}
>

</RequestSchema>

<StatusCodes
id={undefined}
label={undefined}
responses={{"201":{"description":"Block created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"note_id":{"type":"string"},"type":{"type":"string"},"content":{"type":"object"},"order":{"type":"number"}},"title":"Block"}}}},"400":{"description":"Invalid input"},"500":{"description":"Internal server error"}}}
>

</StatusCodes>



71 changes: 71 additions & 0 deletions docs/website/docs/api/create-a-new-note.api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
id: create-a-new-note
title: "Create a new note"
description: "Create a new note"
sidebar_label: "Create a new note"
hide_title: true
hide_table_of_contents: true
api: eJytlMFu2zAMhl/F4NmLnWGHwrd26GGXtdi6UxAMjMzGam1Jk+SkgeF3Hyknadpsww7xwZYoiuT/kckAnn71FOKNrXdQDWmrPdVQRd9TDsqaSCbKETrXaoVRW1M8BWvEFlRDHcoq7hxBBXb1RCpCDs5bRz5qCulUx5ZO3EL02qxhzGHVWvUcTo7Qe9xxAB2pC+eRx+nJudLgrAlT/I/lXD41BeW1kxL5xlcbKVOeMLKei0nR9bmOHB6t75BjQ9+zA5d3ScU59IH8z//K/Jo66YcJ1qeyPOdzg3W2b//l8JD31v9B96Ftb0v4nLqTYWZomxmpN4eOYmNZKjibCnMYG94Vchx4zyg25DnZYoDet3zUxOiqomCu2DZ8qboqr8oCnS42cxiXOYiIb6+DfvuCndt3Z8/qiPPQncUwLrlcbR7tqd/dttUhapVd339hbylkUjKflbMS3utjr6y2qu+YbOKZcbuyY5AT0DMZDVHcYeJtsKO/AHqT4gg60kssXIvaSKQEZtizW8DEjkkIHjEMwwoD/fDtOIqZ0Xj+/S94uUGvcSViFwKgIazJJ9jPtJOKpjn58CBpxb3t0xC/n5kxP9y4Vopc/Kfv8qTt93ffH6QR+3+kztZyx+OWjfKugBc2yU8Tl2wDtGjWPa7Fd4opz282L6vx
sidebar_class_name: "post api-method"
info_path: docs/api/owlistic-api
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
as={"h1"}
className={"openapi__heading"}
children={"Create a new note"}
>
</Heading>

<MethodEndpoint
method={"post"}
path={"/notes"}
context={"endpoint"}
>

</MethodEndpoint>



Create a new note

<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>

<ParamsDetails
parameters={undefined}
>

</ParamsDetails>

<RequestSchema
title={"Body"}
body={{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"blocks":{"type":"array","items":{"type":"object"}}}}}}}}
>

</RequestSchema>

<StatusCodes
id={undefined}
label={undefined}
responses={{"201":{"description":"Note created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string"},"blocks":{"type":"array","items":{"type":"object"}},"user_id":{"type":"string","format":"uuid"}},"title":"Note"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}
>

</StatusCodes>



71 changes: 71 additions & 0 deletions docs/website/docs/api/create-a-new-notebook.api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
id: create-a-new-notebook
title: "Create a new notebook"
description: "Create a new notebook"
sidebar_label: "Create a new notebook"
hide_title: true
hide_table_of_contents: true
api: eJytVMFu2zAM/RWDZy92hh0K39phh13WYutOQTAoMhurlSVNopMGRv59pJK07oIMO1QHW6KeyPeeaI8Q8feAiW58u4NmzEsTsYWG4oAlaO8IHcmWCsEarch4Vz0m7ySWdIe9khntAkIDfvWImqCEEH3ASAaT7DrV4wSVKBq3hn0eJRdNwbt0gH6s5/JqMeloglTjA9884cr7p0JHVMT03o2Zac95lfDgY684NwwDA5jiBQElDAnjr/9KwmAyZHEiBw76P9X1ueQb1RbHy3k/tRijj5cugpm8pfA5m12owuG2cCfOJfRInWfJEHwmFxR1vKpOkMQxtmWDkYsuRhii5e2OKDRVZb1WtuODzVV9VVcqmGozh/2yBBHz/bUdvzyrPlh8bZ+J68Y9+CzjaOjt1ppERhfXd1+5uFQ+SJjP6lkNfwtjVNF6PfRsaTay4LsqXpJMHJ5JNZHZKzdhcsmZN2VeXCZ8pipYZVzuGHFjPJq2gFfT2ALxRYLjuFIJf0a730uYPYn8eS54ulHRqJWIXiw5WYeqxZhdfsKdMDs0yod7KS1wOwiFs6bZl6cT11pjoH9il5M7v7v9cc/g1fGH0ftWzkS15aA8G+CJzxbklsuxEaxy60GtBXvIKeMPYiaMlA==
sidebar_class_name: "post api-method"
info_path: docs/api/owlistic-api
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
as={"h1"}
className={"openapi__heading"}
children={"Create a new notebook"}
>
</Heading>

<MethodEndpoint
method={"post"}
path={"/notebooks"}
context={"endpoint"}
>

</MethodEndpoint>



Create a new notebook

<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>

<ParamsDetails
parameters={undefined}
>

</ParamsDetails>

<RequestSchema
title={"Body"}
body={{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}
>

</RequestSchema>

<StatusCodes
id={undefined}
label={undefined}
responses={{"201":{"description":"Notebook created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"user_id":{"type":"string","format":"uuid"}},"title":"Notebook"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}
>

</StatusCodes>



71 changes: 71 additions & 0 deletions docs/website/docs/api/create-a-new-task.api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
id: create-a-new-task
title: "Create a new task"
description: "Create a new task"
sidebar_label: "Create a new task"
hide_title: true
hide_table_of_contents: true
api: eJy9VD1v2zAQ/SsEZzWSixYItCVFh0wJWncyjOIsnS0mFMmSlB1D0H/vHeXaTqx0KIJ6kMn7fPf4yF56/NVhiLe23suyT1vlsZZl9B1msrImoonsAue0qiAqa/LHYA3bQtVgC7yKe4eylHb1iFWUmXTeOvRRYUheFTWehYXoldnIIZNdQP9T1ZM+YyNO+8h5Qro4lF8Ow+gIzpowNv5YzPivxlB55Rg7VZlDeBKVR4hYi9BVFYaw7rTey3cbeAp1JtfWt0C1ZddRAGH9B14mqrzJ00XsqWUiQY6MfSqKS5JuoRYHcbwfLei99VPnOQL5PAXkjjp7A1oQI1v0YqzxfyARppdgviTVCBAGdyIyhZlsMTaW2JfOJq4cxIZ2ObsD7Ufc1GzRy85rcjUxujLPta1AN5RUXhfXRQ5O5duZHJaZ5CG+nW7m12do3UEoh+M7nvBRKCfTUQ9nelJmbc/z73dahagqcfNwJ19PSTZR26prid/EqiAdiWPKGd2UyrONabOr4qrgZkxEC+kYDLT4Bm8veh75j/gcc6dBmXQNmK/+QCld9EQpEcSssaHvVxDwh9fDwGZizNM7tqDlFryCFc+6WFKhBqFGn87gCfeMaJTPhzm35XDdcfsLKQ3Zn4wbeihc/Gvs8kwND/ff5xS8Orysra05x8OOjPwtJS1sGj8JMdl6qcFsOthw7FiTf78BYwLzJQ==
sidebar_class_name: "post api-method"
info_path: docs/api/owlistic-api
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
as={"h1"}
className={"openapi__heading"}
children={"Create a new task"}
>
</Heading>

<MethodEndpoint
method={"post"}
path={"/tasks"}
context={"endpoint"}
>

</MethodEndpoint>



Create a new task

<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>

<ParamsDetails
parameters={undefined}
>

</ParamsDetails>

<RequestSchema
title={"Body"}
body={{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"user_id":{"type":"string"},"note_id":{"type":"string"}},"required":["title"]}}}}}
>

</RequestSchema>

<StatusCodes
id={undefined}
label={undefined}
responses={{"201":{"description":"Task created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string"},"user_id":{"type":"string","format":"uuid"},"note_id":{"type":"string","format":"uuid"}},"title":"Task"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}
>

</StatusCodes>



Loading