-
I'm trying to use the I used the following path: I then tried with audible-cli using this command: Am I doing something wrong, or has Audible changed something? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 26 replies
-
I‘ve tested it myself with |
Beta Was this translation helpful? Give feedback.
-
@mkb79 It appears that this endpoint doesn't return clips. I only see "audible.bookmark", "audible.note", and "audible.last_heard" types. "audible.note" always returns an endPosition, but it is identical to "startPosition". Is there another endpoint or additional query parameters for getting clip details? |
Beta Was this translation helpful? Give feedback.
-
This is the response
There seams to be a new codec and content_format naming scheme. Edit:
|
Beta Was this translation helpful? Give feedback.
-
@mkb79 I want to thank you again for all of your help. I've been exploring this endpoint, and I think I've found the minimum amount of information required to create each of the four record types (last_heard, bookmark, note, and clip). Version appears to be optional, and "_LATEST_" is a valid guid. This is a valid request: <annotations version="1.0" timestamp="2023-01-04T16:57:31-0700">
<book key="B017WJ5ZK6" type="AUDI" guid="_LATEST_">
<last_heard action="modify" begin="6000000" timestamp="2023-01-04T16:57:29-0700" />
<clip action="create" begin="5000000" end="5030000" timestamp="2023-01-04T16:57:27-0700">
<metadata><![CDATA[{"note":"Clip Note","title":"Clip Title"}]]></metadata>
</clip>
<note action="create" begin="6000000" end="6000000" timestamp="2023-01-04T16:57:28-0700">Standalone Note</note>
<bookmark action="create" begin="7000000" timestamp="2023-01-04T16:57:28-0700" />
</book>
</annotations> And this is returned by the query: {
"md5": "XXX",
"payload": {
"type": "AUDI",
"key": "B017WJ5ZK6",
"acr": null,
"records": [
{
"startPosition": "5000000",
"creationTime": "2023-01-04 23:58:43.0",
"annotationId": "XXX",
"type": "audible.bookmark",
"lastModificationTime": "2023-01-04 23:58:43.0"
},
{
"startPosition": "5000000",
"creationTime": "2023-01-04 23:57:55.0",
"annotationId": "XXX",
"type": "audible.clip",
"endPosition": "5030000",
"metadata": {
"note": "Clip Note",
"title": "Clip Title"
},
"lastModificationTime": "2023-01-04 23:57:55.0"
},
{
"startPosition": "5000000",
"creationTime": "2023-01-04 23:58:43.0",
"annotationId": "XXX",
"text": "Clip Note",
"type": "audible.note",
"endPosition": "5000000",
"lastModificationTime": "2023-01-04 23:58:43.0"
},
{
"startPosition": "6000000",
"creationTime": "2023-01-04 23:57:56.0",
"annotationId": "XXX",
"text": "Standalone Note",
"type": "audible.note",
"endPosition": "6000000",
"lastModificationTime": "2023-01-04 23:57:56.0"
},
{
"startPosition": "6000000",
"creationTime": "2023-01-04 23:57:57.0",
"type": "audible.last_heard"
},
{
"startPosition": "7000000",
"creationTime": "2023-01-04 23:57:56.0",
"annotationId": "XXX",
"type": "audible.bookmark",
"lastModificationTime": "2023-01-04 23:57:56.0"
}
],
"guid": "_LATEST_"
}
} Note: These two records are created automatically by Audible from the clip. Sometimes it took several seconds for them to be returned by the query after the clip was created, other times they were created instantly. The other 4 records were returned by the query immediately after creation. {
"startPosition": "5000000",
"creationTime": "2023-01-04 23:58:43.0",
"annotationId": "XXX",
"type": "audible.bookmark",
"lastModificationTime": "2023-01-04 23:58:43.0"
},
{
"startPosition": "5000000",
"creationTime": "2023-01-04 23:58:43.0",
"annotationId": "XXX",
"text": "Clip Note",
"type": "audible.note",
"endPosition": "5000000",
"lastModificationTime": "2023-01-04 23:58:43.0"
}, |
Beta Was this translation helpful? Give feedback.
I‘ve tested it myself with
audible api -p type=AUDI -p key=B08M5FQ2CP https://cde-ta-g7g.amazon.com/FionaCDEServiceEngine/sidecar
and it will give me a 200 response with the data I requested.