Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

Basic REST endpoints #1

Open
57 of 62 tasks
emersion opened this issue Mar 6, 2016 · 0 comments
Open
57 of 62 tasks

Basic REST endpoints #1

emersion opened this issue Mar 6, 2016 · 0 comments
Labels

Comments

@emersion
Copy link
Owner

emersion commented Mar 6, 2016

See https://github.com/ProtonMail/WebClient/blob/v3/postman.json

attachments

  • GET /api/attachments/:id
  • POST /api/attachments/upload
  • PUT /api/attachments/remove

bugs

  • POST /api/bugs/crash

contacts

  • GET /api/contacts
  • POST /api/contacts
  • PUT /api/contacts/:id
  • PUT /api/contacts/delete
  • DELETE /api/contacts

conversations

  • GET /api/conversations
  • GET /api/conversations/count
  • GET /api/conversations/:id
  • PUT /api/conversations/read, /api/conversations/unread
  • PUT /api/conversations/star, /api/conversations/unstar
  • PUT /api/conversations/trash, /api/conversations/inbox, /api/conversations/spam, /api/conversations/archive
  • PUT /api/conversations/delete
  • PUT /api/conversations/label

domains

  • GET /api/domains/available

events

  • GET /api/events/:id
  • GET /api/events/latest

keys

  • PUT /api/keys/private

labels

  • GET /api/labels
  • POST /api/labels/apply/:id
  • PUT /api/labels/remove/:id
  • PUT /api/labels/order
  • POST /api/labels
  • PUT /api/labels/:id
  • DELETE /api/labels/:id

messages

  • GET /api/messages
  • GET /api/messages/count
  • GET /api/messages/total
  • GET /api/messages/:id
  • POST /api/messages/send/:id
  • PUT /api/messages/read, /api/messages/unread
  • PUT /api/messages/star, /api/messages/unstar
  • POST /api/messages/draft
  • PUT /api/messages/draft/:id
  • PUT /api/messages/trash, /api/messages/inbox, /api/messages/spam, /api/messages/archive
  • PUT /api/messages/delete
  • PUT /api/messages/label
  • DELETE /api/messages/draft
  • DELETE /api/messages/spam
  • DELETE /api/messages/trash

settings

  • PUT /api/settings/password
  • PUT /api/settings/signature
  • PUT /api/settings/display
  • PUT /api/settings/addressorder
  • PUT /api/settings/theme
  • PUT /api/settings/autosave
  • PUT /api/settings/composermode
  • PUT /api/settings/messagebuttons
  • PUT /api/settings/showimages
  • PUT /api/settings/viewlayout
  • PUT /api/settings/viewmode ?

users

  • GET /api/users
  • GET /api/users/:id
  • GET /api/users/pubkeys/:email (email is base64-encoded)
  • GET /api/users/direct
  • GET /api/users/available/:username

auth

  • POST /api/auth
  • POST /api/auth/cookies
  • DELETE /api/auth
@emersion emersion added the api label Mar 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant