metamaps--metamaps/doc/api/schemas/_map.json
Devin Howard 1fbfd56d57 filter maps by user_id in api (#872)
* filter maps by user_id in api

* test user_id map filter

* update starred maps example to make starred true lol

* add user id to map schema/examples
2016-10-29 22:07:27 +08:00

74 lines
1.2 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"
},
"user_id": {
"$ref": "_id.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"
]
}