{"namespace":"tribe\/events\/v1","routes":{"\/tribe\/events\/v1":{"namespace":"tribe\/events\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"tribe\/events\/v1"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/ngja.gov.lk\/ta\/wp-json\/tribe\/events\/v1"}]}},"\/tribe\/events\/v1\/doc":{"namespace":"tribe\/events\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/ngja.gov.lk\/ta\/wp-json\/tribe\/events\/v1\/doc"}]}},"\/tribe\/events\/v1\/events":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"required":false,"default":1,"description":"The archive page to return","type":"integer"},"per_page":{"required":false,"default":"8","description":"The number of events to return on each page","type":"integer"},"start_date":{"required":false,"default":"2024-12-30 05:29:00","description":"Events should start after the specified date"},"end_date":{"required":false,"default":"2026-12-30 05:51:10","description":"Events should start before the specified date"},"search":{"required":false,"description":"Events should contain the specified string in the title or description","type":"string"},"categories":{"required":false,"description":"Events should be assigned one of the specified categories slugs or IDs","items":{"type":"integer"}},"tags":{"required":false,"description":"Events should be assigned one of the specified tags slugs or IDs","items":{"type":"integer"}},"venue":{"required":false,"description":"Events should be assigned one of the specified venue IDs","items":{"type":"integer"}},"organizer":{"required":false,"description":"Events should be assigned one of the specified organizer IDs","items":{"type":"integer"}},"featured":{"required":false,"description":"Events should be filtered by their featured status","type":"boolean"},"status":{"required":false,"description":"The event post status"},"geoloc":{"required":false,"description":"Requires Events Calendar Pro. Events should be filtered by whether their venue has geolocation data","type":"boolean"},"geoloc_lat":{"required":false,"description":"Requires Events Calendar Pro. Events should be filtered by their venue latitude location, must also provide geoloc_lng"},"geoloc_lng":{"required":false,"description":"Requires Events Calendar Pro. Events should be filtered by their venue longitude location, must also provide geoloc_lat"},"include":{"required":false,"description":"Include events with one of the post IDs specified in the array of CSV list, date filters will be ignored.","items":{"type":"integer"}},"post_parent":{"required":false,"description":"Events should be filtered by their post_parent being the specified one.","type":"integer"}}},{"methods":["POST"],"args":{"author":{"required":false,"description":"The event author ID","type":"integer"},"date":{"required":false,"description":"The event publication date","type":"string"},"date_utc":{"required":false,"description":"The event publication date (UTC time zone)","type":"string"},"title":{"required":true,"description":"The event title","type":"string"},"description":{"required":false,"description":"The event description","type":"string"},"slug":{"required":false,"description":"The event slug","type":"string"},"excerpt":{"required":false,"description":"The event excerpt","type":"string"},"status":{"required":false,"description":"The event post status","type":"string"},"timezone":{"required":false,"description":"The event time zone","type":"string"},"all_day":{"required":false,"default":false,"description":"Whether the event lasts the whole day or not","type":"boolean"},"start_date":{"required":true,"description":"The event start date and time","type":"string"},"end_date":{"required":true,"description":"The event end date and time","type":"string"},"image":{"required":false,"description":"The event featured image ID or URL","type":"string"},"cost":{"required":false,"description":"The event cost"},"website":{"required":false,"description":"The event website URL"},"show_map":{"required":false,"description":"Whether the event should show a map or not","type":"boolean"},"show_map_link":{"required":false,"description":"Whether the event should show a map link or not","type":"boolean"},"hide_from_listings":{"required":false,"description":"Whether events should be hidden in the calendar view or not","type":"boolean"},"sticky":{"required":false,"description":"Whether the event should be sticky in the calendar view or not","type":"boolean"},"featured":{"required":false,"description":"Whether the event should be featured on the site or not","type":"boolean"},"categories":{"required":false,"description":"The event category ID or name"},"tags":{"required":false,"description":"The event tag ID or name"},"venue":{"required":false,"description":"The event venue ID or data","items":{"type":"integer"}},"organizer":{"required":false,"description":"The event organizer IDs or data","items":{"type":"integer"}}}}],"_links":{"self":[{"href":"https:\/\/ngja.gov.lk\/ta\/wp-json\/tribe\/events\/v1\/events"}]}},"\/tribe\/events\/v1\/events\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":true,"description":"the event post ID","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":true,"description":"the event post ID","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":true,"description":"the event post ID","type":"integer"},"author":{"required":false,"description":"The event author ID","type":"integer"},"date":{"required":false,"description":"The event publication date","type":"string"},"date_utc":{"required":false,"description":"The event publication date (UTC time zone)","type":"string"},"title":{"required":false,"description":"The event title","type":"string"},"description":{"required":false,"description":"The event description","type":"string"},"slug":{"required":false,"description":"The event slug","type":"string"},"excerpt":{"required":false,"description":"The event excerpt","type":"string"},"status":{"required":false,"description":"The event post status","type":"string"},"timezone":{"required":false,"description":"The event time zone","type":"string"},"all_day":{"required":false,"default":false,"description":"Whether the event lasts the whole day or not","type":"boolean"},"start_date":{"required":false,"description":"The event start date and time","type":"string"},"end_date":{"required":false,"description":"The event end date and time","type":"string"},"image":{"required":false,"description":"The event featured image ID or URL","type":"string"},"cost":{"required":false,"description":"The event cost"},"website":{"required":false,"description":"The event website URL"},"show_map":{"required":false,"description":"Whether the event should show a map or not","type":"boolean"},"show_map_link":{"required":false,"description":"Whether the event should show a map link or not","type":"boolean"},"hide_from_listings":{"required":false,"description":"Whether events should be hidden in the calendar view or not","type":"boolean"},"sticky":{"required":false,"description":"Whether the event should be sticky in the calendar view or not","type":"boolean"},"featured":{"required":false,"description":"Whether the event should be featured on the site or not","type":"boolean"},"categories":{"required":false,"description":"The event category ID or name"},"tags":{"required":false,"description":"The event tag ID or name"},"venue":{"required":false,"description":"The event venue ID or data","items":{"type":"integer"}},"organizer":{"required":false,"description":"The event organizer IDs or data","items":{"type":"integer"}}}}]},"\/tribe\/events\/v1\/events\/by-slug\/(?P[^\/]+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"slug":{"required":true,"description":"the event post name","type":"string"}}},{"methods":["DELETE"],"args":{"slug":{"required":true,"description":"the event post name","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"slug":{"required":false,"description":"The event slug","type":"string"},"author":{"required":false,"description":"The event author ID","type":"integer"},"date":{"required":false,"description":"The event publication date","type":"string"},"date_utc":{"required":false,"description":"The event publication date (UTC time zone)","type":"string"},"title":{"required":false,"description":"The event title","type":"string"},"description":{"required":false,"description":"The event description","type":"string"},"excerpt":{"required":false,"description":"The event excerpt","type":"string"},"status":{"required":false,"description":"The event post status","type":"string"},"timezone":{"required":false,"description":"The event time zone","type":"string"},"all_day":{"required":false,"default":false,"description":"Whether the event lasts the whole day or not","type":"boolean"},"start_date":{"required":false,"description":"The event start date and time","type":"string"},"end_date":{"required":false,"description":"The event end date and time","type":"string"},"image":{"required":false,"description":"The event featured image ID or URL","type":"string"},"cost":{"required":false,"description":"The event cost"},"website":{"required":false,"description":"The event website URL"},"show_map":{"required":false,"description":"Whether the event should show a map or not","type":"boolean"},"show_map_link":{"required":false,"description":"Whether the event should show a map link or not","type":"boolean"},"hide_from_listings":{"required":false,"description":"Whether events should be hidden in the calendar view or not","type":"boolean"},"sticky":{"required":false,"description":"Whether the event should be sticky in the calendar view or not","type":"boolean"},"featured":{"required":false,"description":"Whether the event should be featured on the site or not","type":"boolean"},"categories":{"required":false,"description":"The event category ID or name"},"tags":{"required":false,"description":"The event tag ID or name"},"venue":{"required":false,"description":"The event venue ID or data","items":{"type":"integer"}},"organizer":{"required":false,"description":"The event organizer IDs or data","items":{"type":"integer"}}}}]},"\/tribe\/events\/v1\/venues":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"required":false,"default":1,"description":"The archive page to return","type":"integer"},"per_page":{"required":false,"default":"8","description":"The number of venues to return on each page","type":"integer"},"search":{"required":false,"description":"Venues should contain the specified string in the title, description or custom fields","type":"string"},"event":{"required":false,"description":"Venues should be related to this event","type":"integer"},"has_events":{"required":false,"description":"Venues should have events associated to them"},"only_with_upcoming":{"required":false,"default":false,"description":"Venues should have upcoming events associated to them"},"status":{"required":false,"description":"The organizer post status"}}},{"methods":["POST"],"args":{"author":{"required":false,"description":"The venue author ID","type":"integer"},"date":{"required":false,"description":"The venue publication date","type":"string"},"date_utc":{"required":false,"description":"The venue publication date (UTC time zone)","type":"string"},"venue":{"required":true,"description":"The venue name","type":"string"},"description":{"required":false,"description":"The venue description","type":"string"},"status":{"required":false,"description":"The venue post status","type":"string"},"show_map":{"required":false,"description":"Whether events linked to the venue should show a map or not","type":"string"},"show_map_link":{"required":false,"description":"Whether events linked to the venue should show a map link or not","type":"string"},"address":{"required":false,"description":"The venue address","type":"string"},"city":{"required":false,"description":"The venue city","type":"string"},"country":{"required":false,"description":"The venue country","type":"string"},"province":{"required":false,"description":"The venue province","type":"string"},"state":{"required":false,"description":"The venue state","type":"string"},"zip":{"required":false,"description":"The venue ZIP code","type":"string"},"phone":{"required":false,"description":"The venue phone number","type":"string"},"stateprovince":{"required":false,"description":"The venue state and province","type":"string"},"website":{"required":false,"description":"The venue website URL","type":"string"},"image":{"required":false,"description":"The organizer featured image ID or URL","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/ngja.gov.lk\/ta\/wp-json\/tribe\/events\/v1\/venues"}]}},"\/tribe\/events\/v1\/venues\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":true,"description":"the venue post ID","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":true,"description":"the venue post ID","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":true,"description":"the venue post ID","type":"integer"},"author":{"required":false,"description":"The venue author ID","type":"integer"},"date":{"required":false,"description":"The venue publication date","type":"string"},"date_utc":{"required":false,"description":"The venue publication date (UTC time zone)","type":"string"},"venue":{"required":false,"description":"The venue name","type":"string"},"description":{"required":false,"description":"The venue description","type":"string"},"status":{"required":false,"description":"The venue post status","type":"string"},"show_map":{"required":false,"description":"Whether events linked to the venue should show a map or not","type":"string"},"show_map_link":{"required":false,"description":"Whether events linked to the venue should show a map link or not","type":"string"},"address":{"required":false,"description":"The venue address","type":"string"},"city":{"required":false,"description":"The venue city","type":"string"},"country":{"required":false,"description":"The venue country","type":"string"},"province":{"required":false,"description":"The venue province","type":"string"},"state":{"required":false,"description":"The venue state","type":"string"},"zip":{"required":false,"description":"The venue ZIP code","type":"string"},"phone":{"required":false,"description":"The venue phone number","type":"string"},"stateprovince":{"required":false,"description":"The venue state and province","type":"string"},"website":{"required":false,"description":"The venue website URL","type":"string"},"image":{"required":false,"description":"The organizer featured image ID or URL","type":"string"}}}]},"\/tribe\/events\/v1\/venues\/by-slug\/(?P[^\/]+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"slug":{"required":true,"description":"the venue post name","type":"string"}}},{"methods":["DELETE"],"args":{"slug":{"required":true,"description":"the venue post name","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"slug":{"required":true,"description":"the venue post name","type":"string"},"author":{"required":false,"description":"The venue author ID","type":"integer"},"date":{"required":false,"description":"The venue publication date","type":"string"},"date_utc":{"required":false,"description":"The venue publication date (UTC time zone)","type":"string"},"venue":{"required":false,"description":"The venue name","type":"string"},"description":{"required":false,"description":"The venue description","type":"string"},"status":{"required":false,"description":"The venue post status","type":"string"},"show_map":{"required":false,"description":"Whether events linked to the venue should show a map or not","type":"string"},"show_map_link":{"required":false,"description":"Whether events linked to the venue should show a map link or not","type":"string"},"address":{"required":false,"description":"The venue address","type":"string"},"city":{"required":false,"description":"The venue city","type":"string"},"country":{"required":false,"description":"The venue country","type":"string"},"province":{"required":false,"description":"The venue province","type":"string"},"state":{"required":false,"description":"The venue state","type":"string"},"zip":{"required":false,"description":"The venue ZIP code","type":"string"},"phone":{"required":false,"description":"The venue phone number","type":"string"},"stateprovince":{"required":false,"description":"The venue state and province","type":"string"},"website":{"required":false,"description":"The venue website URL","type":"string"},"image":{"required":false,"description":"The organizer featured image ID or URL","type":"string"}}}]},"\/tribe\/events\/v1\/organizers":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"required":false,"default":1,"description":"The archive page to return","type":"integer"},"per_page":{"required":false,"default":"8","description":"The number of organizers to return on each page","type":"integer"},"search":{"required":false,"description":"Organizers should contain the specified string in the title, description or custom fields","type":"string"},"event":{"required":false,"description":"Organizers should be related to this event","type":"integer"},"has_events":{"required":false,"description":"Organizers should have events associated to them"},"only_with_upcoming":{"required":false,"default":false,"description":"Organizers should have upcoming events associated to them"},"status":{"required":false,"description":"The organizer post status"}}},{"methods":["POST"],"args":{"author":{"required":false,"description":"The organizer author ID","type":"integer"},"date":{"required":false,"description":"The organizer publication date","type":"string"},"date_utc":{"required":false,"description":"The organizer publication date (UTC time zone)","type":"string"},"organizer":{"required":true,"description":"The organizer name","type":"string"},"description":{"required":false,"description":"The organizer description","type":"string"},"status":{"required":false,"description":"The organizer post status","type":"string"},"phone":{"required":false,"description":"The organizer phone number","type":"string"},"website":{"required":false,"description":"The organizer website","type":"string"},"email":{"required":false,"description":"The organizer e-mail address","type":"string"},"image":{"required":false,"description":"The organizer featured image ID or URL","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/ngja.gov.lk\/ta\/wp-json\/tribe\/events\/v1\/organizers"}]}},"\/tribe\/events\/v1\/organizers\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":true,"description":"the organizer post ID","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":true,"description":"the organizer post ID","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":true,"description":"the organizer post ID","type":"integer"},"author":{"required":false,"description":"The organizer author ID","type":"integer"},"date":{"required":false,"description":"The organizer publication date","type":"string"},"date_utc":{"required":false,"description":"The organizer publication date (UTC time zone)","type":"string"},"organizer":{"required":false,"description":"The organizer name","type":"string"},"description":{"required":false,"description":"The organizer description","type":"string"},"status":{"required":false,"description":"The organizer post status","type":"string"},"phone":{"required":false,"description":"The organizer phone number","type":"string"},"website":{"required":false,"description":"The organizer website","type":"string"},"email":{"required":false,"description":"The organizer e-mail address","type":"string"},"image":{"required":false,"description":"The organizer featured image ID or URL","type":"string"}}}]},"\/tribe\/events\/v1\/organizers\/by-slug\/(?P[^\/]+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"slug":{"required":true,"description":"the organizer post name","type":"string"}}},{"methods":["DELETE"],"args":{"slug":{"required":true,"description":"the organizer post name","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"slug":{"required":true,"description":"the organizer post name","type":"string"},"author":{"required":false,"description":"The organizer author ID","type":"integer"},"date":{"required":false,"description":"The organizer publication date","type":"string"},"date_utc":{"required":false,"description":"The organizer publication date (UTC time zone)","type":"string"},"organizer":{"required":false,"description":"The organizer name","type":"string"},"description":{"required":false,"description":"The organizer description","type":"string"},"status":{"required":false,"description":"The organizer post status","type":"string"},"phone":{"required":false,"description":"The organizer phone number","type":"string"},"website":{"required":false,"description":"The organizer website","type":"string"},"email":{"required":false,"description":"The organizer e-mail address","type":"string"},"image":{"required":false,"description":"The organizer featured image ID or URL","type":"string"}}}]},"\/tribe\/events\/v1\/categories":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"required":false,"default":1,"description":"The archive page to return","type":"integer"},"per_page":{"required":false,"default":"8","description":"The number of event categories to return on each page","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string","type":"string"},"exclude":{"required":false,"description":"Ensure result set exclude specific IDs","items":{"type":"integer"}},"include":{"required":false,"description":"Limit result set to specific IDs","items":{"type":"integer"}},"order":{"required":false,"description":"Order sort attribute ascending or descending","type":"string"},"orderby":{"required":false,"description":"Sort collection by term attribute","type":"string"},"hide_empty":{"required":false,"default":"1","description":"Whether to hide terms not assigned to any posts","type":"boolean"},"parent":{"required":false,"description":"Limit result set to terms assigned to a specific parent","type":"integer"},"post":{"required":false,"description":"Limit result set to terms assigned to a specific post","type":"integer"},"event":{"required":false,"description":"Limit result set to terms assigned to a specific event (an alias of the \"post\" parameter)","type":"integer"},"slug":{"required":false,"description":"Limit result set to terms with a specific slug","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"The event category name","type":"string"},"description":{"required":false,"description":"The event category description","type":"string"},"slug":{"required":false,"description":"The event category slug","type":"string"},"parent":{"required":false,"description":"The event category slug","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/ngja.gov.lk\/ta\/wp-json\/tribe\/events\/v1\/categories"}]}},"\/tribe\/events\/v1\/categories\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":true,"description":"the event category term ID","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":true,"description":"the event category term ID","type":"integer"},"name":{"required":false,"description":"The event category name","type":"string"},"description":{"required":false,"description":"The event category description","type":"string"},"slug":{"required":false,"description":"The event category slug","type":"string"},"parent":{"required":false,"description":"The event category slug","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":true,"description":"the event category term ID","type":"integer"}}}]},"\/tribe\/events\/v1\/tags":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"required":false,"default":1,"description":"The archive page to return","type":"integer"},"per_page":{"required":false,"default":"8","description":"The number of event tags to return on each page","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string","type":"string"},"exclude":{"required":false,"description":"Ensure result set exclude specific IDs","items":{"type":"integer"}},"include":{"required":false,"description":"Limit result set to specific IDs","items":{"type":"integer"}},"order":{"required":false,"description":"Order sort attribute ascending or descending","type":"string"},"orderby":{"required":false,"description":"Sort collection by term attribute","type":"string"},"hide_empty":{"required":false,"default":"1","description":"Whether to hide terms not assigned to any posts","type":"boolean"},"post":{"required":false,"description":"Limit result set to terms assigned to a specific post","type":"integer"},"event":{"required":false,"description":"Limit result set to terms assigned to a specific event (an alias of the \"post\" parameter)","type":"integer"},"slug":{"required":false,"description":"Limit result set to terms with a specific slug","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"The event tag name","type":"string"},"description":{"required":false,"description":"The event tag description","type":"string"},"slug":{"required":false,"description":"The event tag slug","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/ngja.gov.lk\/ta\/wp-json\/tribe\/events\/v1\/tags"}]}},"\/tribe\/events\/v1\/tags\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":true,"description":"the event tag term ID","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":true,"description":"the event tag term ID","type":"integer"},"name":{"required":false,"description":"The event tag name","type":"string"},"description":{"required":false,"description":"The event tag description","type":"string"},"slug":{"required":false,"description":"The event tag slug","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":true,"description":"the event tag term ID","type":"integer"}}}]}},"_links":{"up":[{"href":"https:\/\/ngja.gov.lk\/ta\/wp-json\/"}]}}