Musical Works

Musical Works Relationships

Receive a paginated list of the entities related to a Musical Work, ordered by the strength of the relationship. Currently only Musical Recordings are returned.

get/musical_works/{id}/relationships

Request

  • Base URL
    https://api.luminatedata.com
  • URL
    https://api.luminatedata.com/musical_works/{id}/relationships
  • Auth
    API key in header x-api-key and API key in header authorization

Path parameters

idstring required

Unique Luminate ID or ISWC assigned to the Musical Work.

Example:ID

Query parameters

id_type'luminate' | 'iswc' required

Use the id_type parameter to specify the source of the ID. If the id_type is not specified, the endpoint will expect a Luminate ID.

frominteger

Starting position for the list of results.

sizeinteger

The maximum amount of results the endpoint will return.

Headers

Accept'application/vnd.luminate-data.svc-apibff.v1+json'

Response

OK

relationshipsobject[]

Entities related to the Musical Work, keyed by entity type. Currently only musical_recording is returned. Empty when the Musical Work has no relationships.

frominteger

Starting position of the returned results.

sizeinteger

Maximum number of results returned.

total_resultsinteger

Total number of relationships available for the Musical Work.

Example response

{
  "size": 10,
  "total_results": 38
}

Changes

No recorded changes to this operation across all 1 revision of this API.