All URIs are relative to https://openapi.etsy.com
| Method | HTTP request | Description |
|---|---|---|
| ping | GET /v3/application/openapi-ping | |
| tokenScopes | POST /v3/application/scopes |
Pong ping()
<div class=\"wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3\"><span class=\"wt-badge wt-badge–notificationPrimary wt-bg-slime-tint wt-mr-xs-2\">General Release</span><a class=\"wt-text-link\" href=\"https://github.com/etsy/open-api/discussions\" target=\"_blank\" rel=\"noopener noreferrer\">Report bug</a></div><div class=\"wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3\"><p class=\"wt-text-body-01 banner-text\">This endpoint is ready for production use.</p></div> Check to confirm connectivity to the Etsy API with an application
// Import classes:
//import com.etsy.infrastructure.*
//import com.etsy.models.*
val apiInstance = OtherApi()
try {
val result : Pong = apiInstance.ping()
println(result)
} catch (e: ClientException) {
println("4xx response calling OtherApi#ping")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling OtherApi#ping")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure api_key: ApiClient.apiKey[“x-api-key”] = “” ApiClient.apiKeyPrefix[“x-api-key”] = “”
kotlin.String tokenScopes(token)
<div class=\"wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3\"><span class=\"wt-badge wt-badge–notificationPrimary wt-bg-slime-tint wt-mr-xs-2\">General Release</span><a class=\"wt-text-link\" href=\"https://github.com/etsy/open-api/discussions\" target=\"_blank\" rel=\"noopener noreferrer\">Report bug</a></div><div class=\"wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3\"><p class=\"wt-text-body-01 banner-text\">This endpoint is ready for production use.</p></div> Check the scopes of the provided token
// Import classes:
//import com.etsy.infrastructure.*
//import com.etsy.models.*
val apiInstance = OtherApi()
val token : kotlin.String = token_example // kotlin.String |
try {
val result : kotlin.String = apiInstance.tokenScopes(token)
println(result)
} catch (e: ClientException) {
println("4xx response calling OtherApi#tokenScopes")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling OtherApi#tokenScopes")
e.printStackTrace()
}
| Name | Type | Description | Notes | | ————- | ————- | ————- | ————- | | token | kotlin.String| | |
kotlin.String
Configure api_key: ApiClient.apiKey[“x-api-key”] = “” ApiClient.apiKeyPrefix[“x-api-key”] = “”