Download OpenAPI specification:
App to Create Graphically-Summarized Notes in Three Steps
userId required | string Example: userId=auth0|65a3d656ca600978b0f9501b User ID |
projectId required | string Example: projectId=123e4567-e89b-12d3-a456-426614174000 Auto-generated project ID |
{- "project": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "My Project",
- "description": "This is my project"
}
}
required | object (UserOnlyId) User object with only ID |
required | object (ProjectWithoutAutofield) Project object without auto-generated fields |
{- "user": {
- "id": "auth0|65a3d656ca600978b0f9501b"
}, - "project": {
- "name": "My Project",
- "description": "This is my project"
}
}
{- "project": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "My Project",
- "description": "This is my project"
}
}
required | object (UserOnlyId) User object with only ID |
required | object (Project) Project object |
{- "user": {
- "id": "auth0|65a3d656ca600978b0f9501b"
}, - "project": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "My Project",
- "description": "This is my project"
}
}
{- "project": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "My Project",
- "description": "This is my project"
}
}
required | object (UserOnlyId) User object with only ID |
required | object (ProjectOnlyId) Project object with only ID |
{- "user": {
- "id": "auth0|65a3d656ca600978b0f9501b"
}, - "project": {
- "id": "123e4567-e89b-12d3-a456-426614174000"
}
}
{- "message": "unexpected EOF",
- "user": {
- "id": "user id is required, but got ''"
}, - "project": {
- "id": "project id is required, but got ''"
}
}
userId required | string Example: userId=auth0|65a3d656ca600978b0f9501b User ID |
projectId required | string Example: projectId=123e4567-e89b-12d3-a456-426614174000 Auto-generated project ID |
{- "chapters": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "Introduction",
- "number": 1,
- "sections": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "Overview"
}
]
}
]
}
required | object (UserOnlyId) User object with only ID |
required | object (ProjectOnlyId) Project object with only ID |
required | object (ChapterWithoutAutofield) Chapter object without auto-generated fields |
{- "user": {
- "id": "auth0|65a3d656ca600978b0f9501b"
}, - "project": {
- "id": "123e4567-e89b-12d3-a456-426614174000"
}, - "chapter": {
- "name": "Introduction",
- "number": 1
}
}
{- "chapter": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "Introduction",
- "number": 1,
- "sections": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "Overview"
}
]
}
}
required | object (UserOnlyId) User object with only ID |
required | object (ProjectOnlyId) Project object with only ID |
required | object (Chapter) Chapter object |
{- "user": {
- "id": "auth0|65a3d656ca600978b0f9501b"
}, - "project": {
- "id": "123e4567-e89b-12d3-a456-426614174000"
}, - "chapter": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "Introduction",
- "number": 1
}
}
{- "chapter": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "Introduction",
- "number": 1,
- "sections": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "Overview"
}
]
}
}
required | object (UserOnlyId) User object with only ID |
required | object (ProjectOnlyId) Project object with only ID |
required | object (ChapterOnlyId) Chapter object with only ID |
{- "user": {
- "id": "auth0|65a3d656ca600978b0f9501b"
}, - "project": {
- "id": "123e4567-e89b-12d3-a456-426614174000"
}, - "chapter": {
- "id": "123e4567-e89b-12d3-a456-426614174000"
}
}
{- "message": "unexpected EOF",
- "user": {
- "id": "user id is required, but got ''"
}, - "project": {
- "id": "project id is required, but got ''"
}, - "chapter": {
- "id": "chapter id is required, but got ''"
}
}
userId required | string Example: userId=auth0|65a3d656ca600978b0f9501b User ID |
projectId required | string Example: projectId=123e4567-e89b-12d3-a456-426614174000 Auto-generated project ID |
chapterId required | string Example: chapterId=123e4567-e89b-12d3-a456-426614174000 Auto-generated chapter ID |
{- "paper": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "content": "## Introduction\nThis is the introduction of the paper.\n\n## What is note apps?\nNote apps is a web application that allows users to create, read, update, and delete notes.\n"
}
}
required | object (UserOnlyId) User object with only ID |
required | object (ProjectOnlyId) Project object with only ID |
required | object (Paper) Paper object |
{- "user": {
- "id": "auth0|65a3d656ca600978b0f9501b"
}, - "project": {
- "id": "123e4567-e89b-12d3-a456-426614174000"
}, - "paper": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "content": "## Introduction\nThis is the introduction of the paper.\n\n## What is note apps?\nNote apps is a web application that allows users to create, read, update, and delete notes.\n"
}
}
{- "paper": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "content": "## Introduction\nThis is the introduction of the paper.\n\n## What is note apps?\nNote apps is a web application that allows users to create, read, update, and delete notes.\n"
}
}
userId required | string Example: userId=auth0|65a3d656ca600978b0f9501b User ID |
projectId required | string Example: projectId=123e4567-e89b-12d3-a456-426614174000 Auto-generated project ID |
chapterId required | string Example: chapterId=123e4567-e89b-12d3-a456-426614174000 Auto-generated chapter ID |
sectionId required | string Example: sectionId=123e4567-e89b-12d3-a456-426614174000 Auto-generated section ID |
{- "graph": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "Overview",
- "paragraph": "## Introduction\nThis is the introduction of the paper.\n",
- "children": [
- {
- "name": "Study of Note Apps",
- "relation": "part of",
- "description": "This is a part of the overview section.",
- "children": [
- { }
]
}
]
}
}
required | object (UserOnlyId) User object with only ID |
required | object (ProjectOnlyId) Project object with only ID |
required | object (ChapterOnlyId) Chapter object with only ID |
required | object (GraphContent) Graph object with only content fields |
{- "user": {
- "id": "auth0|65a3d656ca600978b0f9501b"
}, - "project": {
- "id": "123e4567-e89b-12d3-a456-426614174000"
}, - "chapter": {
- "id": "123e4567-e89b-12d3-a456-426614174000"
}, - "graph": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "paragraph": "## Introduction\nThis is the introduction of the paper.\n",
- "children": [
- {
- "name": "Study of Note Apps",
- "relation": "part of",
- "description": "This is a part of the overview section.",
- "children": [
- { }
]
}
]
}
}
{- "graph": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "Overview",
- "paragraph": "## Introduction\nThis is the introduction of the paper.\n",
- "children": [
- {
- "name": "Study of Note Apps",
- "relation": "part of",
- "description": "This is a part of the overview section.",
- "children": [
- { }
]
}
]
}
}
required | object (UserOnlyId) User object with only ID |
required | object (ProjectOnlyId) Project object with only ID |
required | object (ChapterOnlyId) Chapter object with only ID |
required | object (SectionOnlyId) Section object with only ID |
{- "user": {
- "id": "auth0|65a3d656ca600978b0f9501b"
}, - "project": {
- "id": "123e4567-e89b-12d3-a456-426614174000"
}, - "chapter": {
- "id": "123e4567-e89b-12d3-a456-426614174000"
}, - "section": {
- "id": "123e4567-e89b-12d3-a456-426614174000"
}
}
{- "message": "unexpected EOF",
- "user": {
- "id": "user id is required, but got ''"
}, - "project": {
- "id": "project id is required, but got ''"
}, - "chapter": {
- "id": "chapter id is required, but got ''"
}, - "section": {
- "id": "section id is required, but got ''"
}
}
required | object (UserOnlyId) User object with only ID |
required | object (ProjectOnlyId) Project object with only ID |
required | object (ChapterOnlyId) Chapter object with only ID |
required | Array of objects (SectionWithoutAutofield) <= 20 items |
{- "user": {
- "id": "auth0|65a3d656ca600978b0f9501b"
}, - "project": {
- "id": "123e4567-e89b-12d3-a456-426614174000"
}, - "chapter": {
- "id": "123e4567-e89b-12d3-a456-426614174000"
}, - "sections": [
- {
- "name": "Overview",
- "content": "## Introduction\nThis is the introduction of the paper.\n"
}
]
}
{- "graphs": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "Overview",
- "paragraph": "## Introduction\nThis is the introduction of the paper.\n",
- "children": [
- {
- "name": "Study of Note Apps",
- "relation": "part of",
- "description": "This is a part of the overview section.",
- "children": [
- { }
]
}
]
}
]
}