{"note":"OpenAPI conversion -- returning structured metadata","name":"mixpanel-annotations","description":"Annotations API","version":"1.0.0","base_url":"","endpoints":7,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Annotations API\n@version 1.0.0\n@endpoints 7\n@toc projects(7)\n\n@endpoint GET /projects/{projectId}/annotations\n@desc List Annotations\n@returns(200) {status: str, results: [map]} # Success\n@errors {401, 403}\n\n@endpoint POST /projects/{projectId}/annotations\n@desc Create Annotations\n@optional {date: str # A string representation of a date in \"YYYY-MM-DD HH:mm:ss\" format, description: str # The text that will be shown when looking at the annotation, tags: [num] # The ids of the tags to be added to the annotation}\n@returns(201) {status: str, results: map{date: str, description: str, id: num, user: map{id: num, first_name: str, last_name: str}, tags: [map]}} # Success\n@errors {401, 403}\n\n@endpoint GET /projects/{projectId}/annotations/{annotationId}\n@desc Get Annotation\n@returns(200) {status: str, results: map{date: str, description: str, id: num, user: map{id: num, first_name: str, last_name: str}, tags: [map]}} # Success\n@errors {401, 403}\n\n@endpoint PATCH /projects/{projectId}/annotations/{annotationId}\n@desc Patch Annotation\n@optional {description: str # The text that will be shown when looking at the annotation, tags: [num] # The ids of the tags to be added to the annotation}\n@returns(200) {status: str, results: map{date: str, description: str, id: num, user: map{id: num, first_name: str, last_name: str}, tags: [map]}} # Success\n@errors {401, 403}\n\n@endpoint DELETE /projects/{projectId}/annotations/{annotationId}\n@desc Delete Annotation\n@returns(200) {status: str, results: map{id: num}} # Success\n@errors {401, 403}\n\n@endpoint GET /projects/{projectId}/annotations/tags\n@desc Get Annotation Tags\n@returns(200) Success\n@errors {401, 403}\n\n@endpoint POST /projects/{projectId}/annotations/tags\n@desc Create Annotation Tag\n@optional {name: str # The text that will be shown when the tag is added to an annotation}\n@returns(200) {id: num, name: str, project_id: num, has_annotations: bool} # Success\n@errors {401, 403}\n\n@end\n"}