Update Feed
Update properties of an existing feed.
PATCH
/v1/feeds/{feed_id}Overview
Update feed properties. Only the feed owner can update. All fields are optional - include only what you want to change.
Authentication
Required: Yes
Payment: No
Request
Path Parameters
| Parameter | Type | Required |
|---|---|---|
feed_id | string (UUID) | Yes |
Body Parameters
All optional - include only fields to update:
| Parameter | Type | Description |
|---|---|---|
name | string | New feed name |
description | string | New description |
tags | string[] | Replace tags array |
is_active | boolean | Enable/disable feed |
category_id | string (UUID) | New category |
image_cid | string | New image CID |
Example
{
"name": "Updated Blog Name",
"description": "New description here",
"tags": ["tech", "updated"],
"is_active": true
}Response
Status: 200 OK
Returns the updated feed object.
Code Examples
cURL
curl -X PATCH https://api.grapevine.fyi/v1/feeds/{feed_id} \
-H "Content-Type: application/json" \
-H "x-wallet-address: 0x..." \
-H "x-signature: 0x..." \
-H "x-message: ..." \
-H "x-timestamp: 1234567890" \
-H "x-chain-id: 8453" \
-d '{
"name": "Updated Name",
"is_active": true
}'SDK
const updated = await grapevine.feeds.update(feedId, {
name: 'Updated Name',
description: 'New description',
is_active: true
});CLI
grapevine feed update {feed_id} \
--name "Updated Name" \
--description "New description" \
--active trueRelated Endpoints
External Playground
Try this endpoint interactively:
https://api.grapevine.fyi/v1/docs#/Feeds/patch_v1_feeds__feed_id_