Parse

POST /contents/parse

Create a new Log from a given URL. Returns existing Log if URL is already in your library.

Params

ParameterTypeRequiredDescription
urlstringUrl to parse and log

Example

Auth Required

Grab your token using the Authorization endpoint.

curl \
-H "authorization: Token <authToken>" \
-X POST \
https://analogue.com/api/contents/parse?url=<url_to_parse>

Response

{
"content": {
"id": 1570,
"title": "Zen and the Art of Motorcycle Maintenance: An Inquiry Into Values",
"slug": "zen-and-the-art-of-motorcycle-maintenance-an-inquiry-into-values-mdew46",
"form": "text",
"excerpt": "A penetrating examination of how we live and how to live better",
"formDisplay": "book",
"formSlug": "book",
"mediumDisplay": "book",
"medium": "book",
"origin": "amazon.com",
"originUrl": "",
"mediaUrl": "",
"collection": "books",
"image": "direct_url_to_image",
"users": [],
"creators": [],
"logsCount": 9,
"status": "pub",
"publishedAt": "1974-05-01T07:00:00.000Z",
"createdAt": "2018-11-09T04:14:00.000Z",
},
"log": {
"id": 11643,
"status": "pub",
"reference": "",
"referenceUrl": "",
"sourceName": "",
"knotsCount": 2,
"knots": [],
"user": {
"id": 3,
"name": "Joel Rojo",
"username": "rojo",
"image": "direct_url_to_image",
},
"sources": [],
"postedAt": "2020-01-28T18:57:33.531Z",
}
}