Post Activity
Post activity for a site (manually add activity).
Resource Information
This service uses the tomcat application on port 8080 by default. To see a list of default ports click here
The context for this API is /studio
, please prefix the API URLs with this context.
HTTP Verb
|
POST
|
URL
|
/api/1/services/api/1/activity/post-activity.json |
Response Formats
|
JSON |
Required Role
|
N/A
|
Parameters
Name
|
Type
|
Required
|
Description
|
---|---|---|---|
site_id
|
String
|
✓
|
Site to use
|
user
|
String
|
✓
|
User that performed activity
|
path
|
String
|
✓
|
Path actioned upon
|
activity
|
String
|
✓
|
Activity type
|
contentTypeClass
|
String
|
✓
|
Content type class
|
Example
Request
POST .../api/1/services/api/1/activity/post-activity.json?site_id=mysite&user=jane.doe&path=/site/website/index.xml&activity=UPDATE&contentTypeClass=pages``
Response
Status 200 OK
No response body
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|