Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-8329

JSON: numeric attributes are returned as string literals

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • Web service
    • None

      General description: Numeric attributes are returned as string literals.

      1) The "score" attribute in search results should be returned as a number.

      2) The "length" attribute of a recording should be returned as a number.

      Example request 1:
      http://musicbrainz.org/ws/2/recording/9408b8ce-9b95-4fb0-ac70-595d054a15c6/?inc=artists&fmt=json

      Example request 2:
      http://musicbrainz.org/ws/2/release/12195c41-6136-4dfd-acf1-9923dadc73e2/?inc=recordings&fmt=json

            Unassigned Unassigned
            wo80 Christian Woltering
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package