GET https://cds.thepublive.com/publisher/{publisher_id}/post/?legacy_url={url_path}
Returns a single post by matching its legacy or relative URL path. Useful for URL-based routing or migrating from legacy systems.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | API Key |
| password | string | Yes | API Secret |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| legacy_url | string | Yes | Relative URL path (e.g., /news/my-article-12345) |
Example Request
Response
Returns the same post object as the Post Details endpoint.- 200: OK
- 404: Not Found