Activities

Update an activity. Roles: admin.

Changed on
put/api/activities/{contentId}

Request

  • Base URL
    https://api.mobilecoach.org (the document declares no server; this is the origin it was published from)
  • URL
    https://api.mobilecoach.org/api/activities/{contentId}
  • Auth
    AuthToken (a scheme the document does not define)

Path parameters

contentIdinteger required

Request body

titlestring required
subTitlestring
membershipIdinteger
detailstring
isPublishedboolean
thumbnailImageUuidstring uuid
keywordsstring
managerAudienceIdinteger
propertiesobject
assetIdsinteger[]
tagIdsinteger[]
addSubmissionLabelstring
bodystring
maxSubmissionsinteger
activityAccessCode'ADMIN' | 'MEMBER' | 'GUEST' | 'ANONYMOUS' required
activitySubmissionReviewEnabledboolean required
activitySubmissionConfirmationsEnabledboolean required
activitySubmissionConfirmationBodystring
notificationEmailsstring[]
groupTypeIdinteger

Response

OK

successboolean
errorstring

Changes

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • breaking

      the // request property's maxLength was decreased to 255