Skip to main content

Create a Resource

ENDPOINT
POST https://api.codecoogs.com/v1/resources
REQUEST BODY
{
"title": "Introduction to Cloud Computing Workshop",
"description": "Slides from our cloud computing workshop.",
"category": "Workshops",
"link_url": "https://drive.google.com/file/d/1U1vNpouM_fwZ7jleENl18k4wupgSXQH4/view",
"extension": "pdf",
"resource_date": "2025-02-12",
"display_order": 1,
"website_viewable": true
}

URL Parameters


No parameters.

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. Omit it to fall back to the column default of false.


is_active boolean Optional

Whether the resource is live. Omit it to fall back to the column default of true.

Returns

Returns a success status after successful resource creation. This call returns a success status and an error message if title, category, or link_url is missing, or if something else goes wrong.