Skip to content

Conversation

@Thomashrb
Copy link
Contributor

@Thomashrb Thomashrb commented Sep 29, 2025

Add a way to given the license id lookup content info.
We already have all of the information we need available in the lcpserver database.

This mr puts the endpoint at licenses/{license_id}/content which then returns the index.Content domain object.
From the outside this looks like:

curl "<lcpserver base url>/licenses/<license id>/content" | jq
{
  "id": "<some content id>",
  "key": "<some content key>",
  "location": "<some content location>",
  "length": <some content length>,
  "sha256": "<some content sha>",
  "type": "<some content type>"
}

@Thomashrb Thomashrb changed the title Add get content info from licence id Add endpoint to get content info from licence id Sep 29, 2025
@Thomashrb Thomashrb changed the title Add endpoint to get content info from licence id Add lcpserver endpoint to get content info from licence id Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant