Resolve an incoming path to a post, category, tag, author, redirect, or not found result
https://cds.thepublive.com/publisher/<PUBLISHER_ID>/identify_url/
Beta: https://cds-beta.thepublive.com/publisher/<PUBLISHER_ID>/identify_url//tags/<SLUG> for tags, and /author/<SLUG> for authors.| Content type | Value to send in legacy_url | Result |
|---|---|---|
| Post | /guides/getting-started | Returns type: "post" and the full post object in data.content |
| Category | learn-banking | Returns type: "category" and the resolved URL |
| Tag | /tags/product-updates | Returns type: "tag" and the resolved URL |
| Author | /author/editor-desk | Returns type: "member" and the resolved URL |
| Redirect | Any legacy path that has a redirect rule | Returns type: "redirect" and the destination URL |
| Missing route | Any unknown path | Returns type: "not_found" |
identify() instead of constructing the request manually.
post, the response includes the full post payload in data.content.category, tag, or member, the response only confirms the matched entity. Call the corresponding details endpoint to fetch the full object.redirect, use data.url as the destination.not_found, render your 404 page or redirect to your homepage.