metamaps--metamaps/doc/api/schemas/_map.json
Devin Howard d193c9a53c add starred to maps API (#719)
* add starred to maps API and endpoint to create/delete

* add token to requests without token param

* add minor version number to api version

* metacode/user use uri in schema

* make code climate happier
2016-10-05 10:36:03 -04:00

71 lines
1.1 KiB
JSON

{
"name": "Map",
"type": "object",
"properties": {
"id": {
"$ref": "_id.json"
},
"name": {
"type": "string"
},
"desc": {
"type": "string"
},
"permission": {
"$ref": "_permission.json"
},
"screenshot": {
"format": "uri",
"type": "string"
},
"starred": {
"type": "boolean"
},
"created_at": {
"$ref": "_datetimestamp.json"
},
"updated_at": {
"$ref": "_datetimestamp.json"
},
"topic_ids": {
"type": "array",
"items": {
"$ref": "_id.json"
}
},
"synapse_ids": {
"type": "array",
"items": {
"$ref": "_id.json"
}
},
"mapping_ids": {
"type": "array",
"items": {
"$ref": "_id.json"
}
},
"contributor_ids": {
"type": "array",
"items": {
"$ref": "_id.json"
}
},
"collaborator_ids": {
"type": "array",
"items": {
"$ref": "_id.json"
}
}
},
"required": [
"id",
"name",
"desc",
"permission",
"screenshot",
"starred",
"created_at",
"updated_at"
]
}