Casey's Meta-description Generator
Casey's Meta-description Generator · GPT-Aktionen
WordPress Email Checker API
This API allows checking if an email is associated with a user in WordPress and logs the request with rate limiting.
GET /emailchecker/v1/check-email/Check if an email is associated with a userThis endpoint checks if a given email address is associated with a WordPress user. It logs each request and imposes rate limiting.
Ursprüngliches API-Schema
{
"openapi": "3.1.0",
"info": {
"title": "WordPress Email Checker API",
"description": "This API allows checking if an email is associated with a user in WordPress and logs the request with rate limiting.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://caseykeith.me/wp-json",
"description": "Main WordPress API server"
}
],
"paths": {
"/emailchecker/v1/check-email/": {
"get": {
"operationId": "checkEmail",
"summary": "Check if an email is associated with a user",
"description": "This endpoint checks if a given email address is associated with a WordPress user. It logs each request and imposes rate limiting.\n",
"parameters": [
{
"name": "email",
"in": "query",
"required": true,
"description": "The email address to check.",
"schema": {
"$ref": "#/components/schemas/Email"
}
}
],
"responses": {
"200": {
"description": "Email is valid and associated with a user.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponse"
}
}
}
},
"400": {
"description": "Invalid email provided.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "Email is valid but not associated with any user.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponse"
}
}
}
},
"429": {
"description": "Rate limit exceeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
}
},
"security": [
{
"BasicAuth": []
}
],
"components": {
"securitySchemes": {
"BasicAuth": {
"type": "http",
"scheme": "basic"
}
},
"schemas": {
"Email": {
"type": "string",
"format": "email"
},
"UserResponse": {
"type": "object",
"properties": {
"status": {
"type": "string",
"example": "success"
},
"message": {
"type": "string",
"example": "Email found"
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"Error": {
"type": "object",
"properties": {
"status": {
"type": "string",
"example": "invalid_email"
},
"message": {
"type": "string",
"example": "Invalid email provided"
}
}
}
}
}
}