Resume and Cover Letter Builder by Person Bio

Resume and Cover Letter Builder by Person Bio · GPT アクション

CV and User Management API

API for managing user registrations, updating and retrieving resumes, and submitting CVs and cover letters.

  • POST /kh_ultimo/v1/register_userRegister a new user.
  • POST /cv/v1/update_resumeUpdate an existing resume.
  • POST /cv/v1/get-resumeRetrieve a resume.
  • POST /cv/v1/addCreate a CV and cover letter, the email is referring to hiring manager email and the cv_content is the CV and cover letter content in HTML format.
元の API スキーマ
{
  "openapi": "3.0.0",
  "info": {
    "title": "CV and User Management API",
    "version": "1.0.0",
    "description": "API for managing user registrations, updating and retrieving resumes, and submitting CVs and cover letters."
  },
  "servers": [
    {
      "url": "https://person.bio/wp-json",
      "description": "Central API for user and CV management"
    }
  ],
  "paths": {
    "/kh_ultimo/v1/register_user": {
      "post": {
        "summary": "Register a new user.",
        "operationId": "registerUser",
        "tags": [
          "User Management"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "username": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string",
                    "format": "email"
                  },
                  "subdomain": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "User registered successfully."
          },
          "400": {
            "description": "Bad request or validation error."
          }
        }
      }
    },
    "/cv/v1/update_resume": {
      "post": {
        "summary": "Update an existing resume.",
        "operationId": "updateResume",
        "tags": [
          "CV Management"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResumeData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Resume updated successfully."
          },
          "400": {
            "description": "Bad request or validation error."
          }
        }
      }
    },
    "/cv/v1/get-resume": {
      "post": {
        "summary": "Retrieve a resume.",
        "operationId": "getResume",
        "tags": [
          "CV Management"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "resume_url": {
                    "type": "string"
                  },
                  "secretword": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Resume retrieved successfully."
          },
          "400": {
            "description": "Bad request or validation error."
          }
        }
      }
    },
    "/cv/v1/add": {
      "post": {
        "summary": "Create a CV and cover letter, the email is referring to hiring manager email and the cv_content is the CV and cover letter content in HTML format.",
        "operationId": "createCVandCoverLetter",
        "tags": [
          "CV Management"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "resume_url": {
                    "type": "string"
                  },
                  "secretword": {
                    "type": "string"
                  },
                  "cv_title": {
                    "type": "string"
                  },
                  "joblink": {
                    "type": "string"
                  },
                  "jobdescription": {
                    "type": "string"
                  },
                  "jobcompany": {
                    "type": "string"
                  },
                  "email_to": {
                    "type": "string",
                    "format": "email"
                  },
                  "cv_content": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "CV and cover letter created successfully."
          },
          "400": {
            "description": "Bad request or validation error."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ResumeData": {
        "type": "object",
        "properties": {
          "resume_url": {
            "type": "string"
          },
          "secretword": {
            "type": "string"
          },
          "full_name": {
            "type": "string"
          },
          "phone_number": {
            "type": "string"
          },
          "email_address": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "linkedin_profile": {
            "type": "string"
          },
          "resume_summary": {
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "references_available": {
            "type": "string"
          },
          "reference1_name": {
            "type": "string"
          },
          "reference1_contact": {
            "type": "string"
          },
          "reference2_name": {
            "type": "string"
          },
          "reference2_contact": {
            "type": "string"
          },
          "work_experiences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WorkExperience"
            }
          },
          "education_data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EducationData"
            }
          },
          "skills_data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SkillData"
            }
          },
          "projects_data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectData"
            }
          },
          "awards_data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AwardData"
            }
          },
          "volunteer_data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VolunteerData"
            }
          }
        }
      },
      "WorkExperience": {
        "type": "object",
        "properties": {
          "company": {
            "type": "string"
          },
          "job_title": {
            "type": "string"
          },
          "date_join": {
            "type": "string",
            "format": "date"
          },
          "date_end": {
            "type": "string",
            "format": "date"
          },
          "still_working_here": {
            "type": "integer"
          },
          "responsibilities_and_achievements": {
            "type": "string"
          }
        }
      },
      "EducationData": {
        "type": "object",
        "properties": {
          "institution": {
            "type": "string"
          },
          "degree": {
            "type": "string"
          },
          "graduation_date": {
            "type": "string",
            "format": "date"
          },
          "description": {
            "type": "string"
          }
        }
      },
      "SkillData": {
        "type": "object",
        "properties": {
          "skill_name": {
            "type": "string"
          },
          "proficiency": {
            "type": "string"
          }
        }
      },
      "ProjectData": {
        "type": "object",
        "properties": {
          "project_name": {
            "type": "string"
          },
          "project_url": {
            "type": "string"
          },
          "project_description": {
            "type": "string"
          }
        }
      },
      "AwardData": {
        "type": "object",
        "properties": {
          "award_title": {
            "type": "string"
          },
          "award_date": {
            "type": "string",
            "format": "date"
          },
          "award_description": {
            "type": "string"
          }
        }
      },
      "VolunteerData": {
        "type": "object",
        "properties": {
          "activity_name": {
            "type": "string"
          },
          "organization": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "description": {
            "type": "string"
          }
        }
      }
    }
  }
}