{"openapi":"3.1.0","info":{"title":"myads Developer API v1","version":"1.0.0","description":"Complete REST API specification and OAuth 2.0 authorization endpoints for third-party integrations and developer applications.","contact":{"name":"Developer Support","url":"https:\/\/ads.estaql.com\/developer"}},"servers":[{"url":"https:\/\/ads.estaql.com","description":"Production Server"}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","description":"Standard OAuth 2.0 Authorization Code Flow with PKCE support.","flows":{"authorizationCode":{"authorizationUrl":"https:\/\/ads.estaql.com\/oauth\/authorize","tokenUrl":"https:\/\/ads.estaql.com\/oauth\/token","refreshUrl":"https:\/\/ads.estaql.com\/oauth\/token","scopes":{"user.identity.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0647\u0648\u064a\u0629","user.profile.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0634\u062e\u0635\u064a","user.email.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a","user.social_links.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0631\u0648\u0627\u0628\u0637 \u0627\u0644\u0627\u062c\u062a\u0645\u0627\u0639\u064a\u0629","user.follows.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u062a\u0627\u0628\u0639\u0627\u062a","user.follows.write":"\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0645\u062a\u0627\u0628\u0639\u0627\u062a","user.content.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u062d\u062a\u0648\u0649 \u0648\u0627\u0644\u0645\u0646\u0634\u0648\u0631\u0627\u062a","user.content.write":"\u0646\u0634\u0631 \u0648\u062a\u0639\u062f\u064a\u0644 \u0627\u0644\u0645\u0646\u0634\u0648\u0631\u0627\u062a","user.reactions.write":"\u0627\u0644\u062a\u0641\u0627\u0639\u0644 \u0645\u0639 \u0627\u0644\u0645\u062d\u062a\u0648\u0649","user.comments.write":"\u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u062a\u0639\u0644\u064a\u0642\u0627\u062a","user.messages.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0631\u0633\u0627\u0626\u0644 \u0627\u0644\u062e\u0627\u0635\u0629","user.messages.write":"\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0631\u0633\u0627\u0626\u0644 \u0627\u0644\u062e\u0627\u0635\u0629","user.notifications.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0625\u0634\u0639\u0627\u0631\u0627\u062a","user.wallet.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u062d\u0641\u0638\u0629 \u0648\u0627\u0644\u0631\u0635\u064a\u062f","user.badges.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0623\u0648\u0633\u0645\u0629 \u0648\u0627\u0644\u0625\u0646\u062c\u0627\u0632\u0627\u062a","user.clips.read":"\u0642\u0631\u0627\u0621\u0629 \u0645\u0642\u0627\u0637\u0639 \u0627\u0644\u0641\u064a\u062f\u064a\u0648","user.clips.write":"\u0625\u062f\u0627\u0631\u0629 \u0645\u0642\u0627\u0637\u0639 \u0627\u0644\u0641\u064a\u062f\u064a\u0648 \u0627\u0644\u0645\u062d\u0641\u0648\u0638\u0629","user.forums.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u0646\u062a\u062f\u064a\u0627\u062a","user.forums.write":"\u0627\u0644\u0645\u0634\u0627\u0631\u0643\u0629 \u0641\u064a \u0627\u0644\u0645\u0646\u062a\u062f\u064a\u0627\u062a","user.store.read":"\u062a\u0635\u0641\u062d \u0627\u0644\u0645\u062a\u062c\u0631","user.orders.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0637\u0644\u0628\u0627\u062a \u0648\u0627\u0644\u0645\u0634\u062a\u0631\u064a\u0627\u062a","user.ads.read":"\u0642\u0631\u0627\u0621\u0629 \u0625\u062d\u0635\u0627\u0626\u064a\u0627\u062a \u0627\u0644\u0625\u0639\u0644\u0627\u0646\u0627\u062a","owner.profile.read":"\u0642\u0631\u0627\u0621\u0629 \u0645\u0644\u0641 \u0627\u0644\u0645\u0627\u0644\u0643","owner.content.read":"\u0642\u0631\u0627\u0621\u0629 \u0645\u062d\u062a\u0648\u0649 \u0627\u0644\u0645\u0627\u0644\u0643","owner.follow.write":"\u0627\u0644\u0645\u062a\u0627\u0628\u0639\u0629 \u0646\u064a\u0627\u0628\u0629 \u0639\u0646 \u0627\u0644\u0645\u0627\u0644\u0643","owner.messages.read":"\u0642\u0631\u0627\u0621\u0629 \u0631\u0633\u0627\u0626\u0644 \u0627\u0644\u0645\u0627\u0644\u0643","owner.messages.write":"\u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0626\u0644 \u0627\u0644\u0645\u0627\u0644\u0643"}}}},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT \/ PAT","description":"Personal Access Token or OAuth Access Token passed in the Authorization header."}}},"security":[{"OAuth2":[]},{"BearerAuth":[]}],"paths":{"\/oauth\/authorize":{"get":{"summary":"Request OAuth 2.0 Authorization Code","parameters":[{"name":"client_id","in":"query","required":true,"schema":{"type":"string"}},{"name":"redirect_uri","in":"query","required":true,"schema":{"type":"string","format":"uri"}},{"name":"response_type","in":"query","required":true,"schema":{"type":"string","enum":["code"]}},{"name":"scope","in":"query","required":true,"schema":{"type":"string"}},{"name":"state","in":"query","required":true,"schema":{"type":"string"}},{"name":"code_challenge","in":"query","required":false,"schema":{"type":"string"}},{"name":"code_challenge_method","in":"query","required":false,"schema":{"type":"string","enum":["S256","plain"]}}],"responses":{"200":{"description":"Consent screen rendered"},"302":{"description":"Redirect to callback URI with code or error"}}}},"\/oauth\/token":{"post":{"summary":"Exchange Authorization Code for Access & Refresh Tokens","requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"grant_type":{"type":"string","enum":["authorization_code","refresh_token"]},"client_id":{"type":"string"},"client_secret":{"type":"string"},"code":{"type":"string"},"redirect_uri":{"type":"string","format":"uri"},"code_verifier":{"type":"string"},"refresh_token":{"type":"string"}},"required":["grant_type","client_id"]}}}},"responses":{"200":{"description":"OAuth tokens returned successfully"},"400":{"description":"Invalid grant or verifier"},"401":{"description":"Invalid client credentials"}}}},"\/oauth\/revoke":{"post":{"summary":"RFC 7009 Token Revocation","requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"token":{"type":"string"},"token_type_hint":{"type":"string","enum":["access_token","refresh_token"]},"client_id":{"type":"string"},"client_secret":{"type":"string"}},"required":["token","client_id"]}}}},"responses":{"200":{"description":"Token revoked successfully"}}}},"\/api\/developer\/v1\/me":{"get":{"summary":"Get Authenticated Member Identity","security":[{"OAuth2":["user.identity.read"]},{"BearerAuth":[]}],"responses":{"200":{"description":"User identity details"},"401":{"description":"Unauthorized"},"403":{"description":"Insufficient scope"}}}},"\/api\/developer\/v1\/me\/profile":{"get":{"summary":"Get Authenticated Member Profile","security":[{"OAuth2":["user.profile.read"]},{"BearerAuth":[]}],"responses":{"200":{"description":"Profile details"}}}},"\/api\/developer\/v1\/me\/content":{"get":{"summary":"List Recent Member Posts","security":[{"OAuth2":["user.content.read"]},{"BearerAuth":[]}],"responses":{"200":{"description":"List of status posts"}}},"post":{"summary":"Create a New Community Post","security":[{"OAuth2":["user.content.write"]},{"BearerAuth":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"content":{"type":"string","maxLength":10000}},"required":["content"]}}}},"responses":{"200":{"description":"Post created successfully"}}}},"\/api\/developer\/v1\/me\/messages":{"get":{"summary":"List Recent Direct Messages","security":[{"OAuth2":["user.messages.read"]},{"BearerAuth":[]}],"responses":{"200":{"description":"Recent messages"}}},"post":{"summary":"Send Direct Message to Member","security":[{"OAuth2":["user.messages.write"]},{"BearerAuth":[]}],"responses":{"200":{"description":"Message sent successfully"}}}},"\/api\/developer\/v1\/me\/notifications":{"get":{"summary":"List Member Notifications & Unread Count","security":[{"OAuth2":["user.notifications.read"]},{"BearerAuth":[]}],"responses":{"200":{"description":"Notifications collection"}}}},"\/api\/developer\/v1\/me\/wallet":{"get":{"summary":"Retrieve Member Points (PTS) Balance","security":[{"OAuth2":["user.wallet.read"]},{"BearerAuth":[]}],"responses":{"200":{"description":"Points balance"}}}},"\/api\/developer\/v1\/store\/products":{"get":{"summary":"Browse Store Digital Products","security":[{"OAuth2":["user.store.read"]},{"BearerAuth":[]}],"responses":{"200":{"description":"Digital products collection"}}}},"\/api\/developer\/v1\/me\/orders":{"get":{"summary":"List Service Marketplace Orders","security":[{"OAuth2":["user.orders.read"]},{"BearerAuth":[]}],"responses":{"200":{"description":"Service orders"}}}}}}