Activities Resource
Gets activity information about a particular activity.
Gets the full definition of an activity.
const activityId: string = "https://example.com/activities/test-activity";
xapi.getActivity({
activityId: activityId
}).then((result: AxiosReponse<Activity>) => {
const activity: Activity = result.data;
console.log(activity);
});
Parameter | Type | Required | Description |
activityId | string | true | The URI of the activity. |
useCacheBuster | boolean | false | Enables cache busting. |
Last modified 1yr ago