realsidsun/arche-api

By realsidsun

Updated about 5 years ago

Image
0

10K+

realsidsun/arche-api repository overview

Arche's REST API

Authentication

Sign-Up:

Method: POST

Path: /v1/signup

Body:

{
    "email": "[email protected]",
    "password": "&now:we@pluto"
}
Login:

Method: POST

Path: /v1/login

Body:

{
    "email": "[email protected]",
    "password": "&now:we@pluto"
}

Session Management

Refresh:

Method: POST

Path: /v1/session/refresh

Body:

{
    "email": "[email protected]",
    "password": "&now:we@pluto"
}

Folders

Create:

Method: POST

Path: /v1/folders/create

Body:

{
    "name": "koala"
}
Get:

Method: GET

Path: /v1/folders/get

Delete:

Method: DELETE

Path: /v1/folders/delete

Body:

{
    "folder_id": 1
}

Notes

GetAll:

Method: GET

Path: /v1/notes/getall

Create:

Method: POST

Path: /v1/notes/create

Body:

{
    "name": "hello",
    "data": "I am a butterfly, flying through the sky",
    "folder_id": 1
}
Update:

Method: PUT

Path: /v1/notes/update

Body:

{
    "folder_id": 1,
    "note_id": 7,
    "name": "squirrel",
    "data": "I am a squirrel"
}
Delete:

Method: DELETE

Path: /v1/notes/delete

Body:

{
    "note_id": 12
}

Tag summary

Content type

Image

Digest

Size

8.2 MB

Last updated

about 5 years ago

docker pull realsidsun/arche-api