Skip to content

Commit

Permalink
Merge pull request #11 from patrickkwang/patch-2
Browse files Browse the repository at this point in the history
Add rate limit and batch-size limit
  • Loading branch information
colleenXu authored Sep 17, 2021
2 parents ac5f308 + cafaa68 commit 32ac67d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions x-trapi/smartapi_x-trapi_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@
"items": {
"type": "string"
}
},
"rate_limit": {
"description": "Maximum number of requests allowed per _minute_ from each client. -1 indicates no limit.",
"type": "integer",
"minimum": -1,
"default": -1
},
"batch_size_limit": {
"description": "Maximum number of CURIEs allowed in _any_ 'ids', 'categories', or 'predicates' list. -1 indicates no limit.",
"type": "integer",
"minimum": -1,
"default": -1
}
}
}
Expand Down

0 comments on commit 32ac67d

Please sign in to comment.