Activities
Create an activity
Creates a new activity for a product.
POST
/
v1
/
activities
Authorizations
x-api-key
string
headerrequiredThe API key required for accessing protected routes. It should be included in the request headers as x-api-key
.
Body
multipart/form-data
product_id
string
requiredThe ID of the product associated with the activity.
title
string
requiredThe title of the activity.
content
string | null
Content for the activity.
owner_address
string
requiredThe address of the activity's owner.
image
file
requiredResponse
201 - application/json
content
string | null
created_at
string
id
integer
image_id
integer | null
json
object | null
owner_address
string | null
title
string | null
tx_url
string | null
type
enum<string>
Available options:
PRODUCTION
, CONNECTED
, CONTRACT_DEPLOYED
, PRODUCT_DROPPED
, PRODUCT_TAPPED
, PRODUCT_REGISTERED
, PRODUCT_VAULTED
, PRODUCT_GRADED
, PRODUCT_REDEEMED
, PRODUCT_LISTED
, PRODUCT_SOLD
, ON_DISPLAY
, OWNER_POST
, CREATOR_POST
, CREATOR_UPGRADE
updated_at
string | null
video_id
integer | null
gallery
object[] | null
The gallery items related to the activity.
image
object
video
object