Change api specification.

pull/61/head
FUJIURA Toyonori 2017-10-23 10:09:08 +09:00
parent 98d1ab17f1
commit f4e0d5463e
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import (
// Account hold information for mastodon account.
type Account struct {
ID int64 `json:"id"`
ID string `json:"id"`
Username string `json:"username"`
Acct string `json:"acct"`
DisplayName string `json:"display_name"`

View File

@ -11,7 +11,7 @@ import (
// Status is struct to hold status.
type Status struct {
ID int64 `json:"id"`
ID string `json:"id"`
CreatedAt time.Time `json:"created_at"`
InReplyToID interface{} `json:"in_reply_to_id"`
InReplyToAccountID interface{} `json:"in_reply_to_account_id"`