Custom Resume

Custom Resume · GPT-Aktionen

Resume generation API

API for generating resume pdfs from the user input.

  • POST /apiCreateResume

    Create a new resume

Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "Resume generation API",
    "description": "API for generating resume pdfs from the user input.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://jobdraft.ai/"
    }
  ],
  "paths": {
    "/api": {
      "post": {
        "description": "Create a new resume",
        "operationId": "CreateResume",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResumeGeneration"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Resume successfully created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid input data"
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {
      "ResumeGeneration": {
        "type": "object",
        "required": [
          "password",
          "isEducationExtensive",
          "contactInformation"
        ],
        "properties": {
          "password": {
            "description": "Password for the resume.",
            "type": "string",
            "format": "password"
          },
          "isEducationExtensive": {
            "description": "Whether the user needs and extensive education part, because he lacks of professional experience.",
            "type": "boolean"
          },
          "contactInformation": {
            "type": "object",
            "properties": {
              "firstName": {
                "type": "string"
              },
              "lastName": {
                "type": "string"
              },
              "email": {
                "type": "string",
                "format": "email"
              },
              "websiteUrl": {
                "type": "string",
                "format": "string"
              },
              "phoneNumber": {
                "type": "string",
                "format": "string"
              }
            },
            "required": [
              "firstName",
              "lastName",
              "email"
            ]
          },
          "coreCompetencies": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "certifications": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "date": {
                  "type": "string",
                  "format": "date"
                }
              }
            }
          },
          "experiences": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "organization": {
                  "type": "string"
                },
                "location": {
                  "type": "string"
                },
                "positions": {
                  "type": "object",
                  "properties": {
                    "positionTitle": {
                      "type": "string"
                    },
                    "startDate": {
                      "type": "string",
                      "format": "date"
                    },
                    "endDate": {
                      "type": "string",
                      "format": "date"
                    },
                    "bulletPoints": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "volunteerExperiences": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "startDate": {
                  "type": "string",
                  "format": "date"
                },
                "endDate": {
                  "type": "string",
                  "format": "date"
                }
              }
            }
          },
          "publications": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "date": {
                  "type": "string",
                  "format": "date"
                }
              }
            }
          },
          "educations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "educationType": {
                  "type": "string"
                },
                "isCurrent": {
                  "type": "boolean"
                },
                "nameOfInstitution": {
                  "type": "string"
                },
                "degree": {
                  "type": "string"
                },
                "startDate": {
                  "type": "string",
                  "format": "date"
                },
                "graduationDate": {
                  "type": "string",
                  "format": "date"
                },
                "gpa": {
                  "type": "number"
                },
                "thesis": {
                  "type": "string"
                },
                "bulletPoints": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}