topcoder-info-mcp-agent / data /compact_api_specs.py
abhishekrn's picture
refactor: restructure project and add comprehensive gitignore
6b02c16
# Generated compact API specs from MCP catalog
# Only includes working tools and resources
COMPACT_API_SPECS = {
"query-tc-skills": {
"description": "Returns a list of standardized skills from Topcoder platform, filtered and sorted based on the provided parameters.",
"parameters": {
"name": "Filter by skill names, exact match. Array of string. Optional",
"skillId": "Filter by skill IDs, exact match. Array of string. Optional",
"sortBy": "Sort skills by a specific field. Type: string. Optional. Valid values: \\\"name\\\", \\\"description\\\", \\\"created_at\\\", \\\"updated_at\\\"",
"sortOrder": "Sort order. Type: string. Optional. Valid values: \\\"ASC\\\", \\\"DESC\\\"",
"page": "Page number for pagination, starting from 1. Type: number. Optional. Default: 1",
"perPage": "Number of standardized skills per page, between 1 and 100. Type: number. Optional. Default: 20"
}
},
"query-tc-challenges": {
"description": "Returns a list of Topcoder challenges based on the query parameters.",
"parameters": {
"id": "Filter by challenge ID, exact match. Type: string. Optional",
"status": "Filter by challenge status. Type: string. Optional. Valid values: \\\"New\\\", \\\"Draft\\\", \\\"Cancelled\\\", \\\"Active\\\", \\\"Completed\\\", \\\"Deleted\\\", \\\"Cancelled - Failed Review\\\", \\\"Cancelled - Failed Screening\\\"... (and 5 more)",
"type": "Filter by type abbreviation, exact match. Type: string. Optional",
"track": "Filter by track, case-insensitive, partial matches are allowed. Type: string. Optional",
"tag": "Filter by tag name, case-insensitive, partial matches are allowed. Type: string. Optional",
"tags": "Filter by multiple tag names, case-insensitive, partial matches are allowed. Array of string. Optional",
"search": "Filter by name, description and tags fields, case-insensitive, partial matches are allowed. Type: string. Optional",
"startDateStart": "Filter by start date (lower bound of date range, ISO format). Type: string. Optional",
"startDateEnd": "Filter by start date (upper bound of date range, ISO format). Type: string. Optional",
"currentPhaseName": "Filter by current phase name. Type: string. Optional",
"sortBy": "Sort challenges by a specific field. Type: string. Optional. Valid values: \\\"updatedBy\\\", \\\"updated\\\", \\\"createdBy\\\", \\\"created\\\", \\\"endDate\\\", \\\"startDate\\\", \\\"projectId\\\", \\\"name\\\"... (and 5 more)",
"sortOrder": "Sort order. Type: string. Optional. Valid values: \\\"asc\\\", \\\"desc\\\"",
"totalPrizesFrom": "Filter by the lowest amount of total prizes on the challenge. Type: number. Optional",
"totalPrizesTo": "Filter by the highest amount of total prizes on the challenge. Type: number. Optional",
"createdBy": "Filter by the user who created the challenge. Type: string. Optional",
"page": "Page number for pagination, starting from 1. Type: number. Optional. Default: 1",
"perPage": "Number of challenges per page, between 1 and 100. Type: number. Optional. Default: 20"
}
},
"Member_V6_API_Swagger": {
"description": "Topcoder Member API: Services that provide access and interaction with all sorts of member profile details. # Pagination - Requests that return multiple items will be pa...",
"total_endpoints": 20,
"key_endpoints": [
{
"path": "/members",
"method": "GET",
"full_url": "https://api.topcoder.com/v5/members",
"description": "Available parameters: userId, userIds, handle, handles, handleLower, handlesLower, sort, fields",
"parameters": {
"userId": "filter by userId. Type: string. Location: query. Optional",
"userIds": "filter by userIds. Example - [userId1,userId2,userId3,...,userIdN]. Type: string. Location: query. Optional",
"handle": "filter by handle. This will return like search.. Type: string. Location: query. Optional",
"handles": "filter by handles. This will return like search. Example - [\\\"handle1\\\",\\\"handle2\\\",\\\"handle3\\\",...,\\\"handleN\\\"]. Type: string. Location: query. Optional",
"handleLower": "filter by handle. This will return an exact search.. Type: string. Location: query. Optional",
"handlesLower": "filter by handles. This will return an exact search. Example - [\\\"handle1\\\",\\\"handle2\\\",\\\"handle3\\\",...,\\\"handleN\\\"]. Type: string. Location: query. Optional",
"sort": "sort by asc or desc. Type: string. Location: query. Optional",
"fields": "fields=fieldName1,fieldName2,...,fieldN parameter for choosing which fields of members profile that will be included in response.. Type: string. Location: query. Optional"
}
}
],
"base_url": "https://api.topcoder.com/v5"
}
}