A non-essential endpoint, returning a status message, and the server version.
Auth: FALSE
OAuth Callback URL. Other details TBD.
Auth: FALSE
OAuth Callback URL. Other details TDB.
Auth: FALSE
Pat Token Signup URL.
Auth: FALSE
List all packages.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want to request.
- page (optional)
[integer]
| Location:query
| Defaults:1
- Indicate the page number to return.
- sort (optional)
[string]
| Location:query
| Defaults:downloads
| Valid:[downloads, created_at, updated_at, stars]
- The method to sort the returned pacakges by.
- direction (optional)
[string]
| Defaults:desc
| Valid:[desc, asc]
- Which direction to list the results. If sorting by stars, can only be sorted by desc.
HTTP Status Code: 200 OK
Type: [application/json]
Returns a list of all packages. Paginated 30 at a time. Links to the next and last pages are in the 'Link' Header.
Publishes a new Package.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want to request.
- repository (required)
[string]
| Location:query
- The repository containing the plugin, in the form 'owner/repo'.
- Authentication (required)
[string]
| Location:header
- A valid Atom.io token, in the 'Authorization' Header.
HTTP Status Code: 201
Type: [application/json]
Successfully created, return created package.
HTTP Status Code: 400 Bad Request
Type: [application/json]
Repository is inaccessible, nonexistant, not an atom package. Could be different errors returned.
{ "message": "That repo does not exist, ins't an atom package, or atombot does not have access." }, { "message": "The package.json at owner/repo isn't valid." }
HTTP Status Code: 409 Conflict
Type: [application/json]
A package by that name already exists.
Previously Undocumented endpoint. Used to return featured packages from all existing packages.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want to request.
HTTP Status Code: 200 OK
An array of packages similar to /api/packages endpoint.
Searches all Packages.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want.
- q (required)
[string]
| Location:query
- Search query.
- page (optional)
[integer]
| Location:query
- The page of search results to return.
- sort (optional)
[string]
| Location:query
| Defaults:relevance
| Valid:[downloads, created_at, updated_at, stars]
- Method to sort the results.
- direction (optional)
[string]
| Location:query
| Defaults:desc
| Valid:[asc, desc]
- Direction to list search results.
HTTP Status Code: 200 OK
Type: [application/json]
Same format as listing packages, additionally paginated at 30 items.
Show package details.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want to request.
- packageName (required)
[string]
| Location:path
- The name of the package to return details for. URL escaped.
- engine (optional)
[string]
| Location:query
- Only show packages compatible with this Atom version. Must be valid SemVer.
HTTP Status Code: 200 OK
Type: [application/json]
Returns package details and versions for a single package.
Delete a package.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want to request.
- packageName (required)
[string]
| Location:path
- The name of the package to delete.
- Authorization (required)
[string]
| Location:header
- A valid Atom.io token, in the 'Authorization' Header.
HTTP Status Code: 204 No Content
Type: [application/json]
Successfully deleted package. Returns No Content.
HTTP Status Code: 400 Bad Request
Type: [application/json]
Repository is inaccessible.
{ "message": "Respository is inaccessible." }
HTTP Status Code: 401 Unauthorized
Type: [application/json]
Unauthorized.
Star a package.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want to request.
- packageName (required)
[string]
| Location:path
- The name of the package to star.
- Authorization (required)
[string]
| Location:header
- A valid Atom.io token, in the 'Authorization' Header
HTTP Status Code: 200 OK
Type: [application/json]
Returns the package that was stared.
Unstar a package, requires authentication.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want to request.
- Authentication (required)
[string]
| Location:header
- Atom Token, in the Header Authentication Item
- packageName (required)
[string]
| Location:path
- The package name to unstar.
HTTP Status Code: 201
An empty response to convey successfully unstaring a package.
List the users that have starred a package.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want to request.
- packageName (required) | Location:
path
- The package name to check for users stars.
HTTP Status Code: 200 OK
A list of user Objects.
[ { "login": "aperson" }, { "login": "anotherperson" } ]
Creates a new package version from a git tag. If rename
is not true
, the name
field in package.json
must match the current package name.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want to request.
- packageName (required) | Location:
path
- The Package to modify.
- rename (optional) | Location:
query
- Boolean indicating whether this version contains a new name for the package.
- tag (required) | Location:
query
- A git tag for the version you'd like to create. It's important to note that the version name will not be taken from the tag, but from the
version
key in thepackage.json
file at that ref.
- A git tag for the version you'd like to create. It's important to note that the version name will not be taken from the tag, but from the
- auth (required) | Location:
header
- A valid Atom.io API token, to authenticate with Github.
HTTP Status Code: 201
Successfully created. Returns created version.
HTTP Status Code: 400 Bad Request
Git tag not found / Repository inaccessible / package.json invalid.
HTTP Status Code: 409 Conflict
Version exists.
Returns package.json
with dist
key added for tarball download.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want to request.
- packageName (required) | Location:
path
- The package name we want to access
- versionName (required) | Location:
path
- The Version we want to access.
HTTP Status Code: 200 OK
The package.json
modified as explainged in the endpoint description.
Previously undocumented endpoint. Seems to allow for installation of a package. This is not currently implemented.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want to request.
- packageName (required) | Location:
path
- The package we want to download.
- versionName (required) | Location:
path
- The package version we want to download.
HTTP Status Code: 200 OK
The tarball data for the user to then be able to install.
Deletes a package version. Note once a version is deleted, that same version should not be reused again.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want to request.
- Authentication (required) | Location:
header
- The Authentication header containing a valid Atom Token
- packageName (required) | Location:
path
- The package name to check for the version to delete.
- versionName (required) | Location:
path
- The Package Version to actually delete.
HTTP Status Code: 204 No Content
Indicates a successful deletion.
Previously undocumented endpoint. BETA: Decreases the packages download count, by one. Indicating an uninstall.
- packType (required)
[string]
| Location:path
| Valid:[packages, themes]
- The Package Type you want to request.
- packageName (required) | Location:
path
- The name of the package to modify.
- versionName (required) | Location:
path
- This value is within the original spec. But has no use in its current implementation.
- auth (required) | Location:
header
- Valid Atom.io token.
HTTP Status Code: 200 OK
Returns JSON ok: true
List a user's starred packages.
- login (required)
[string]
- The username of who to list their stars.
HTTP Status Code: 200 OK
Return value is similar to GET /api/packages
HTTP Status Code: 404 Not Found
If the login does not exist, a 404 is returned.
Display details of the currently authenticated user.
- auth (required)
[string]
| Location:header
- Authorization Header of valid User Account Token.
HTTP Status Code: 200 OK
Type: [application/json]
The return Details of the User Account.
Display the details of any user, as well as the packages they have published.
- login (required)
[string]
| Location:path
- The User of which to collect the details of.
HTTP Status Code: 200 OK
Type: [application/json]
The returned details of a specific user, along with the packages they have published.
List the authenticated user's starred packages.
- auth (required)
[string]
| Location:header
- Authorization Header of valid Atom.io Token.
HTTP Status Code: 200 OK
Type: [application/json]
Return value similar to GET /api/packages, an array of package objects.
List Atom Updates.
HTTP Status Code: 200 OK
Type: [application/json]
Atom update feed, following the format expected by Squirrel.