Community Themes endpoints
About Droptop Community Themes
Gets all the Community Themes of Droptop
GET /v1/community-themes HTTP/1.1
Host: api.droptopfour.com
Accept: */*
Successful operation
{
"apps": [
{
"Theme": {
"id": 1,
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"author": "text",
"author_id": 1,
"author_link": "example.com",
"desc": "text",
"version": "text",
"official_link": "example.com",
"direct_download_link": "example.com",
"secondary_link": "example.com",
"image_url": "example.com",
"authorised_members": [
1
],
"hidden": 1,
"changelog": [
{
"version": "text",
"changenotes": "text"
}
]
}
}
]
}
Gets a specific Community Theme by id
A numeric id
GET /v1/community-themes/{id} HTTP/1.1
Host: api.droptopfour.com
Accept: */*
{
"Theme": {
"id": 1,
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"author": "text",
"author_id": 1,
"author_link": "example.com",
"desc": "text",
"version": "text",
"official_link": "example.com",
"direct_download_link": "example.com",
"secondary_link": "example.com",
"image_url": "example.com",
"authorised_members": [
1
],
"hidden": 1,
"changelog": [
{
"version": "text",
"changenotes": "text"
}
]
}
}
Downloads a specific Community Theme by id
A numeric id
GET /v1/community-themes/{id}/download HTTP/1.1
Host: api.droptopfour.com
Accept: */*
No content
Gets a specific Community App by id
GET /v1/community-themes/id HTTP/1.1
Host: api.droptopfour.com
Accept: */*
Redirects to the root request if the id parameter is empty/none
No content
Gets a specific Community App by id
A numeric id
GET /v1/community-themes/id/{id} HTTP/1.1
Host: api.droptopfour.com
Accept: */*
{
"App": {
"id": 1,
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"author": "text",
"author_id": 1,
"author_link": "example.com",
"desc": "text",
"version": "text",
"official_link": "example.com",
"direct_download_link": "example.com",
"secondary_link": "example.com",
"image_url": "example.com",
"authorised_members": [
1
],
"hidden": 1,
"changelog": [
{
"version": "text",
"changenotes": "text"
}
]
}
}
Downloads a specific Community App by id
A numeric id
GET /v1/community-themes/id/{id}/download HTTP/1.1
Host: api.droptopfour.com
Accept: */*
No content
Gets a specific Community App by name
GET /v1/community-themes/name HTTP/1.1
Host: api.droptopfour.com
Accept: */*
Redirects to the root request if the name parameter is empty/none
No content
Gets a specific Community App by name
A string
GET /v1/community-themes/name/{name} HTTP/1.1
Host: api.droptopfour.com
Accept: */*
{
"App": {
"id": 1,
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"author": "text",
"author_id": 1,
"author_link": "example.com",
"desc": "text",
"version": "text",
"official_link": "example.com",
"direct_download_link": "example.com",
"secondary_link": "example.com",
"image_url": "example.com",
"authorised_members": [
1
],
"hidden": 1,
"changelog": [
{
"version": "text",
"changenotes": "text"
}
]
}
}
Downloads a specific Community App by name
A string
GET /v1/community-themes/name/{name}/download HTTP/1.1
Host: api.droptopfour.com
Accept: */*
No content
Gets a specific Community App by uuid
GET /v1/community-themes/uuid HTTP/1.1
Host: api.droptopfour.com
Accept: */*
Redirects to the root request if the uuid parameter is empty/none
No content
Gets a specific Community App by uuid
An uuid
GET /v1/community-themes/uuid/{uuid} HTTP/1.1
Host: api.droptopfour.com
Accept: */*
{
"App": {
"id": 1,
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"author": "text",
"author_id": 1,
"author_link": "example.com",
"desc": "text",
"version": "text",
"official_link": "example.com",
"direct_download_link": "example.com",
"secondary_link": "example.com",
"image_url": "example.com",
"authorised_members": [
1
],
"hidden": 1,
"changelog": [
{
"version": "text",
"changenotes": "text"
}
]
}
}
Downloads a specific Community App by uuid
An uuid
GET /v1/community-themes/uuid/{uuid}/download HTTP/1.1
Host: api.droptopfour.com
Accept: */*
No content
Gets the number of downloads of a Community Theme
An uuid
GET /v1/downloads/community-themes/{uuid} HTTP/1.1
Host: api.droptopfour.com
Accept: */*
{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"downloads": 1
}
Adds one to the number of downloads of a Community Theme
An uuid
POST /v1/downloads/community-themes/{uuid} HTTP/1.1
Host: api.droptopfour.com
Authentication: YOUR_API_KEY
Accept: */*
{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"downloads": 1
}
Last updated
Was this helpful?