{"namespace":"tribe\/tickets\/v1","routes":{"\/tribe\/tickets\/v1":{"namespace":"tribe\/tickets\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"tribe\/tickets\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.workplace.org\/wp-json\/tribe\/tickets\/v1"}]}},"\/tribe\/tickets\/v1\/doc":{"namespace":"tribe\/tickets\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/www.workplace.org\/wp-json\/tribe\/tickets\/v1\/doc"}]}},"\/tribe\/tickets\/v1\/tickets\/(?P\\d+)":{"namespace":"tribe\/tickets\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"The ticket post ID","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"integer","description":"The ticket post ID","required":true},"post_id":{"type":"integer","required":true},"edit_ticket_nonce":{"type":"string","required":true},"name":{"type":"string","default":"","required":false},"description":{"type":"string","default":"","required":false},"price":{"type":"string","default":"","required":false},"show_description":{"type":"string","default":"yes","required":false},"start_date":{"type":"string","default":"","required":false},"start_time":{"type":"string","default":"","required":false},"end_date":{"type":"string","default":"","required":false},"end_time":{"type":"string","default":"","required":false},"sku":{"type":"string","default":"","required":false},"iac":{"type":"string","default":"","required":false},"ticket":{"type":"object","required":false}}},{"methods":["DELETE"],"args":{"id":{"type":"integer","description":"The ticket post ID","required":true},"post_id":{"type":"integer","required":true},"remove_ticket_nonce":{"type":"string","required":true}}}]},"\/tribe\/tickets\/v1\/tickets":{"namespace":"tribe\/tickets\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"description":"The page of results to return; defaults to 1","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"How many tickets to return per results page; defaults to posts_per_page.","type":"integer","default":"10","minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to tickets containing the specified string in the title or description.","type":"string","required":false},"offset":{"description":"Offset the results by a specific number of items.","type":"integer","required":false},"order":{"description":"Sort results in ASC or DESC order. Defaults to ASC.","type":"string","enum":["ASC","DESC"],"required":false},"orderby":{"description":"Order the results by one of date, relevance, id, include, title, or slug; defaults to title.","type":"string","enum":["id","include","title","slug"],"required":false},"is_available":{"description":"Limit results to tickets that have or do not have capacity currently available.","type":"boolean","required":false},"provider":{"description":"Limit results to tickets provided by one of the providers specified in the CSV list or array; defaults to all available.","required":false},"after":{"description":"Limit results to tickets created after or on the specified UTC date or timestamp.","type":"string","required":false},"before":{"description":"Limit results to tickets created before or on the specified UTC date or timestamp.","type":"string","required":false},"include":{"description":"Limit results to a specific CSV list or array of ticket IDs.","required":false},"exclude":{"description":"Exclude a specific CSV list or array of ticket IDs from the results.","required":false},"include_post":{"description":"Limit results to tickets that are assigned to one of the posts specified in the CSV list or array.","required":false},"exclude_post":{"description":"Limit results to tickets that are not assigned to any of the posts specified in the CSV list or array.","required":false},"attendees_min":{"description":"Limit results to tickets that have at least this number or attendees.","type":"integer","required":false},"attendees_max":{"description":"Limit results to tickets that have at most this number of attendees.","type":"integer","required":false},"checkedin_min":{"description":"Limit results to tickets that have at most this number of checked-in attendee.","type":"integer","required":false},"checkedin_max":{"description":"Limit results to tickets that have at least this number of checked-in attendees.","type":"integer","required":false},"capacity_min":{"description":"Limit results to tickets that have at least this capacity.","type":"integer","required":false},"capacity_max":{"description":"Limit results to tickets that have at most this capacity.","type":"integer","required":false},"available_from":{"description":"Limit results to tickets that will be available at or after the specified UTC date (parseable by strtotime) or timestamp.","type":"string","required":false},"available_until":{"description":"Limit results to tickets that will be available up to the specified UTC date (parseable by strtotime) or timestamp.","type":"string","required":false},"post_status":{"description":"Limit results to tickets assigned to posts that are in one of the post statuses specified in the CSV list or array; defaults to publish.","required":false},"status":{"description":"Limit results to tickets that are in one of post statuses specified in the CSV list or array; defaults to publish.","required":false},"currency":{"description":"Limit results to tickets priced in one of the 3-letter currency codes specified in the CSV list or array.","required":false},"attendee_information_available":{"description":"Limit results to tickets that provide attendees the possibility to fill in additional information or not; requires ET+.","type":"boolean","required":false}}},{"methods":["POST"],"args":[{"required":false},{"description":{"type":"string","in":"body","validate_callback":[{},"is_string_or_empty"],"sanitize_callback":"sanitize_text_field","default":""},"required":false}]}],"_links":{"self":[{"href":"https:\/\/www.workplace.org\/wp-json\/tribe\/tickets\/v1\/tickets"}]}},"\/tribe\/tickets\/v1\/attendees\/(?P\\d+)":{"namespace":"tribe\/tickets\/v1","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"The attendee post ID","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"integer","description":"The attendee post ID","required":true},"check_in":{"type":"bool","description":"Check in value for the attendee.","required":false}}}]},"\/tribe\/tickets\/v1\/attendees":{"namespace":"tribe\/tickets\/v1","methods":["POST","GET"],"endpoints":[{"methods":["POST"],"args":{"ticket_id":{"type":"integer","description":"The Ticket ID, where the attendee is registered.","required":true},"full_name":{"type":"string","description":"Full name of the attendee.","required":true},"email":{"type":"email","description":"Email of the attendeee.","required":true},"attendee_status":{"type":"string","description":"Order Status for the attendee.","required":false},"check_in":{"type":"bool","description":"Check in value for the attendee.","required":false}}},{"methods":["GET"],"args":{"page":{"description":"The page of results to return; defaults to 1","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"How many attendees to return per results page; defaults to posts_per_page.","type":"integer","default":"10","minimum":1,"maximum":100,"required":false},"provider":{"description":"Limit results to attendees whose ticket is provided by one of the providers specified in the CSV list or array; defaults to all the available.","type":"string","required":false},"search":{"description":"Limit results to attendees containing the specified string in the title or description.","type":"string","required":false},"offset":{"description":"Offset the results by a specific number of items.","type":"integer","required":false},"order":{"description":"Sort results in ASC or DESC order. Defaults to ASC.","type":"string","enum":["ASC","DESC"],"required":false},"orderby":{"description":"Order the results by one of date, relevance, id, include, title or slug. Defaults to id.","type":"string","enum":["id","date","include","title","slug"],"required":false},"post_id":{"description":"Limit results to attendees by post the ticket is associated with.","type":"integer","required":false},"ticket_id":{"description":"Limit results to attendees associated with a ticket.","type":"integer","required":false},"after":{"description":"Limit results to attendees created after or on the specified UTC date or timestamp.","type":"string","required":false},"before":{"description":"Limit results to attendees created before or on the specified UTC date or timestamp.","type":"string","required":false},"include":{"description":"Limit results to a specific CSV list or array of attendee IDs.","required":false},"exclude":{"description":"Exclude a specific CSV list or array of attendee IDs from the results.","required":false},"price_max":{"description":"Limit results to attendees that paid tickets a price equal or below the specified value; if not specified no maximum price limit will be used.","type":"integer","required":false},"price_min":{"description":"Limit results to attendees that paid tickets a price equal or above the specified value; if not specified no minimum price limit will be used.","type":"integer","required":false},"include_post":{"description":"Limit results to attendees whose ticket is assigned to one of the posts specified in the CSV list or array.","required":false},"exclude_post":{"description":"Limit results to attendees whose tickets is not assigned to any of the posts specified in the CSV list or array..","required":false},"include_ticket":{"description":"Limit results to a specific CSV list or array of ticket IDs.","required":false},"exclude_ticket":{"description":"Exclude a specific CSV list or array of ticket IDs.","required":false},"post_status":{"description":"Limit results to attendees for posts that are in one of the post statuses specified in the CSV list or array; defaults to publish.","required":false},"status":{"description":"Limit results to attendees that are in one of post statuses specified in the CSV list or array; defaults to publish.","required":false},"order_status":{"description":"Limit results to attendees whose order status is in one of post statuses specified in the CSV list or array; defaults to public.","required":false},"checkedin":{"description":"Limit results to attendees that are or not checked-in.","type":"boolean","required":false},"rsvp_going_status":{"description":"Limit results to RSVP Attendees that have one of the RSVP Going status specified in the CSV list or array.","required":false},"attendee_information_available":{"description":"Limit results to attendees for tickets that provide attendees the possibility to fill in additional information or not; requires ET+.","type":"boolean","required":false},"name":{"description":"Limit results to attendees by name. It will search for names that are like the specified value","type":"string","required":false},"email":{"description":"Limit results to attendees by email. It will search for emails that are like the specified value","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.workplace.org\/wp-json\/tribe\/tickets\/v1\/attendees"}]}},"\/tribe\/tickets\/v1\/cart":{"namespace":"tribe\/tickets\/v1","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"provider":{"description":"Limit results to tickets provided by one of the providers specified in the CSV list or array; defaults to all available.","required":false},"post_id":{"type":"integer","description":"The post ID","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"provider":{"type":"string","description":"The cart provider","required":true},"tickets":{"default":null,"description":"List of tickets with their ID and quantity","required":false},"meta":{"default":null,"description":"List of meta for each ticket to be saved for Attendee Registration","required":false},"post_id":{"type":"integer","description":"The post ID","required":false}}}],"_links":{"self":[{"href":"https:\/\/www.workplace.org\/wp-json\/tribe\/tickets\/v1\/cart"}]}},"\/tribe\/tickets\/v1\/qr\/(?P\\d+)":{"namespace":"tribe\/tickets\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"The ticket id.","required":true}}}]},"\/tribe\/tickets\/v1\/qr":{"namespace":"tribe\/tickets\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"api_key":{"type":"string","description":"The API key to authorize check in.","required":true},"ticket_id":{"type":"string","description":"The ID of the ticket to check in.","required":true},"security_code":{"type":"string","description":"The security code of the ticket to verify for check in.","required":true}}}],"_links":{"self":[{"href":"https:\/\/www.workplace.org\/wp-json\/tribe\/tickets\/v1\/qr"}]}}},"_links":{"up":[{"href":"https:\/\/www.workplace.org\/wp-json\/"}]}}