@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api ticketmaster publish api
@base https://www.ticketmaster.com/publish/v2
@version v2
@common_fields {data: map # Attraction, TMPS-Correlation-Id: any # Unique correlation id to be able to trace the request in our system}
@endpoints 10
@toc publish(10)

@endpoint POST /publish/v2/attractions
@desc Publish an attractions
@returns(200) successful operation

@endpoint PATCH /publish/v2/attractions/{id}
@desc Publish a patch on an attraction
@required {id: any # ID of the attraction the patch will be applied}
@returns(200) successful operation

@endpoint POST /publish/v2/attractions/{id}/videos
@desc Publish a video on an attraction
@required {id: any # ID of the attraction the video is linked to}
@returns(200) successful operation

@endpoint POST /publish/v2/entitlements
@desc Publish entitlements on an entity
@returns(200) successful operation

@endpoint POST /publish/v2/events
@desc Publish an event
@returns(200) successful operation

@endpoint PATCH /publish/v2/events/{id}
@desc Publish a patch on an event
@required {id: any # ID of the event the patch will be applied}
@returns(200) successful operation

@endpoint POST /publish/v2/events/{id}/videos
@desc Publish a video on an event
@required {id: any # ID of the event the video is linked to}
@returns(200) successful operation

@endpoint POST /publish/v2/extensions
@desc Publish extension on an entity
@returns(200) successful operation

@endpoint POST /publish/v2/venues
@desc Publish a venue
@returns(200) successful operation

@endpoint PATCH /publish/v2/venues/{id}
@desc Publish a patch on a venue
@required {id: any # ID of the venue the patch will be applied}
@returns(200) successful operation

@end
