Tribe__Tickets__Editor__REST__V1__Endpoints__Single_ticket::DELETE_args()
{@inheritdoc}
Source
File: src/Tribe/Editor/REST/V1/Endpoints/Single_Ticket.php
public function DELETE_args() {
return array(
'id' => array(
'type' => 'integer',
'in' => 'path',
'description' => __( 'The ticket post ID', 'event-tickets' ),
'required' => true,
'validate_callback' => array( $this->validator, 'is_positive_int' ),
),
'post_id' => array(
'type' => 'integer',
'in' => 'body',
'required' => true,
'validate_callback' => array( $this->validator, 'is_positive_int' ),
),
'remove_ticket_nonce' => array(
'type' => 'string',
'in' => 'body',
'required' => true,
'validate_callback' => array( $this->validator, 'is_string' ),
'sanitize_callback' => 'sanitize_text_field',
),
);
}