Activities

A collection of deprecated endpoints for activities.

Search comments about activityDeprecated

Comments are an older form of review submitted directly to the Musement platform.

This endpoint has been replaced by the /activities/{activityUuid}/reviews endpoint, which incorporates reviews from various sources.

Request
path Parameters
activityUuid
required
string <uuid>

The UUID of the activity.

query Parameters
include_empty
string
Default: YES

Include comments in the response with an empty body property.

Enum: NO YES
limit
integer <= 100
Default: 10

Limit the maximum number of results to include in the response.

locale
string (Language code)

Filter results by the locale property.

offset
integer >= 0
Default: 0

Exclude the first N results from the response, where N is the specified integer value.

rating_in
string^\d+(,\d+)*$

Filter comments by their rating property. Providing a single integer returns comments greater than or equal to the value. Providing two integers separated by a comma returns comments with a rating within the specified range.

sort_by
string

Sort comments by one of the following choices:

  • DATE: From least recent sent_at value to most recent.
  • -DATE: From most recent sent_at value to least recent
  • RATING: From lowest rating to highest.
  • -RATING: From highest rating to lowest.
Enum: -DATE -RATING DATE RATING
header Parameters
Accept-Language
string (Language code)
Default: en-US

The value of this parameter might affect the language of the content in the response, provided a translation in the requested language is available.

X-Musement-Application
string (Application value)

A partner's application value, used for analyzing API usage and to identify areas of improvement.

X-Musement-Version
string^[0-9]+?.[0-9]+?.[0-9]+?$

The API version to use for the request.

When absent, the latest version is used by default, however the latest version may not be stable. Partners are encouraged to use the latest stable version: 3.4.0.

Example: 3.4.0
Responses
200

Comments about activity

403

Forbidden: activity is not accessible to partners

404

Not found: activity with UUID does not exist

default

Error

get/activities/{activityUuid}/comments
Request samples
curl -i -X GET \
  'https://sandbox.musement.com/api/v3/activities/{activityUuid}/comments?include_empty=NO&limit=10&locale=string&offset=0&rating_in=string&sort_by=-DATE' \
  -H 'Accept-Language: en-US' \
  -H 'X-Musement-Application: string' \
  -H 'X-Musement-Version: 3.4.0'
Response samples
application/json
[]

Get activities related to activityDeprecated

Returns activities that share the same city, country and/or vertical of the specified activity, sorted by the relevance property.

Request
path Parameters
activityUuid
required
string <uuid>

The UUID of the activity.

query Parameters
limit
integer
Default: 6

Limit the maximum number of results to include in the response.

header Parameters
Accept-Language
string (Language code)
Default: en-US

The value of this parameter might affect the language of the content in the response, provided a translation in the requested language is available.

X-Musement-Application
string (Application value)

A partner's application value, used for analyzing API usage and to identify areas of improvement.

X-Musement-Currency
string (Currency code)
Default: USD

A valid currency code from the /currencies endpoint. Default value may vary depending on the X-Musement-Market header value.

X-Musement-Market
string (Musement market)
Default: us

Musement markets contain a modified catalog of activities and prices. Partners are expected to use their assigned market code to view their customized catalog.

An invalid X-Musement-Market value will return a 400 status code response.

X-Musement-Version
string^[0-9]+?.[0-9]+?.[0-9]+?$

The API version to use for the request.

When absent, the latest version is used by default, however the latest version may not be stable. Partners are encouraged to use the latest stable version: 3.4.0.

Example: 3.4.0
Responses
200

Related activities

404

Not found: activity does not exist or has no related activities

default

Error

get/activities/{activityUuid}/related-activities
Request samples
curl -i -X GET \
  'https://sandbox.musement.com/api/v3/activities/{activityUuid}/related-activities?limit=6' \
  -H 'Accept-Language: en-US' \
  -H 'X-Musement-Application: string' \
  -H 'X-Musement-Currency: USD' \
  -H 'X-Musement-Market: us' \
  -H 'X-Musement-Version: 3.4.0'
Response samples
application/json
[
  • {
    }
]