-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #158 from cjsaylor/2.3
WIP: 2.3
- Loading branch information
Showing
53 changed files
with
1,942 additions
and
525 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
php_value newrelic.appname "Boxmeup" | ||
|
||
<IfModule mod_rewrite.c> | ||
RewriteEngine on | ||
RewriteBase /app/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,230 @@ | ||
{ | ||
"name": "BoxmeupAPI", | ||
"apiVersion": "2013-08-11", | ||
"baseUrl": "https://boxmeupapp.com/api", | ||
"description": "BoxmeupAPI allows for programatic manipulation of containers, items, and locations", | ||
"operations": { | ||
"Login": { | ||
"httpMethod": "POST", | ||
"uri": "/users/login", | ||
"summary": "Authenticate a user and retrieve an OAuth access token.", | ||
"responseClass": "LoginOutput", | ||
"parameters": { | ||
"email": { | ||
"location": "postField", | ||
"description": "Email of the account.", | ||
"type": "string", | ||
"required": true | ||
}, | ||
"password": { | ||
"location": "postField", | ||
"description": "Password of the account.", | ||
"type": "string", | ||
"required": true | ||
}, | ||
"application": { | ||
"location": "postField", | ||
"description": "Application name to register this OAuth request.", | ||
"type": "string", | ||
"required": true | ||
} | ||
} | ||
}, | ||
"GetContainers": { | ||
"httpMethod": "GET", | ||
"uri": "/containers", | ||
"summary": "Get a list of containers.", | ||
"responseClass": "ContainerListOutput", | ||
"parameters": { | ||
"slug": { | ||
"location": "query", | ||
"description": "Filter by container slug.", | ||
"type": "string", | ||
"required": false | ||
} | ||
} | ||
}, | ||
"AddContainer": { | ||
"httpMethod": "POST", | ||
"uri": "/containers", | ||
"summary": "Adds a new container.", | ||
"responseClass": "ContainerShortOutput", | ||
"parameters": { | ||
"name": { | ||
"location": "postField", | ||
"description": "Name of the container", | ||
"type": "string", | ||
"required": true | ||
} | ||
} | ||
}, | ||
"UpdateContainer": { | ||
"httpMethod": "PUT", | ||
"uri": "/containers/:slug", | ||
"summary": "Updates an existing container.", | ||
"responseClass": "ContainerLongOutput", | ||
"parameters": { | ||
"slug": { | ||
"location": "uri", | ||
"description": "Container slug.", | ||
"type": "string", | ||
"required": true | ||
}, | ||
"name": { | ||
"location": "postField", | ||
"description": "Name of the container", | ||
"type": "string", | ||
"required": true | ||
} | ||
} | ||
}, | ||
"RemoveContainer": { | ||
"httpMethod": "DELETE", | ||
"uri": "/containers/:slug", | ||
"summary": "Adds a new container.", | ||
"responseClass": "SuccessOutput", | ||
"parameters": { | ||
"slug": { | ||
"location": "uri", | ||
"description": "Container slug.", | ||
"type": "string", | ||
"required": true | ||
} | ||
} | ||
} | ||
}, | ||
"models": { | ||
"LoginOutput": { | ||
"type": "object", | ||
"properties": { | ||
"token": { | ||
"location": "json", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ContainerListOutput": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"Container": { | ||
"location": "json", | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"location": "json", | ||
"type": "string" | ||
}, | ||
"uuid": { | ||
"location": "json", | ||
"type": "string" | ||
}, | ||
"slug": { | ||
"location": "json", | ||
"type": "string" | ||
}, | ||
"container_item_count": { | ||
"location": "json", | ||
"type": "integer" | ||
}, | ||
"created": { | ||
"location": "json", | ||
"type": "string" | ||
}, | ||
"modified": { | ||
"location": "json", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"Location": { | ||
"location": "json", | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"location": "json", | ||
"type": "string" | ||
}, | ||
"uuid": { | ||
"location": "json", | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"ContainerShortOutput": { | ||
"type": "object", | ||
"properties": { | ||
"uuid": { | ||
"location": "json", | ||
"type": "string" | ||
}, | ||
"slug": { | ||
"location": "json", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ContainerLongOutput": { | ||
"type": "object", | ||
"properties": { | ||
"Container": { | ||
"location": "json", | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"location": "json", | ||
"type": "string" | ||
}, | ||
"uuid": { | ||
"location": "json", | ||
"type": "string" | ||
}, | ||
"slug": { | ||
"location": "json", | ||
"type": "string" | ||
}, | ||
"container_item_count": { | ||
"location": "json", | ||
"type": "integer" | ||
}, | ||
"created": { | ||
"location": "json", | ||
"type": "string" | ||
}, | ||
"modified": { | ||
"location": "json", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"Location": { | ||
"location": "json", | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"location": "json", | ||
"type": "string" | ||
}, | ||
"uuid": { | ||
"location": "json", | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"SuccessOutput": { | ||
"type": "object", | ||
"properties": { | ||
"success": { | ||
"location": "json", | ||
"type": "boolean" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.