Issue Details (XML | Word | Printable)

Key: MBS-5609
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Kuno Woudt
Reporter: Calvin Walton
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MusicBrainz Server

JSON webservice doesn't send relationship attributes

Created: 25/Nov/12 05:15 AM   Updated: 28/Jan/13 10:15 AM   Resolved: 28/Jan/13 10:15 AM
Component/s: Web service
Affects Version/s: None
Fix Version/s: 2013-01-28

Issue Links:
Relates
 


 Description  « Hide

The example I used to test is http://musicbrainz.org/artist/2176a230-eee0-4a42-9d6d-1b69acf855a8/relationships

http://musicbrainz.org/ws/2/artist/2176a230-eee0-4a42-9d6d-1b69acf855a8?inc=artist-rels includes the 'ended' status and end date, but http://musicbrainz.org/ws/2/artist/2176a230-eee0-4a42-9d6d-1b69acf855a8?inc=artist-rels&fmt=json does not.

In addition, attributes like the 'additional' status on 'member of band' relationships is not returned.



Sort Order: Ascending order - Click to sort in descending order
Calvin Walton added a comment - 11/Dec/12 03:02 PM

To simplify parsing, it would be nice if the relationship dates would be formatted in the same 'life-span' format as e.g. artist dates, perhaps like this:

{

    "direction": "backward",
    "artist": {
        "disambiguation": "",
        "sort-name": "Nishioka, Yukiko",
        "name": "西岡由紀子",
        "id": "65d1fa92-ed86-47b0-ab4f-7b7d46abf095"
    },
    "type": "member of band",
    "life-span": {
        "begin": null,
        "end": "1994-04",
        "ended": true
    }

},

Kuno Woudt added a comment - 15/Jan/13 02:54 PM