Update a Resource
PUT https://api.codecoogs.com/v1/resources?id=
{
"title": "Introduction to Cloud Computing Workshop",
"category": "Workshops",
"link_url": "https://drive.google.com/file/d/1U1vNpouM_fwZ7jleENl18k4wupgSXQH4/view",
"website_viewable": false
}
updated_at is maintained by a database trigger on every successful update.
URL Parameters
id Required
A UUID for the object.
Body Parameters
title Required
The resource's title.
category Required
The category the resource is grouped under.
link_url Required
The URL the resource can be viewed or downloaded from.
description string Optional
The resource's description.
extension string Optional
The resource's file extension.
thumbnail_url string Optional
A URL to the resource's thumbnail image.
resource_date string Optional
The date the resource was presented or published.
display_order integer Optional
Controls the order resources are returned in.
website_viewable boolean Optional
Whether the resource may be shown on the public website.
is_active boolean Optional
Whether the resource is live.
Returns
Returns a success status after successful resource update. This call returns a success status and an error message if something goes wrong.