Skip to content

Commit

Permalink
Merge branch 'master' into lj/CA-7890/Bump_and_add_rate_limiter
Browse files Browse the repository at this point in the history
  • Loading branch information
fintronlj committed Nov 22, 2024
2 parents 32dca88 + 1923f1f commit c7637cb
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 4 deletions.
74 changes: 71 additions & 3 deletions .polygon/rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13911,7 +13911,8 @@
"files_count",
"source_url",
"download_url",
"entities"
"entities",
"acceptance_datetime"
],
"type": "object",
"x-polygon-go-type": {
Expand Down Expand Up @@ -14099,7 +14100,23 @@
}
}
},
"type": "object"
"required": [
"id",
"accession_number",
"type",
"filing_date",
"period_of_report_date",
"files_count",
"source_url",
"download_url",
"entities",
"acceptance_datetime"
],
"type": "object",
"x-polygon-go-type": {
"name": "SECFiling",
"path": "github.com/polygon-io/go-lib-models/v2/globals"
}
}
}
},
Expand Down Expand Up @@ -30586,6 +30603,44 @@
"schema": {
"type": "string"
}
},
{
"description": "Order results based on the `sort` field.",
"in": "query",
"name": "order",
"schema": {
"enum": [
"asc",
"desc"
],
"example": "asc",
"type": "string"
}
},
{
"description": "Limit the number of results returned, default is 10 and max is 250.",
"in": "query",
"name": "limit",
"schema": {
"default": 10,
"example": 10,
"maximum": 250,
"minimum": 1,
"type": "integer"
}
},
{
"description": "Sort field used for ordering.",
"in": "query",
"name": "sort",
"schema": {
"default": "ticker",
"enum": [
"ticker"
],
"example": "ticker",
"type": "string"
}
}
],
"responses": {
Expand Down Expand Up @@ -30670,7 +30725,20 @@
"description": "Reference data",
"name": "reference"
},
"x-polygon-experimental": {}
"x-polygon-experimental": {},
"x-polygon-paginate": {
"limit": {
"default": 10,
"max": 250,
"min": 1
},
"sort": {
"default": "ticker",
"enum": [
"ticker"
]
}
}
},
"x-polygon-draft": true
},
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.9.0
golang.org/x/exp v0.0.0-20220414153411-bcd21879b8fd
golang.org/x/time v0.3.0
golang.org/x/time v0.8.0
gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637
)

Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk=
golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
golang.org/x/time v0.8.0 h1:9i3RxcPv3PZnitoVGMPDKZSq1xW1gK1Xy3ArNOGZfEg=
golang.org/x/time v0.8.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
Expand Down

0 comments on commit c7637cb

Please sign in to comment.