Skip to content

Commit

Permalink
Add model parameter to tag request.
Browse files Browse the repository at this point in the history
This allows specifying a non-default model for a tag request.
  • Loading branch information
Solon Gordon committed Dec 7, 2015
1 parent 5eb6894 commit dd00163
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ type InfoResp struct {
type TagRequest struct {
URLs []string `json:"url"`
LocalIDs []string `json:"local_ids,omitempty"`
Model string `json:"model,omitempty"`
}

// TagResp represents the expected JSON response from /tag/
Expand Down

0 comments on commit dd00163

Please sign in to comment.