Status | Response |
---|---|
200 | ```json |
{ | |
"id": 10, | |
"username": "alanpartridge", | |
"email": "[email protected]", | |
"password_hash": "$2a$10$uhUIUmVWVnrBWx9rrDWhS.CPCWCZsyqqa8./whhfzBZydX7yvahHS", | |
"password_salt": "$2a$10$uhUIUmVWVnrBWx9rrDWhS.", | |
"created_at": "2015-02-14T20:45:26.433Z", |
This file contains hidden or 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
#!/bin/bash | |
# You can generate a new personal API token in your user settings (/user/tokens). | |
TOKEN=""; | |
# Send the input as an update | |
curl -X POST \ | |
-H "Authorization: Bearer $TOKEN" \ | |
-H "Content-Type: application/json" \ | |
-d "{\"message\": \"$*\"}" \ |
This file contains hidden or 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
{ | |
"name": "HeyUpdate", | |
"description": "Send a summary of your teams updates to HipChat", | |
"keys": "com.heyupdate", | |
"links": { | |
"homepage": "http://www.heyupdate.com", | |
"self": "https://demo.heyupdate.dev/app_dev.php/hipchat/capabilities" | |
}, | |
"capabilities": { | |
"hipchatApiConsumer": { |
This file contains hidden or 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
<?php | |
namespace HeyUpdate\Application\Migrations; | |
use Doctrine\DBAL\Migrations\AbstractMigration; | |
use Doctrine\DBAL\Schema\Schema; | |
class Version20141205212145 extends AbstractMigration | |
{ | |
public function up(Schema $schema) |