Renames project content from Lumina to Nemera

This commit is contained in:
BinaryAlley committed 2026-11-27 15:37:44 +02:00
1 parent 0f659a4877
commit c583c9327c
6127 files changed
+41884 -41884

No files matched your search

@@ -1,6 +1,6 @@
# Lumina API
# Nemera API
- [Lumina API](#lumina-api)
- [Nemera API](#nemera-api)
- [Album](#album)
- [Add Album](#add-album)
- [Add Album Request](#add-album-request)
@@ -1472,14 +1472,14 @@ Updates the cover image of the album identified by `albumId` with the image uplo
```js
PUT api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-4b1c-9a3e-7f6e5d4c3b2a/albums/{albumId}/cover
Content-Type: multipart/form-data; boundary=LuminaBoundary
Content-Type: multipart/form-data; boundary=NemeraBoundary
--LuminaBoundary
--NemeraBoundary
Content-Disposition: form-data; name="cover"; filename="cover.jpg"
Content-Type: image/jpeg
< ./cover.jpg
--LuminaBoundary--
--NemeraBoundary--
```
#### Update Album Cover Response
@@ -1,6 +1,6 @@
# Lumina API
# Nemera API
- [Lumina API](#lumina-api)
- [Nemera API](#nemera-api)
- [Artist](#artist)
- [Add Artist](#add-artist)
- [Add Artist Request](#add-artist-request)
@@ -2104,14 +2104,14 @@ Updates the cover image of the artist identified by `artistId` with the image up
```js
PUT api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/{artistId}/cover
Content-Type: multipart/form-data; boundary=LuminaBoundary
Content-Type: multipart/form-data; boundary=NemeraBoundary
--LuminaBoundary
--NemeraBoundary
Content-Disposition: form-data; name="cover"; filename="cover.jpg"
Content-Type: image/jpeg
< ./cover.jpg
--LuminaBoundary--
--NemeraBoundary--
```
#### Update Artist Cover Response
@@ -1,6 +1,6 @@
# Lumina API
# Nemera API
- [Lumina API](#lumina-api)
- [Nemera API](#nemera-api)
- [Track](#track)
- [Add Track](#add-track)
- [Add Track Request](#add-track-request)
@@ -426,7 +426,7 @@ Content-Type: audio/aac
Content-Length: 240128
```
The response is the raw bytes of one produced segment, served with the media type of the delivered container when the server can name it, or `application/octet-stream` otherwise. Every response carries `X-Content-Type-Options: nosniff`, `Cache-Control: private, no-store`, `Vary: Authorization`, `X-Lumina-Segment-Count`, the number of segments the production holds, and `X-Segment-Start-Seconds`, the exact start of the segment on the track timeline, in seconds. The count tells a player where the audio ends without probing for the end with a request that returns not found, and the start lets it offset the packets of a container that numbers its frames from the start of the track, instead of assuming that a segment starts at an exact multiple of its duration. Range requests are not used: the segment is the addressing unit, and the next segment is a separate request. The first request for a track can take longer than the following ones, because the whole normalized audio is produced and cached before its first segment is published. A segment index that the production does not hold is reported as not found with the `NormalizedTrackSegmentNotFound` detail, which is the only not-found answer that means the end of the audio. A track, library or audio file that disappeared, a delivery handle that is unknown, expired, or was issued to another user or track, and a cache entry that was evicted, are reported with their own not-found details instead, and a request that arrives while every normalization job slot is in use is reported as unavailable (`503`), because it is a transient condition that a player retries. A delivery handle whose captured shape is not time addressed segments is a conflict (`409`), because the segment route cannot index it.
The response is the raw bytes of one produced segment, served with the media type of the delivered container when the server can name it, or `application/octet-stream` otherwise. Every response carries `X-Content-Type-Options: nosniff`, `Cache-Control: private, no-store`, `Vary: Authorization`, `X-Nemera-Segment-Count`, the number of segments the production holds, and `X-Segment-Start-Seconds`, the exact start of the segment on the track timeline, in seconds. The count tells a player where the audio ends without probing for the end with a request that returns not found, and the start lets it offset the packets of a container that numbers its frames from the start of the track, instead of assuming that a segment starts at an exact multiple of its duration. Range requests are not used: the segment is the addressing unit, and the next segment is a separate request. The first request for a track can take longer than the following ones, because the whole normalized audio is produced and cached before its first segment is published. A segment index that the production does not hold is reported as not found with the `NormalizedTrackSegmentNotFound` detail, which is the only not-found answer that means the end of the audio. A track, library or audio file that disappeared, a delivery handle that is unknown, expired, or was issued to another user or track, and a cache entry that was evicted, are reported with their own not-found details instead, and a request that arrives while every normalization job slot is in use is reported as unavailable (`503`), because it is a transient condition that a player retries. A delivery handle whose captured shape is not time addressed segments is a conflict (`409`), because the segment route cannot index it.
### Get Playback Manifest
@@ -471,7 +471,7 @@ Returns the playback manifest of the track identified by the route: the format o
}
```
When the player can play the stored audio as it is, `isDirectPlay` is `true`, and `deliveryContainer`, `deliveryCodec`, `deliveryShape`, `segmentDurationSeconds`, `deliveryId` and `segmentStreamPathTemplate` are `null`, because the delivery is the stored file itself, addressed and seeked by byte range. When it cannot, `isDirectPlay` is `false`, and those fields name the container, the codec, the addressing the server produces instead, the length in seconds of each of its time addressed segments, the opaque handle of the delivery, and the root relative path template of the segment route, with `{deliveryId}` and `{segmentIndex}` placeholders. `durationInSeconds` is the probed duration; a normalized production can be slightly longer or shorter, and its exact produced duration is reported by the `X-Lumina-Track-Duration-Seconds` header of its segments. A normalized delivery is always addressed as `TimeAddressedSegments`, and `segmentDurationSeconds` is the nominal length of each of its segments, so that the server that produces the segments and the player that consumes them agree on the target without duplicating the value on both sides. The `deliveryId` binds the delivery to the user and the track, and it captures the quality cap and the source file version that were in effect when the manifest was read, so a segment request addresses exactly that delivery instead of recomputing it. A player that cannot play a track directly fetches each segment from that template in index order and seeks by segment index, never by byte range. `isSeekable` reports whether the delivered audio can be seeked by the player. `streamPath` is relative to the API, without a host or a scheme, so that a client reaches the stream through its own application rather than the API server directly.
When the player can play the stored audio as it is, `isDirectPlay` is `true`, and `deliveryContainer`, `deliveryCodec`, `deliveryShape`, `segmentDurationSeconds`, `deliveryId` and `segmentStreamPathTemplate` are `null`, because the delivery is the stored file itself, addressed and seeked by byte range. When it cannot, `isDirectPlay` is `false`, and those fields name the container, the codec, the addressing the server produces instead, the length in seconds of each of its time addressed segments, the opaque handle of the delivery, and the root relative path template of the segment route, with `{deliveryId}` and `{segmentIndex}` placeholders. `durationInSeconds` is the probed duration; a normalized production can be slightly longer or shorter, and its exact produced duration is reported by the `X-Nemera-Track-Duration-Seconds` header of its segments. A normalized delivery is always addressed as `TimeAddressedSegments`, and `segmentDurationSeconds` is the nominal length of each of its segments, so that the server that produces the segments and the player that consumes them agree on the target without duplicating the value on both sides. The `deliveryId` binds the delivery to the user and the track, and it captures the quality cap and the source file version that were in effect when the manifest was read, so a segment request addresses exactly that delivery instead of recomputing it. A player that cannot play a track directly fetches each segment from that template in index order and seeks by segment index, never by byte range. `isSeekable` reports whether the delivered audio can be seeked by the player. `streamPath` is relative to the API, without a host or a scheme, so that a client reaches the stream through its own application rather than the API server directly.
For example, a delivery of a track the player cannot decode is declared as follows:
@@ -1,6 +1,6 @@
# Lumina API
# Nemera API
- [Lumina API](#lumina-api)
- [Nemera API](#nemera-api)
- [Library](#library)
- [Add Library](#add-library)
- [Add Library Request](#add-library-request)
@@ -1,6 +1,6 @@
# Lumina API
# Nemera API
- [Lumina API](#lumina-api)
- [Nemera API](#nemera-api)
- [Library Statistics](#library-statistics)
- [When a Session Counts](#when-a-session-counts)
- [Get Recently Consumed](#get-recently-consumed)
@@ -1,6 +1,6 @@
# Lumina API
# Nemera API
- [Lumina API](#lumina-api)
- [Nemera API](#nemera-api)
- [Book](#book)
- [Add Book](#add-book)
- [Add Book Request](#add-book-request)
@@ -736,14 +736,14 @@ Updates the cover image of the book identified by `bookId` with the image upload
```js
PUT api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/books/{bookId}/cover
Content-Type: multipart/form-data; boundary=LuminaBoundary
Content-Type: multipart/form-data; boundary=NemeraBoundary
--LuminaBoundary
--NemeraBoundary
Content-Disposition: form-data; name="cover"; filename="cover.jpg"
Content-Type: image/jpeg
< ./cover.jpg
--LuminaBoundary--
--NemeraBoundary--
```
#### Update Book Cover Response