Moin API

Send Moins around the world.

Default response content-types: application/json
Schemes: https

Summary

Tag: Moining

Operation Description
POST /moin

Send Moin

Tag: User

Operation Description
POST /users/auth

Authenticate the current user.

POST /users/signup

Registration of the new user.

GET /users/{username}

User Profile

GET /users

Users

GET /users/recents

Get Recents

POST /users/addPush

Add Push Token to server.

Security

Bearer

name: Session
in: header

Paths

Send Moin

POST /moin

Tags: Moining

Sends a Moin from the current user to the specified receiver.

Name of the recipient.

Uses default content-types: application/json

200 OK

The Moin has been send successfully.

default

Unexpected error

Bearer
Users

GET /users

Tags: User

Find a user specified in the query parameter

username

The username of the user who shall be searched for.

query string

Uses default content-types: application/json

200 OK

List of the found users.

default

Unexpected error

Bearer
Add Push Token to server.

POST /users/addPush

Tags: User

Uses default content-types: application/json

200 OK

Runs.

default

Unexpected error

Bearer
Authenticate the current user.

POST /users/auth

Tags: User

The server will return a sessiontoken which will be required for further requests to the server requiring authentication. Username and password are required.

Details of the user.

Uses default content-types: application/json

200 OK

The session Token for this session.

default

Unexpected error

Get Recents

GET /users/recents

Tags: User

Get Recents for the currently logged in user.

Uses default content-types: application/json

200 OK

List of the found users.

default

Unexpected error

Bearer
Registration of the new user.

POST /users/signup

Tags: User

Sign up for a new user account an acquire a session token.

Object for new user.

Uses default content-types: application/json

200 OK

The new session for the user.

default

Unexpected error

User Profile

GET /users/{username}

Tags: User

The User Profile endpoint returns information about the user with the specified username.

username

Username you are looking for.

path string

Uses default content-types: application/json

200 OK

Profile information for a user

default

Unexpected error

Bearer

Schema definitions

Error: object

code: integer (int32)
message: string
fields: string

MoinReceiver: object

name: string

Name of the Moin Receiver.

PushToken: object

token: string

Token brought to you by the Push Service Provider.

type: string

The Type of Pushservice (one of 'apns' and 'gcm')

Session: object

session_token: string

Token for a session for this user.

User: object

id: string

Unique identifier representing a specific user.

name: string

Name of the user.

password: string

Password of the user.

email: string

MD5 of the users mailaddress for gravatar.

UserLogin: object

name: string

Name of the user.

password: string

Password for the user.