Skip to content

Commit

Permalink
Updating image thumbnail field descriptions (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinPayravi authored Nov 6, 2020
1 parent 9373e8e commit 962666a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 54 deletions.
22 changes: 11 additions & 11 deletions static/doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
"schema": {
"type": "integer"
},
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. When asking for a large list of villagers, this parameter is generally not recommended as the generation of each custom-sized thumbnail requires an additional network call to generate, which can result in a very long response time."
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. Note that requesting specific image sizes for long lists may result in a very long response time."
}
],
"responses": {
Expand Down Expand Up @@ -230,7 +230,7 @@
"/nh/fish": {
"get": {
"summary": "All New Horizons fish",
"description": "Get a list of all fish and their details in *New Horizons*. Note that while cached, this endpoint will be very responsive; however, hitting the endpoint in between cache refreshes can result in a response time of 5 to 15 seconds.",
"description": "Get a list of all fish and their details in *New Horizons*.",
"parameters": [
{
"in": "header",
Expand Down Expand Up @@ -276,7 +276,7 @@
"schema": {
"type": "integer"
},
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. This parameter is generally not recommended unless you absolutely need it, as each returned thumbnail link with a custom size requires an additional network call, which can result in a long response time if calling this endpoint in between cache refreshes."
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. Note that requesting specific image sizes for long lists may result in a very long response time."
}
],
"responses": {
Expand Down Expand Up @@ -406,7 +406,7 @@
"/nh/bugs": {
"get": {
"summary": "All New Horizons bugs",
"description": "Get a list of all bugs and their details in *Animal Crossing: New Horizons*. Note that while cached, this endpoint will be very responsive; however, hitting the endpoint in between cache refreshes can result in a response time of 5 to 15 seconds.",
"description": "Get a list of all bugs and their details in *Animal Crossing: New Horizons*.",
"parameters": [
{
"in": "header",
Expand Down Expand Up @@ -452,7 +452,7 @@
"schema": {
"type": "integer"
},
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. This parameter is generally not recommended unless you absolutely need it, as each returned thumbnail link with a custom size requires an additional network call, which can result in a long response time if calling this endpoint in between cache refreshes."
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. Note that requesting specific image sizes for long lists may result in a very long response time."
}
],
"responses": {
Expand Down Expand Up @@ -582,7 +582,7 @@
"/nh/sea": {
"get": {
"summary": "All New Horizons sea creatures",
"description": "Get a list of all sea creatures and their details in *Animal Crossing: New Horizons*. Note that while cached, this endpoint will be very responsive; however, hitting the endpoint in between cache refreshes can result in a response time of 5 to 15 seconds.",
"description": "Get a list of all sea creatures and their details in *Animal Crossing: New Horizons*.",
"parameters": [
{
"in": "header",
Expand Down Expand Up @@ -628,7 +628,7 @@
"schema": {
"type": "integer"
},
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. This parameter is generally not recommended unless you absolutely need it, as each returned thumbnail link with a custom size requires an additional network call, which can result in a long response time if calling this endpoint in between cache refreshes."
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. Note that requesting specific image sizes for long lists may result in a very long response time."
}
],
"responses": {
Expand Down Expand Up @@ -804,7 +804,7 @@
"schema": {
"type": "integer"
},
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. This parameter is generally not recommended unless you absolutely need it, as each returned thumbnail link with a custom size requires an additional network call, which can result in a long response time if calling this endpoint in between cache refreshes."
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. Note that requesting specific image sizes for long lists may result in a very long response time."
}
],
"responses": {
Expand Down Expand Up @@ -884,7 +884,7 @@
"schema": {
"type": "integer"
},
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. This parameter is generally not recommended unless you absolutely need it, as each returned thumbnail link with a custom size requires an additional network call, which can result in a long response time if calling this endpoint in between cache refreshes."
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL."
}
],
"responses": {
Expand Down Expand Up @@ -970,7 +970,7 @@
"schema": {
"type": "integer"
},
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. This parameter is generally not recommended unless you absolutely need it, as each returned thumbnail link with a custom size requires an additional network call, which can result in a long response time if calling this endpoint in between cache refreshes."
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. Note that requesting specific image sizes for long lists may result in a very long response time."
}
],
"responses": {
Expand Down Expand Up @@ -1050,7 +1050,7 @@
"schema": {
"type": "integer"
},
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL. This parameter is generally not recommended unless you absolutely need it, as each returned thumbnail link with a custom size requires an additional network call, which can result in a long response time if calling this endpoint in between cache refreshes."
"description": "Specify the desired width of returned image URLs. When unspecified, the linked image(s) returned by the API will be full-resolution. Note that images can only be reduced in size; specifying a width greater than than the maximum size will return the default full-size image URL."
}
],
"responses": {
Expand Down
60 changes: 17 additions & 43 deletions static/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,8 @@ paths:
the linked image(s) returned by the API will be full-resolution.
Note that images can only be reduced in size; specifying a width
greater than than the maximum size will return the default full-size
image URL. When asking for a large list of villagers, this parameter
is generally not recommended as the generation of each custom-sized
thumbnail requires an additional network call to generate, which can
result in a very long response time.
image URL. Note that requesting specific image sizes for long lists
may result in a very long response time.
responses:
'200':
description: A JSON array of villagers.
Expand Down Expand Up @@ -230,11 +228,7 @@ paths:
/nh/fish:
get:
summary: All New Horizons fish
description: >-
Get a list of all fish and their details in *New Horizons*. Note that
while cached, this endpoint will be very responsive; however, hitting
the endpoint in between cache refreshes can result in a response time of
5 to 15 seconds.
description: Get a list of all fish and their details in *New Horizons*.
parameters:
- in: header
name: X-API-KEY
Expand Down Expand Up @@ -291,10 +285,8 @@ paths:
the linked image(s) returned by the API will be full-resolution.
Note that images can only be reduced in size; specifying a width
greater than than the maximum size will return the default full-size
image URL. This parameter is generally not recommended unless you
absolutely need it, as each returned thumbnail link with a custom
size requires an additional network call, which can result in a long
response time if calling this endpoint in between cache refreshes.
image URL. Note that requesting specific image sizes for long lists
may result in a very long response time.
responses:
'200':
description: A JSON array of fish.
Expand Down Expand Up @@ -390,9 +382,7 @@ paths:
summary: All New Horizons bugs
description: >-
Get a list of all bugs and their details in *Animal Crossing: New
Horizons*. Note that while cached, this endpoint will be very
responsive; however, hitting the endpoint in between cache refreshes can
result in a response time of 5 to 15 seconds.
Horizons*.
parameters:
- in: header
name: X-API-KEY
Expand Down Expand Up @@ -449,10 +439,8 @@ paths:
the linked image(s) returned by the API will be full-resolution.
Note that images can only be reduced in size; specifying a width
greater than than the maximum size will return the default full-size
image URL. This parameter is generally not recommended unless you
absolutely need it, as each returned thumbnail link with a custom
size requires an additional network call, which can result in a long
response time if calling this endpoint in between cache refreshes.
image URL. Note that requesting specific image sizes for long lists
may result in a very long response time.
responses:
'200':
description: A JSON array of bugs.
Expand Down Expand Up @@ -548,9 +536,7 @@ paths:
summary: All New Horizons sea creatures
description: >-
Get a list of all sea creatures and their details in *Animal Crossing:
New Horizons*. Note that while cached, this endpoint will be very
responsive; however, hitting the endpoint in between cache refreshes can
result in a response time of 5 to 15 seconds.
New Horizons*.
parameters:
- in: header
name: X-API-KEY
Expand Down Expand Up @@ -608,10 +594,8 @@ paths:
the linked image(s) returned by the API will be full-resolution.
Note that images can only be reduced in size; specifying a width
greater than than the maximum size will return the default full-size
image URL. This parameter is generally not recommended unless you
absolutely need it, as each returned thumbnail link with a custom
size requires an additional network call, which can result in a long
response time if calling this endpoint in between cache refreshes.
image URL. Note that requesting specific image sizes for long lists
may result in a very long response time.
responses:
'200':
description: A JSON array of sea creatures.
Expand Down Expand Up @@ -756,10 +740,8 @@ paths:
the linked image(s) returned by the API will be full-resolution.
Note that images can only be reduced in size; specifying a width
greater than than the maximum size will return the default full-size
image URL. This parameter is generally not recommended unless you
absolutely need it, as each returned thumbnail link with a custom
size requires an additional network call, which can result in a long
response time if calling this endpoint in between cache refreshes.
image URL. Note that requesting specific image sizes for long lists
may result in a very long response time.
responses:
'200':
description: A JSON array of artwork.
Expand Down Expand Up @@ -824,10 +806,7 @@ paths:
the linked image(s) returned by the API will be full-resolution.
Note that images can only be reduced in size; specifying a width
greater than than the maximum size will return the default full-size
image URL. This parameter is generally not recommended unless you
absolutely need it, as each returned thumbnail link with a custom
size requires an additional network call, which can result in a long
response time if calling this endpoint in between cache refreshes.
image URL.
responses:
'200':
description: A JSON object describing the artwork.
Expand Down Expand Up @@ -902,10 +881,8 @@ paths:
the linked image(s) returned by the API will be full-resolution.
Note that images can only be reduced in size; specifying a width
greater than than the maximum size will return the default full-size
image URL. This parameter is generally not recommended unless you
absolutely need it, as each returned thumbnail link with a custom
size requires an additional network call, which can result in a long
response time if calling this endpoint in between cache refreshes.
image URL. Note that requesting specific image sizes for long lists
may result in a very long response time.
responses:
'200':
description: A JSON array of recipes.
Expand Down Expand Up @@ -970,10 +947,7 @@ paths:
the linked image(s) returned by the API will be full-resolution.
Note that images can only be reduced in size; specifying a width
greater than than the maximum size will return the default full-size
image URL. This parameter is generally not recommended unless you
absolutely need it, as each returned thumbnail link with a custom
size requires an additional network call, which can result in a long
response time if calling this endpoint in between cache refreshes.
image URL.
responses:
'200':
description: A JSON object describing the recipe.
Expand Down

0 comments on commit 962666a

Please sign in to comment.