This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
protos api
svcfmtm edited this page Dec 13, 2023
·
1 revision
-
- Bannertype
- Command
- Editors
- Encouragingemailtype
- Mappinglevel
- Mappingnotallowed
- Mappingtypes
- Notification
- Organizationtype
- Permissions
- Projectdifficulty
- Projectpriority
- Projectstatus
- Taskaction
- Taskcreationmode
- Taskstatus
- Teamjoinmethod
- Teammemberfunctions
- Teamroles
- Teamvisibility
- Usergender
- Userrole
- Validatingnotallowed
Field | Type | Label | Description |
---|---|---|---|
note | Notification |
Field | Type | Label | Description |
---|---|---|---|
cmd | Command | ||
id | int64 | ||
name | string |
Field | Type | Label | Description |
---|---|---|---|
error_code | int32 | ||
error_msg | string | ||
data | tmresponse.DataEntry | repeated | message Data { map<string, string> pairs = 3; } repeated Data data = 4; |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
The greeting service definition.
Method Name | Request Type | Response Type | Description |
---|---|---|---|
doRequest | tmrequest | tmresponse | These are for handling tmrequest for profile data from the database |
doNotification | notification | tmresponse | |
updateUserProfile | users | users | |
updateProjectProfile | projects | projects | |
updateTeamProfile | teams | teams | |
updateTask | tasks | tasks | |
updateOrganizationProfile | organizations | organizations |
Name | Number | Description |
---|---|---|
INFO | 0 | |
WARNING | 1 |
Name | Number | Description |
---|---|---|
GET_USER | 0 | |
GET_ORG | 1 | |
GET_PROJECT | 2 | |
GET_TEAM | 3 |
Name | Number | Description |
---|---|---|
ID | 0 | |
JOSM | 1 | |
POTLATCH_2 | 2 | |
FIELD_PAPERS | 3 | |
CUSTOM | 4 | |
RAPID | 5 |
Name | Number | Description |
---|---|---|
PROJECT_PROGRESS | 0 | |
PROJECT_COMPLETE | 1 | |
BEEN_SOME_TIME | 2 |
Name | Number | Description |
---|---|---|
BEGINNER | 0 | |
INTERMEDIATE | 1 | |
ADVANCED | 2 |
Name | Number | Description |
---|---|---|
USER_ALREADY_HAS_TASK_LOCKED | 0 | |
USER_NOT_CORRECT_MAPPING_LEVEL | 1 | |
USER_NOT_ACCEPTED_LICENSE | 2 | |
USER_NOT_ALLOWED | 3 | |
PROJECT_NOT_PUBLISHED | 4 | |
USER_NOT_TEAM_MEMBER | 5 | |
PROJECT_HAS_NO_OSM_TEAM | 6 | |
NOT_A_MAPPING_TEAM | 7 |
Name | Number | Description |
---|---|---|
ROADS | 0 | |
BUILDINGS | 1 | |
WATERWAYS | 2 | |
LAND_USE | 3 | |
OTHER | 4 |
Name | Number | Description |
---|---|---|
BAD_DATA | 0 | |
BLOCKED_USER | 1 | |
PROJECT_FINISHED | 2 |
Name | Number | Description |
---|---|---|
FREE | 0 | |
DISCOUNTED | 1 | |
FULL_FEE | 2 |
Name | Number | Description |
---|---|---|
ANY_PERMISSIONS | 0 | |
LEVEL | 1 | |
TEAMS | 2 | |
TEAMS_LEVEL | 3 |
Name | Number | Description |
---|---|---|
EASY | 0 | |
MODERATE | 1 | |
CHALLENGING | 2 |
Name | Number | Description |
---|---|---|
URGENT | 0 | |
HIGH | 1 | |
MEDIUM | 2 | |
LOW | 3 |
Name | Number | Description |
---|---|---|
ARCHIVED | 0 | |
PUBLISHED | 1 | |
DRAFT | 2 |
Name | Number | Description |
---|---|---|
RELEASED_FOR_MAPPING | 0 | |
LOCKED_FOR_MAPPING | 1 | |
MARKED_MAPPED | 2 | |
LOCKED_FOR_VALIDATION | 3 | |
VALIDATED | 4 | |
MARKED_INVALID | 5 | |
MARKED_BAD | 6 | |
SPLIT_NEEDED | 7 | |
RECREATED | 8 | |
COMMENT | 9 |
Name | Number | Description |
---|---|---|
GRID | 0 | |
CREATE_ROADS | 1 | |
UPLOAD | 2 |
Name | Number | Description |
---|---|---|
READY | 0 | |
TASK_LOCKED_FOR_MAPPING | 1 | |
TASK_STATUS_MAPPED | 2 | |
TASK_LOCKED_FOR_VALIDATION | 3 | |
TASK_VALIDATED | 4 | |
TASK_INVALIDATED | 5 | |
BAD | 6 | |
SPLIT | 7 | |
TASK_ARCHIVED | 8 |
Name | Number | Description |
---|---|---|
ANY_METHOD | 0 | |
BY_REQUEST | 1 | |
BY_INVITE | 2 |
Name | Number | Description |
---|---|---|
MANAGER | 0 | |
MEMBER | 1 |
Name | Number | Description |
---|---|---|
TEAM_READ_ONLY | 0 | |
TEAM_MAPPER | 1 | |
VALIDATOR | 2 | |
PROJECT_MANAGER | 3 |
Name | Number | Description |
---|---|---|
PUBLIC | 0 | |
PRIVATE | 1 |
Name | Number | Description |
---|---|---|
MALE | 0 | |
FEMALE | 1 | |
SELF_DESCRIBE | 2 | |
PREFER_NOT | 3 |
Name | Number | Description |
---|---|---|
USER_READ_ONLY | 0 | |
USER_MAPPER | 1 | |
ADMIN | 2 |
Name | Number | Description |
---|---|---|
USER_NOT_VALIDATOR | 0 | |
USER_LICENSE_NOT_ACCEPTED | 1 | |
USER_NOT_ON_ALLOWED_LIST | 2 | |
PROJECT_NOT_YET_PUBLISHED | 3 | |
USER_IS_BEGINNER | 4 | |
NOT_A_VALIDATION_TEAM | 5 | |
USER_NOT_IN_TEAM | 6 | |
PROJECT_HAS_NO_TEAM | 7 | |
USER_ALREADY_LOCKED_TASK | 8 |
Field | Type | Label | Description |
---|---|---|---|
id | int64 | ||
name | string | ||
slug | string | ||
logo | string | ||
description | string | ||
url | string | ||
orgtype | Organizationtype |
Field | Type | Label | Description |
---|---|---|---|
id | int64 | ||
odkid | int64 | ||
author_id | int64 | ||
created | google.protobuf.Timestamp | ||
project_name_prefix | string | ||
task_type_prefix | string | ||
location_str | string | ||
outline | bytes | ||
status | Projectstatus | ||
private | bool | ||
mapper_level | Mappinglevel | ||
priority | Projectpriority | ||
centroid | bytes | ||
hashtags | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
id | int64 | ||
project_task_name | string | ||
outline | bytes | ||
geometry_geojson | string |
Field | Type | Label | Description |
---|---|---|---|
id | int64 | ||
name | string | ||
logo | string | ||
description | string | ||
invite_only | bool | ||
visibility | Teamvisibility |
Field | Type | Label | Description |
---|---|---|---|
id | int64 | ||
username | string | ||
name | string | ||
city | string | ||
country | string | ||
tasks_mapped | int32 | ||
tasks_invalidated | int32 | ||
projects_mapped | int32 | repeated | |
date_registered | google.protobuf.Timestamp | ||
last_validation_date | google.protobuf.Timestamp | ||
password | string | ||
osm_id | int64 | ||
facebook_id | int64 | ||
irc_id | int64 | ||
skype_id | int64 | ||
slack_id | int64 | ||
linkedin_id | int64 | ||
twitter_id | int64 | ||
picture_url | string | ||
gender | int32 |