Updates the metadata for an existing pack owned by the authenticated user. Allowed modifications include name, description, and cover image. Returns the updated pack with all current metadata.
curl --request PATCH \
--url https://api.fluxer.app/v1/packs/{pack_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"type": "emoji",
"creator_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"installed_at": "2023-11-07T05:31:56Z"
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The ID of the pack
^(0|[1-9][0-9]*)$Success
The unique identifier (snowflake) for the pack
^(0|[1-9][0-9]*)$The display name of the pack
The description of the pack
The type of expression pack (emoji or sticker)
emoji, sticker The ID of the user who created the pack
^(0|[1-9][0-9]*)$ISO8601 timestamp of when the pack was created
ISO8601 timestamp of when the pack was last updated
ISO8601 timestamp of when the pack was installed by the user
curl --request PATCH \
--url https://api.fluxer.app/v1/packs/{pack_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"type": "emoji",
"creator_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"installed_at": "2023-11-07T05:31:56Z"
}