Tribe__Tickets_Plus__REST__V1__Endpoints__QR::READ_args()
Provides the content of the args array to register the endpoint support for GET requests.
Return
(array)
Source
File: src/Tribe/REST/V1/Endpoints/QR.php
public function READ_args() {
return array(
'id' => array(
'in' => 'path',
'type' => 'integer',
'description' => __( 'The ticket id.', 'event-tickets-plus' ),
'required' => true,
'validate_callback' => array( $this->validator, 'is_ticket_id' ),
),
);
}
Changelog
| Version | Description |
|---|---|
| 4.7.5 | Introduced. |