My Next Job

My Next Job · GPT Actions

Job Search API

API for interfacing for Job Search

  • GET /searchsearchJobOffers

    Allows users to search for available job offers by various criteria.

Original API schema
{
  "openapi": "3.0",
  "info": {
    "description": "API for interfacing for Job Search",
    "title": "Job Search API",
    "contact": {
      "name": "Admin",
      "email": "feedback@nextjob.today"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://nextjob.today/api"
    }
  ],
  "paths": {
    "/search": {
      "get": {
        "operationId": "searchJobOffers",
        "description": "Allows users to search for available job offers by various criteria.",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "The search query string for the job offer",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page number for pagination",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Number of items per page",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/JobOffer"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Incorrect request"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Server error"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "JobOffer": {
        "type": "object",
        "properties": {
          "LanguageID": {
            "type": "string"
          },
          "Title": {
            "type": "string"
          },
          "CountryName": {
            "type": "string"
          },
          "Description": {
            "type": "string"
          },
          "HowToApply": {
            "type": "string"
          },
          "Skills": {
            "type": "string"
          },
          "EasyApplyUrl": {
            "type": "string"
          },
          "JobTypeTitle": {
            "type": "string"
          },
          "CurrencyID": {
            "type": "string"
          },
          "SalaryMin": {
            "type": "number"
          },
          "SalaryMax": {
            "type": "number"
          },
          "CompanyName": {
            "type": "string"
          }
        }
      }
    }
  }
}