Fetch all job posts
Changed onFetches all job posts with optional pagination.
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The page number for pagination
The number of items per page
Response
A list of paginated job posts
Example response
[
{
"id": "01910544-d1e1-7ada-bdac-c761e527ec91",
"title": "Junior Backend intern",
"salary_range": "500,000 NGN",
"job_type": "internship",
"location": "San Francisco, CA",
"deadline": "2024-12-31T23:59:59Z",
"job_mode": "remote",
"experience_level": "0-2 years",
"how_to_apply": "Submit your resume and cover letter to hr@company.com",
"benefits": "Flexible hours, Remote work, Health insurance",
"company_name": "Tech Innovators",
"description": "We are looking for a passionate Software Engineer Intern to join our team. You will be working on exciting projects and gain hands-on experience.",
"key_responsibilities": "Develop and maintain web applications, Collaborate with the team on various projects, Participate in code reviews",
"qualifications": "Expert with GIT",
"created_at": "2024-07-30T21:11:21.9538358+01:00",
"updated_at": "2024-07-30T21:11:21.9538358+01:00"
}
]Changes
- warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added the non-success response with the status
- info
removed the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning
- warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added the non-success response with the status
- info
removed the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning