FOR ARCHIVAL PURPOSES ONLY

The information in this wiki hasn't been maintained for a good while. Some of the projects described have since been deprecated.

In particular, the "Ushahidi Platform v3.x" section contains information that is often misleading. Many details about this version of Platform have changed since.

This website is an extraction of the original Ushahidi wiki into a static form. Because of that, functions like logging in, commenting or searching will not work.

For more documentation, please refer to https://docs.ushahidi.com

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Type

Description

id

Required

The numerical id of the user being updated.

In a special case this can also be 'me' to get the current user

Example Request
Panel

GET http://ushv3.dev/api/v2/users/1

Code Block
titleResponse
languagejavascript
{
    "id": "1",
    "url": "http:\/\/ushv3.dev\/api\/v2\/users\/1",
    "email": "robbie@ushahidi.com",
    "first_name": "Robbie",
    "last_name": "Mackay",
    "username": "robbie",
    "logins": "0",
    "last_login": null,
    "failed_attempts": "0",
    "last_attempt": null,
    "created": "1970-01-01T00:00:00+00:00",
    "updated": "1970-01-01T00:00:00+00:00"
}

...

Name

Type

Description

id

Required

The numerical id of the user being updated.

In a special case this can also be 'me' to get the current user

Example Request
Panel

PUT http://ushv3.dev/api/v2/users/1

Code Block
titlePost Data
languagejavascript
{
	"email":"robbie@ushahidi.com",
	"first_name":"Robbie",
	"last_name":"Mackay",
	"username":"rjmackay",
	"password":"testing"
}
Code Block
titleResponse
languagejavascript
{
    "id": "1",
    "url": "http:\/\/ushv3.dev\/api\/v2\/users\/1",
    "email": "robbie@ushahidi.com",
    "first_name": "Robbie",
    "last_name": "Mackay",
    "username": "rjmackay",
    "logins": "0",
    "last_login": null,
    "failed_attempts": "0",
    "last_attempt": null,
    "created": "1970-01-01T00:00:00+00:00",
    "updated": "2013-08-21T00:25:20+00:00"
}

...