This change adds the paid subscription plans to the subscription creation and retrieval endpoints in terrain. For the subscription retrieval endpoints, the change consists of a new field in the response body. For the creation endpoints, the change includes new required fields.
For the POST /terrain/admin/qms/subscriptions endpoint, each subscription request must now contain a paid flag indicating whether or not the user paid for the subscription. Here's an example request body:
This change adds the paid subscription plans to the subscription creation and retrieval endpoints in
terrain
. For the subscription retrieval endpoints, the change consists of a new field in the response body. For the creation endpoints, the change includes new required fields.For the
POST /terrain/admin/qms/subscriptions
endpoint, each subscription request must now contain apaid
flag indicating whether or not the user paid for the subscription. Here's an example request body:For the
PUT /terrain/admin/qms/users/{username}/plan/{plan-name}
endpoint, a new required query parameter was added.