{"files":{"SKILL.md":"---\nname: aftermarket-api\ndescription: \"Aftermarket API skill. Use when working with Aftermarket for customers, aftermarket. Covers 3 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Aftermarket API\nAPI version: 1.0.0\n\n## Auth\nNo authentication required.\n\n## Base URL\nNot specified.\n\n## Setup\n1. No auth setup needed\n2. GET /v1/customers/{customerId}/auctions/listings -- verify access\n3. POST /v1/aftermarket/listings/expiry -- create first expiry\n\n## Endpoints\n\n3 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### customers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /v1/customers/{customerId}/auctions/listings | Get listings from GoDaddy Auctions |\n\n### aftermarket\n| Method | Path | Description |\n|--------|------|-------------|\n| DELETE | /v1/aftermarket/listings | Remove listings from GoDaddy Auction |\n| POST | /v1/aftermarket/listings/expiry | Add expiry listings into GoDaddy Auction |\n\n## Common Questions\n\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all listings?\" -> GET /v1/customers/{customerId}/auctions/listings\n- \"Create a expiry?\" -> POST /v1/aftermarket/listings/expiry\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- List endpoints may support pagination; check for limit, offset, or cursor params\n- Create/update endpoints typically return the created/updated object\n\n## CLI\n\n```bash\n# Update this spec to the latest version\nnpx @lap-platform/lapsh get aftermarket-api -o references/api-spec.lap\n\n# Search for related APIs\nnpx @lap-platform/lapsh search aftermarket-api\n```\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Aftermarket API\n@version 1.0.0\n@endpoints 3\n@toc customers(1), aftermarket(2)\n\n@group customers\n@endpoint GET /v1/customers/{customerId}/auctions/listings\n@desc Get listings from GoDaddy Auctions\n@required {customerId: any # An identifier for a customer.}\n@optional {domains: any # Only include results for the specified domains. Use comma-separated string to include more than one domain. For example, `one.com,two.info,three.biz`, listingStatus: any # Only include results for the specified listing status., transferBefore: any # Domain transfer time before this time, ISO 8601, in UTC. Defaults to last day of the previous month if not provided. Applicable only for listings in `FULFILLED` listingStatus., transferAfter: any # Domain transfer time after this time, ISO 8601, in UTC. Defaults to first day of the previous month if not provided. Applicable only for listings in `FULFILLED` listingStatus., limit: any # Maximum number of items to return., offset: any # Number of results to skip for pagination.}\n@returns(200) Request was successful\n@errors {400: Request was malformed, 401: Authentication info not sent or invalid, 403: Authenticated user is not allowed access, 422: Required parameters must be specified in correct format, 429: Too many requests received within interval, 500: Internal server error}\n\n@endgroup\n\n@group aftermarket\n@endpoint DELETE /v1/aftermarket/listings\n@desc Remove listings from GoDaddy Auction\n@required {domains: any # A comma separated list of domain names}\n@returns(200) Request was successful\n@errors {400: Request was malformed, 401: Authentication info not sent or invalid, 403: Authenticated user is not allowed access, 422: Required parameters must be specified in correct format, 429: Too many requests received within interval, 500: Internal server error}\n\n@endpoint POST /v1/aftermarket/listings/expiry\n@desc Add expiry listings into GoDaddy Auction\n@required {expiryListings: [any] # An array of expiry listings to be loaded}\n@returns(200) Request was successful\n@errors {400: Request was malformed, 401: Authentication info not sent or invalid, 403: Authenticated user is not allowed access, 422: Required parameters must be specified in correct format<br>Too many Listings provided<br>Invalid Losing Registrar Id, 429: Too many requests received within interval, 500: Internal server error}\n\n@endgroup\n\n@end\n"}}