Patchstorage API Docs API Reference
Alpha API is DEPRECATED! Will be shut down 2023Q1. Use Beta API.
API Endpoint
https://patchstorage.com/api/alpha
Schemes: https
Version: 0.1.1
patch
Returns a list of patch objects.
Current page of the collection.
Maximum number of items to be returned.
Limit results to those matching a string.
Limit response to items published before a given ISO8601 compliant date.
Limit response to items published after a given ISO8601 compliant date.
Ensure result set excludes specific IDs.
Limit result set to specific IDs.
Offset the result set by a specific number of items.
Order sort attribute ascending or descending.
Sort items by object attribute.
Limit result set to items with one or more specific slugs.
Limit result set to all items by specific authors. Comma separated author IDs.
Ensure result set excludes items by specific authors. Comma separated author IDs.
Limit result set to all items that have categories (IDs) assigned.
Limit result set to all items except ones that have categories (IDs) assigned.
Limit result set to all items that have tags (IDs) assigned.
Limit result set to all items except ones that have tags (IDs) assigned.
Limit result set to all items that have platforms (IDs) assigned.
Limit result set to all items except ones that have platforms (IDs) assigned.
Limit result set to all items that have states (IDs) assigned.
Limit result set to all items except ones that have states (IDs) assigned.
Response Content-Types: application/json
Response Example (200 OK)
[
{
"id": "integer",
"self": "string",
"link": "string",
"created_at": "string",
"updated_at": "string",
"slug": "string",
"title": "string",
"excerpt": "string",
"comment_count": "integer",
"view_count": "integer",
"like_count": "integer",
"download_count": "integer",
"categories": [
{
"id": "integer",
"slug": "string",
"name": "string"
}
],
"tags": [
{
"id": "integer",
"slug": "string",
"name": "string"
}
],
"platform": {
"id": "integer",
"slug": "string",
"name": "string"
},
"state": {
"id": "integer",
"slug": "string",
"name": "string"
}
}
]
Response Headers (200 OK)
| X-WP-Total |
Count of all objects in collection. |
integer |
| X-WP-TotalPages |
Count of pages available in collection based on 'per_page' query parameter value. |
integer |
Response Example (400 Bad Request)
{
"code": "string",
"message": "string",
"data": {
"status": "integer"
}
}
Returns a specific patch object.
Unique identifier for the object.
Success
Not found
Response Content-Types: application/json
Response Example (200 OK)
{
"id": "integer",
"link": "string",
"created_at": "string",
"updated_at": "string",
"slug": "string",
"title": "string",
"excerpt": "string",
"content": "string",
"code": "string",
"files": [
{
"id": "integer",
"url": "string",
"filesize": "integer",
"filename": "string"
}
],
"artwork": {
"url": "string"
},
"preview_url": "string",
"source_code_url": "string",
"revision": "string",
"comment_count": "integer",
"view_count": "integer",
"like_count": "integer",
"download_count": "integer",
"author": {
"id": "integer",
"slug": "string",
"name": "string"
},
"categories": [
{
"id": "integer",
"slug": "string",
"name": "string"
}
],
"tags": [
{
"id": "integer",
"slug": "string",
"name": "string"
}
],
"platform": {
"id": "integer",
"slug": "string",
"name": "string"
},
"state": {
"id": "integer",
"slug": "string",
"name": "string"
},
"license": {
"id": "integer",
"slug": "string",
"name": "string"
},
"custom_license_text": "string"
}
Response Example (404 Not Found)
{
"code": "string",
"message": "string",
"data": {
"status": "integer"
}
}
platform
Returns a list of platform objects.
Response Content-Types: application/json
Response Example (200 OK)
[
{
"id": "integer",
"self": "string",
"description": "string",
"slug": "string",
"name": "string"
}
]
Response Headers (200 OK)
| X-WP-Total |
Count of all objects in collection. |
integer |
| X-WP-TotalPages |
Count of pages available in collection based on 'per_page' query parameter value. |
integer |
Returns a specific platform object.
Unique identifier for the object.
Response Content-Types: application/json
Response Example (200 OK)
{
"id": "integer",
"self": "string",
"description": "string",
"slug": "string",
"name": "string"
}
Response Example (404 Not Found)
{
"code": "string",
"message": "string",
"data": {
"status": "integer"
}
}
category
Returns a list of category objects.
Response Content-Types: application/json
Response Example (200 OK)
[
{
"id": "integer",
"self": "string",
"description": "string",
"slug": "string",
"name": "string"
}
]
Response Headers (200 OK)
| X-WP-Total |
Count of all objects in collection. |
integer |
| X-WP-TotalPages |
Count of pages available in collection based on 'per_page' query parameter value. |
integer |
Returns a specific category object.
Unique identifier for the object.
Response Content-Types: application/json
Response Example (200 OK)
{
"id": "integer",
"self": "string",
"description": "string",
"slug": "string",
"name": "string"
}
Response Example (404 Not Found)
{
"code": "string",
"message": "string",
"data": {
"status": "integer"
}
}
state
Returns a list of state objects.
Response Content-Types: application/json
Response Example (200 OK)
[
{
"id": "integer",
"self": "string",
"description": "string",
"slug": "string",
"name": "string"
}
]
Response Headers (200 OK)
| X-WP-Total |
Count of all objects in collection. |
integer |
| X-WP-TotalPages |
Count of pages available in collection based on 'per_page' query parameter value. |
integer |
Returns a specific state object.
Unique identifier for the object.
Response Content-Types: application/json
Response Example (200 OK)
{
"id": "integer",
"self": "string",
"description": "string",
"slug": "string",
"name": "string"
}
Response Example (404 Not Found)
{
"code": "string",
"message": "string",
"data": {
"status": "integer"
}
}
license
Returns a list of license objects.
Response Content-Types: application/json
Response Example (200 OK)
[
{
"id": "integer",
"self": "string",
"description": "string",
"slug": "string",
"name": "string"
}
]
Response Headers (200 OK)
| X-WP-Total |
Count of all objects in collection. |
integer |
| X-WP-TotalPages |
Count of pages available in collection based on 'per_page' query parameter value. |
integer |
Returns a specific license object.
Unique identifier for the object.
Response Content-Types: application/json
Response Example (200 OK)
{
"id": "integer",
"self": "string",
"description": "string",
"slug": "string",
"name": "string"
}
Response Example (404 Not Found)
{
"code": "string",
"message": "string",
"data": {
"status": "integer"
}
}
Schema Definitions
Patch: object
- id: integer
-
Unique object identifier.
- self: string
-
Unique object identifier.
- link: string
- created_at: string
- updated_at: string
- slug: string
- title: string
- excerpt: string
- comment_count: integer
- view_count: integer
- like_count: integer
- download_count: integer
- categories: TaxonomyInline
-
TaxonomyInline - tags: TaxonomyInline
-
TaxonomyInline - platform: TaxonomyInline
- state: TaxonomyInline
Example
{
"id": "integer",
"self": "string",
"link": "string",
"created_at": "string",
"updated_at": "string",
"slug": "string",
"title": "string",
"excerpt": "string",
"comment_count": "integer",
"view_count": "integer",
"like_count": "integer",
"download_count": "integer",
"categories": [
{
"id": "integer",
"slug": "string",
"name": "string"
}
],
"tags": [
{
"id": "integer",
"slug": "string",
"name": "string"
}
],
"platform": {
"id": "integer",
"slug": "string",
"name": "string"
},
"state": {
"id": "integer",
"slug": "string",
"name": "string"
}
}
PatchExtended: object
- id: integer
-
Unique object identifier.
- link: string
- created_at: string
- updated_at: string
- slug: string
- title: string
- excerpt: string
- content: string
- code: string
- files: File
-
File - artwork: Artwork
- preview_url: string
- source_code_url: string
- revision: string
- comment_count: integer
- view_count: integer
- like_count: integer
- download_count: integer
- author: Author
- categories: TaxonomyInline
-
TaxonomyInline - tags: TaxonomyInline
-
TaxonomyInline - platform: TaxonomyInline
- state: TaxonomyInline
- license: TaxonomyInline
- custom_license_text: string
Example
{
"id": "integer",
"link": "string",
"created_at": "string",
"updated_at": "string",
"slug": "string",
"title": "string",
"excerpt": "string",
"content": "string",
"code": "string",
"files": [
{
"id": "integer",
"url": "string",
"filesize": "integer",
"filename": "string"
}
],
"artwork": {
"url": "string"
},
"preview_url": "string",
"source_code_url": "string",
"revision": "string",
"comment_count": "integer",
"view_count": "integer",
"like_count": "integer",
"download_count": "integer",
"author": {
"id": "integer",
"slug": "string",
"name": "string"
},
"categories": [
{
"id": "integer",
"slug": "string",
"name": "string"
}
],
"tags": [
{
"id": "integer",
"slug": "string",
"name": "string"
}
],
"platform": {
"id": "integer",
"slug": "string",
"name": "string"
},
"state": {
"id": "integer",
"slug": "string",
"name": "string"
},
"license": {
"id": "integer",
"slug": "string",
"name": "string"
},
"custom_license_text": "string"
}
Taxonomy: object
Model for Platform, Category, State, License, Tag representation.
- id: integer
-
Unique object identifier.
- self: string
-
Link to a single object.
- description: string
-
Object description.
- slug: string
-
Object slug.
- name: string
-
Object name.
Example
{
"id": "integer",
"self": "string",
"description": "string",
"slug": "string",
"name": "string"
}
TaxonomyInline: object
Model for Platform, Category, State, License, Tag representation.
- id: integer
-
Unique object identifier.
- slug: string
-
Object slug.
- name: string
-
Object name.
Example
{
"id": "integer",
"slug": "string",
"name": "string"
}
File: object
Model for File representation.
- id: integer
-
Unique object identifier.
- url: string
-
Object download link.
- filesize: integer
-
Object size in bytes.
- filename: string
-
Object filename.
Example
{
"id": "integer",
"url": "string",
"filesize": "integer",
"filename": "string"
}
Artwork: object
Model for Artwork representation.
- url: string
-
Object download link.
Example
{
"url": "string"
}
Author: object
Model for Author representation.
- id: integer
-
Unique object identifier.
- slug: string
-
Object slug.
- name: string
-
Object name.
Example
{
"id": "integer",
"slug": "string",
"name": "string"
}