-
-
Save jhyland87/d1bb08b71af0539bde45710f73e42b29 to your computer and use it in GitHub Desktop.
Fuzzy wuzzy had an API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
function apicheck { | |
local base_url="${1?No URL provided}" | |
mapfile -t entrypoints < ./entrypoints.list | |
for p in ${entrypoints[@]}; do | |
full_url="${base_url}${p}" | |
printf "\r\033[K${full_url} " #\033[A | |
response_code=$(curl \ | |
--expect100-timeout 5 \ | |
--max-time 5 \ | |
--connect-timeout 5 \ | |
-Isw "%{http_code}" "${full_url}" -o /dev/null) | |
printf $response_code | |
[[ $response_code != 404 ]] && echo | |
done | |
echo | |
} | |
apicheck "$1" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/swagger-ui.html | |
/swagger-ui/ | |
/swagger-ui/index.html | |
/api-docs | |
/v2/api-docs | |
/v3/api-docs | |
/swagger.json | |
/openapi.json | |
/api/swagger.json | |
/docs | |
/api/rest/openapi | |
/api/rest/openapi.json | |
/api/rest/v1/openapi.json | |
/api/rest/v2/openapi.json | |
/api/rest/v3/openapi.json | |
/api/rest/swagger-ui/v1/ | |
/api/rest/swagger-ui/v2/ | |
/api/rest/swagger-ui/v3/ | |
/api/rest/swagger-ui.html | |
/api/rest/swagger-ui/ | |
/swagger/v1/swagger.json | |
/swagger/v2/swagger.json | |
/swagger/v3/swagger.json | |
/api/rest/swagger/v1/swagger.json | |
/api/rest/swagger/v2/swagger.json | |
/api/rest/swagger/v3/swagger.json | |
/api/rest/application.wadl | |
/api/application.wadl | |
/rest/application.wadl | |
/v6/nonces | |
/v4/domains/validation | |
/v4/feature-configs | |
/v4/links/ABC123 | |
/v3/bootstrap | |
/v3/experiments | |
/v3/health | |
/v3/logging/mobile/logs | |
/v3/status | |
/v3/version | |
/v4/consumables | |
/v4/consumables/BOOST | |
/v4/consumables/boost/report | |
/v4/store/products | |
/v4/store/products/consumables | |
/v4/store/products/com.grindr.productId | |
/v4/store/status | |
/v3.1/store/grindrstore/coupons | |
/v3.1/store/itunes/purchases | |
/v3.1/store/itunes/purchases/restorations | |
/v3.1/store/googleplay/purchases | |
/v3.1/store/googleplay/purchases/restorations | |
/v3.1/store/itunes/events | |
/v3.1/store/products/com.grindr.product | |
/v3/stripe/events | |
/api-docs | |
/swagger | |
/swagger/index.html | |
/api/rest/api-docs | |
/api/rest/swagger.json | |
/products | |
/api/products | |
/openapi/ | |
/openapi/v1/ | |
/openapi/v2/ | |
/openapi/v3/ | |
/api/v1/swagger.json | |
/api/v2/swagger.json | |
/api/v3/swagger.json | |
/documentation | |
/documentation/swagger | |
/documentation/openapi | |
/swagger/docs/v1 | |
/swagger/docs/v2 | |
/swagger/docs/v3 | |
/swagger-ui.html#/ | |
/swagger-ui/index.html#/ | |
/openapi/ui | |
/swagger-ui/v1/ | |
/swagger-ui/v2/ | |
/swagger-ui/v3/ | |
/api/swagger-ui.html | |
/api/swagger-ui/ | |
/api/documentation | |
/v1/documentation | |
/v2/documentation | |
/v3/documentation | |
/swagger-resources | |
/swagger-resources/configuration/ui | |
/swagger-resources/configuration/security | |
/swagger-resources/swagger.json | |
/swagger-resources/openapi.json | |
/swagger-ui/swagger-ui.html | |
/swagger-ui/swagger-ui/ | |
/swagger-ui.html/swagger-resources | |
/swagger-ui.html/swagger-resources/configuration/ui | |
/swagger-ui.html/swagger-resources/configuration/security | |
/api/swagger-resources | |
/api/swagger-resources/configuration/ui | |
/api/swagger-resources/configuration/security | |
/api/swagger-resources/swagger.json | |
/api/swagger-resources/openapi.json | |
/api/rest/swagger-resources | |
/api/rest/swagger-resources/configuration/ui | |
/api/rest/swagger-resources/configuration/security | |
/api/rest/swagger-resources/swagger.json | |
/api/rest/swagger-resources/openapi.json | |
/swagger/v1/ | |
/swagger/v2/ | |
/swagger/v3/ | |
/swagger-ui/v1/swagger.json | |
/swagger-ui/v2/swagger.json | |
/swagger-ui/v3/swagger.json | |
/api/swagger-ui/v1/ | |
/api/swagger-ui/v2/ | |
/api/swagger-ui/v3/ | |
/openapi/swagger.json | |
/openapi/openapi.json | |
/api/openapi | |
/api/openapi.json | |
/api/v1/openapi.json | |
/api/v2/openapi.json | |
/api/v3/openapi.json | |
/swagger.yaml | |
/openapi.yaml | |
/swagger.yml | |
/openapi.yml | |
/v1/swagger.yaml | |
/v2/swagger.yaml | |
/v3/swagger.yaml | |
/v1/openapi.yaml | |
/v2/openapi.yaml | |
/v3/openapi.yaml | |
/swagger/api | |
/openapi/api | |
/swagger/api-docs | |
/openapi/api-docs | |
/swagger/api/swagger.json | |
/openapi/api/openapi.json | |
/swagger/api/v1/swagger.json | |
/swagger/api/v2/swagger.json | |
/swagger/api/v3/swagger.json | |
/openapi/api/v1/openapi.json | |
/openapi/api/v2/openapi.json | |
/openapi/api/v3/openapi.json | |
/swagger/api/swagger.yaml | |
/swagger/api/swagger.yml | |
/openapi/api/openapi.yaml | |
/openapi/api/openapi.yml | |
/rest | |
/wadl/bookStore.wadl | |
/rest/wadl/bookStore.wadl | |
/application?_wadl | |
/_api/wix-ecommerce-storefront-web/api | |
/getresults | |
/wp-json/wp | |
/wp-json/wp/v1 | |
/wp-json/wp/v2 | |
/wp-json/wc/v3 | |
/wp-json/jetpack/v4 | |
/wp-json/wc/asp/v1 | |
/wp-json/wp-site-health/v1 | |
/api | |
/api/graphql.json | |
/api/unstable/graphql.json | |
/shoppingCartPage.action | |
/getPriceDetailPage.action | |
/searchPage.action | |
/api/storefront/carts | |
/api/storefront/cart-summary | |
/checkout/ajaxCart | |
/appsec/v1/applications | |
/web.xml | |
/api/timestamp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment