Файловый менеджер - Редактировать - /home/easybachat/resumewing.com/resources/views/scribe/index.blade.php
Ðазад
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <title>JobClass API Documentation</title> <link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet"> <link rel="stylesheet" href="{{ asset("/vendor/scribe/css/theme-default.style.css") }}" media="screen"> <link rel="stylesheet" href="{{ asset("/vendor/scribe/css/theme-default.print.css") }}" media="print"> <script src="https://cdn.jsdelivr.net/npm/lodash@4.17.10/lodash.min.js"></script> <link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@11.6.0/styles/obsidian.min.css"> <script src="https://unpkg.com/@highlightjs/cdn-assets@11.6.0/highlight.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jets/0.14.1/jets.min.js"></script> <style id="language-style"> /* starts out as display none and is replaced with js later */ body .content .bash-example code { display: none; } body .content .javascript-example code { display: none; } body .content .php-example code { display: none; } body .content .python-example code { display: none; } </style> <script> var tryItOutBaseUrl = "https://jobclass.laraclassifier.local"; var useCsrf = Boolean(); var csrfUrl = "/sanctum/csrf-cookie"; </script> <script src="{{ asset("/vendor/scribe/js/tryitout-5.2.1.js") }}"></script> <script src="{{ asset("/vendor/scribe/js/theme-default-5.2.1.js") }}"></script> </head> <body data-languages="["bash","javascript","php","python"]"> <a href="#" id="nav-button"> <span> MENU <img src="{{ asset("/vendor/scribe/images/navbar.png") }}" alt="navbar-image"/> </span> </a> <div class="tocify-wrapper"> <img src="../storage/app/default/logo-api.png" alt="logo" class="logo" style="padding-top: 10px;" width="100%"/> <div class="lang-selector"> <button type="button" class="lang-button" data-language-name="bash">bash</button> <button type="button" class="lang-button" data-language-name="javascript">javascript</button> <button type="button" class="lang-button" data-language-name="php">php</button> <button type="button" class="lang-button" data-language-name="python">python</button> </div> <div class="search"> <input type="text" class="search" id="input-search" placeholder="Search"> </div> <div id="toc"> <ul id="tocify-header-introduction" class="tocify-header"> <li class="tocify-item level-1" data-unique="introduction"> <a href="#introduction">Introduction</a> </li> </ul> <ul id="tocify-header-authenticating-requests" class="tocify-header"> <li class="tocify-item level-1" data-unique="authenticating-requests"> <a href="#authenticating-requests">Authenticating requests</a> </li> </ul> <ul id="tocify-header-authentication" class="tocify-header"> <li class="tocify-item level-1" data-unique="authentication"> <a href="#authentication">Authentication</a> </li> <ul id="tocify-subheader-authentication" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="authentication-POSTapi-auth-login"> <a href="#authentication-POSTapi-auth-login">Log in</a> </li> <li class="tocify-item level-2" data-unique="authentication-GETapi-auth-logout--userId-"> <a href="#authentication-GETapi-auth-logout--userId-">Log out</a> </li> <li class="tocify-item level-2" data-unique="authentication-POSTapi-auth-password-reset"> <a href="#authentication-POSTapi-auth-password-reset">Reset password</a> </li> </ul> </ul> <ul id="tocify-header-captcha" class="tocify-header"> <li class="tocify-item level-1" data-unique="captcha"> <a href="#captcha">Captcha</a> </li> <ul id="tocify-subheader-captcha" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="captcha-GETapi-captcha"> <a href="#captcha-GETapi-captcha">Get CAPTCHA</a> </li> </ul> </ul> <ul id="tocify-header-categories" class="tocify-header"> <li class="tocify-item level-1" data-unique="categories"> <a href="#categories">Categories</a> </li> <ul id="tocify-subheader-categories" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="categories-GETapi-categories"> <a href="#categories-GETapi-categories">List categories</a> </li> <li class="tocify-item level-2" data-unique="categories-GETapi-categories--slugOrId-"> <a href="#categories-GETapi-categories--slugOrId-">Get category</a> </li> </ul> </ul> <ul id="tocify-header-companies" class="tocify-header"> <li class="tocify-item level-1" data-unique="companies"> <a href="#companies">Companies</a> </li> <ul id="tocify-subheader-companies" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="companies-GETapi-companies"> <a href="#companies-GETapi-companies">List companies</a> </li> <li class="tocify-item level-2" data-unique="companies-GETapi-companies--id-"> <a href="#companies-GETapi-companies--id-">Get company</a> </li> <li class="tocify-item level-2" data-unique="companies-POSTapi-companies"> <a href="#companies-POSTapi-companies">Store company</a> </li> <li class="tocify-item level-2" data-unique="companies-PUTapi-companies--id-"> <a href="#companies-PUTapi-companies--id-">Update company</a> </li> <li class="tocify-item level-2" data-unique="companies-DELETEapi-companies--ids-"> <a href="#companies-DELETEapi-companies--ids-">Delete company(ies)</a> </li> </ul> </ul> <ul id="tocify-header-contact" class="tocify-header"> <li class="tocify-item level-1" data-unique="contact"> <a href="#contact">Contact</a> </li> <ul id="tocify-subheader-contact" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="contact-POSTapi-contact"> <a href="#contact-POSTapi-contact">Send Form</a> </li> <li class="tocify-item level-2" data-unique="contact-POSTapi-posts--id--report"> <a href="#contact-POSTapi-posts--id--report">Report post</a> </li> <li class="tocify-item level-2" data-unique="contact-POSTapi-posts--id--sendByEmail"> <a href="#contact-POSTapi-posts--id--sendByEmail">Send Post by Email</a> </li> </ul> </ul> <ul id="tocify-header-countries" class="tocify-header"> <li class="tocify-item level-1" data-unique="countries"> <a href="#countries">Countries</a> </li> <ul id="tocify-subheader-countries" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="countries-GETapi-countries"> <a href="#countries-GETapi-countries">List countries</a> </li> <li class="tocify-item level-2" data-unique="countries-GETapi-countries--code-"> <a href="#countries-GETapi-countries--code-">Get country</a> </li> <li class="tocify-item level-2" data-unique="countries-GETapi-countries--countryCode--subAdmins1"> <a href="#countries-GETapi-countries--countryCode--subAdmins1">List admin. divisions (1)</a> </li> <li class="tocify-item level-2" data-unique="countries-GETapi-countries--countryCode--subAdmins2"> <a href="#countries-GETapi-countries--countryCode--subAdmins2">List admin. divisions (2)</a> </li> <li class="tocify-item level-2" data-unique="countries-GETapi-countries--countryCode--cities"> <a href="#countries-GETapi-countries--countryCode--cities">List cities</a> </li> <li class="tocify-item level-2" data-unique="countries-GETapi-subAdmins1--code-"> <a href="#countries-GETapi-subAdmins1--code-">Get admin. division (1)</a> </li> <li class="tocify-item level-2" data-unique="countries-GETapi-subAdmins2--code-"> <a href="#countries-GETapi-subAdmins2--code-">Get admin. division (2)</a> </li> <li class="tocify-item level-2" data-unique="countries-GETapi-cities--id-"> <a href="#countries-GETapi-cities--id-">Get city</a> </li> </ul> </ul> <ul id="tocify-header-home" class="tocify-header"> <li class="tocify-item level-1" data-unique="home"> <a href="#home">Home</a> </li> <ul id="tocify-subheader-home" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="home-GETapi-sections"> <a href="#home-GETapi-sections">List sections</a> </li> <li class="tocify-item level-2" data-unique="home-GETapi-sections--method-"> <a href="#home-GETapi-sections--method-">Get section</a> </li> </ul> </ul> <ul id="tocify-header-languages" class="tocify-header"> <li class="tocify-item level-1" data-unique="languages"> <a href="#languages">Languages</a> </li> <ul id="tocify-subheader-languages" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="languages-GETapi-languages"> <a href="#languages-GETapi-languages">List languages</a> </li> <li class="tocify-item level-2" data-unique="languages-GETapi-languages--code-"> <a href="#languages-GETapi-languages--code-">Get language</a> </li> </ul> </ul> <ul id="tocify-header-listings" class="tocify-header"> <li class="tocify-item level-1" data-unique="listings"> <a href="#listings">Listings</a> </li> <ul id="tocify-subheader-listings" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="listings-GETapi-posts"> <a href="#listings-GETapi-posts">List listings</a> </li> <li class="tocify-item level-2" data-unique="listings-GETapi-posts--id-"> <a href="#listings-GETapi-posts--id-">Get listing</a> </li> <li class="tocify-item level-2" data-unique="listings-POSTapi-posts"> <a href="#listings-POSTapi-posts">Store listing</a> </li> <li class="tocify-item level-2" data-unique="listings-PUTapi-posts--id-"> <a href="#listings-PUTapi-posts--id-">Update listing</a> </li> <li class="tocify-item level-2" data-unique="listings-DELETEapi-posts--ids-"> <a href="#listings-DELETEapi-posts--ids-">Delete listing(s)</a> </li> </ul> </ul> <ul id="tocify-header-packages" class="tocify-header"> <li class="tocify-item level-1" data-unique="packages"> <a href="#packages">Packages</a> </li> <ul id="tocify-subheader-packages" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="packages-GETapi-packages-promotion"> <a href="#packages-GETapi-packages-promotion">List packages</a> </li> <li class="tocify-item level-2" data-unique="packages-GETapi-packages-subscription"> <a href="#packages-GETapi-packages-subscription">List packages</a> </li> <li class="tocify-item level-2" data-unique="packages-GETapi-packages--id-"> <a href="#packages-GETapi-packages--id-">Get package</a> </li> </ul> </ul> <ul id="tocify-header-pages" class="tocify-header"> <li class="tocify-item level-1" data-unique="pages"> <a href="#pages">Pages</a> </li> <ul id="tocify-subheader-pages" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="pages-GETapi-pages"> <a href="#pages-GETapi-pages">List pages</a> </li> <li class="tocify-item level-2" data-unique="pages-GETapi-pages--slugOrId-"> <a href="#pages-GETapi-pages--slugOrId-">Get page</a> </li> </ul> </ul> <ul id="tocify-header-payment-methods" class="tocify-header"> <li class="tocify-item level-1" data-unique="payment-methods"> <a href="#payment-methods">Payment Methods</a> </li> <ul id="tocify-subheader-payment-methods" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="payment-methods-GETapi-paymentMethods"> <a href="#payment-methods-GETapi-paymentMethods">List payment methods</a> </li> <li class="tocify-item level-2" data-unique="payment-methods-GETapi-paymentMethods--id-"> <a href="#payment-methods-GETapi-paymentMethods--id-">Get payment method</a> </li> </ul> </ul> <ul id="tocify-header-payments" class="tocify-header"> <li class="tocify-item level-1" data-unique="payments"> <a href="#payments">Payments</a> </li> <ul id="tocify-subheader-payments" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="payments-GETapi-payments-promotion"> <a href="#payments-GETapi-payments-promotion">List payments</a> </li> <li class="tocify-item level-2" data-unique="payments-GETapi-payments-subscription"> <a href="#payments-GETapi-payments-subscription">List payments</a> </li> <li class="tocify-item level-2" data-unique="payments-GETapi-payments-subscription-users--userId--payments"> <a href="#payments-GETapi-payments-subscription-users--userId--payments">List payments</a> </li> <li class="tocify-item level-2" data-unique="payments-GETapi-payments--id-"> <a href="#payments-GETapi-payments--id-">Get payment</a> </li> <li class="tocify-item level-2" data-unique="payments-POSTapi-payments"> <a href="#payments-POSTapi-payments">Store payment</a> </li> </ul> </ul> <ul id="tocify-header-posts" class="tocify-header"> <li class="tocify-item level-1" data-unique="posts"> <a href="#posts">Posts</a> </li> <ul id="tocify-subheader-posts" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="posts-GETapi-postTypes"> <a href="#posts-GETapi-postTypes">List post types</a> </li> <li class="tocify-item level-2" data-unique="posts-GETapi-postTypes--id-"> <a href="#posts-GETapi-postTypes--id-">Get post type</a> </li> <li class="tocify-item level-2" data-unique="posts-GETapi-reportTypes"> <a href="#posts-GETapi-reportTypes">List report types</a> </li> <li class="tocify-item level-2" data-unique="posts-GETapi-reportTypes--id-"> <a href="#posts-GETapi-reportTypes--id-">Get report type</a> </li> <li class="tocify-item level-2" data-unique="posts-GETapi-salaryTypes"> <a href="#posts-GETapi-salaryTypes">List salary types</a> </li> <li class="tocify-item level-2" data-unique="posts-GETapi-salaryTypes--id-"> <a href="#posts-GETapi-salaryTypes--id-">Get salary type</a> </li> </ul> </ul> <ul id="tocify-header-resumes" class="tocify-header"> <li class="tocify-item level-1" data-unique="resumes"> <a href="#resumes">Resumes</a> </li> <ul id="tocify-subheader-resumes" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="resumes-GETapi-resumes"> <a href="#resumes-GETapi-resumes">List resumes</a> </li> <li class="tocify-item level-2" data-unique="resumes-GETapi-resumes--id-"> <a href="#resumes-GETapi-resumes--id-">Get resume</a> </li> <li class="tocify-item level-2" data-unique="resumes-POSTapi-resumes"> <a href="#resumes-POSTapi-resumes">Store resume</a> </li> <li class="tocify-item level-2" data-unique="resumes-PUTapi-resumes--id-"> <a href="#resumes-PUTapi-resumes--id-">Update resume</a> </li> <li class="tocify-item level-2" data-unique="resumes-DELETEapi-resumes--ids-"> <a href="#resumes-DELETEapi-resumes--ids-">Delete resume(s)</a> </li> </ul> </ul> <ul id="tocify-header-saved-posts" class="tocify-header"> <li class="tocify-item level-1" data-unique="saved-posts"> <a href="#saved-posts">Saved Posts</a> </li> <ul id="tocify-subheader-saved-posts" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="saved-posts-POSTapi-savedPosts"> <a href="#saved-posts-POSTapi-savedPosts">Store/Delete saved post</a> </li> <li class="tocify-item level-2" data-unique="saved-posts-GETapi-savedPosts"> <a href="#saved-posts-GETapi-savedPosts">List saved posts</a> </li> <li class="tocify-item level-2" data-unique="saved-posts-DELETEapi-savedPosts--ids-"> <a href="#saved-posts-DELETEapi-savedPosts--ids-">Delete saved post(s)</a> </li> </ul> </ul> <ul id="tocify-header-saved-searches" class="tocify-header"> <li class="tocify-item level-1" data-unique="saved-searches"> <a href="#saved-searches">Saved Searches</a> </li> <ul id="tocify-subheader-saved-searches" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="saved-searches-POSTapi-savedSearches"> <a href="#saved-searches-POSTapi-savedSearches">Store/Delete saved search</a> </li> <li class="tocify-item level-2" data-unique="saved-searches-GETapi-savedSearches"> <a href="#saved-searches-GETapi-savedSearches">List saved searches</a> </li> <li class="tocify-item level-2" data-unique="saved-searches-GETapi-savedSearches--id-"> <a href="#saved-searches-GETapi-savedSearches--id-">Get saved search</a> </li> <li class="tocify-item level-2" data-unique="saved-searches-DELETEapi-savedSearches--ids-"> <a href="#saved-searches-DELETEapi-savedSearches--ids-">Delete saved search(es)</a> </li> </ul> </ul> <ul id="tocify-header-settings" class="tocify-header"> <li class="tocify-item level-1" data-unique="settings"> <a href="#settings">Settings</a> </li> <ul id="tocify-subheader-settings" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="settings-GETapi-settings"> <a href="#settings-GETapi-settings">List settings</a> </li> <li class="tocify-item level-2" data-unique="settings-GETapi-settings--key-"> <a href="#settings-GETapi-settings--key-">Get setting</a> </li> </ul> </ul> <ul id="tocify-header-social-auth" class="tocify-header"> <li class="tocify-item level-1" data-unique="social-auth"> <a href="#social-auth">Social Auth</a> </li> <ul id="tocify-subheader-social-auth" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="social-auth-GETapi-auth--provider-"> <a href="#social-auth-GETapi-auth--provider-">Get target URL</a> </li> <li class="tocify-item level-2" data-unique="social-auth-GETapi-auth--provider--callback"> <a href="#social-auth-GETapi-auth--provider--callback">Get user info</a> </li> </ul> </ul> <ul id="tocify-header-threads" class="tocify-header"> <li class="tocify-item level-1" data-unique="threads"> <a href="#threads">Threads</a> </li> <ul id="tocify-subheader-threads" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="threads-POSTapi-threads"> <a href="#threads-POSTapi-threads">Store thread</a> </li> <li class="tocify-item level-2" data-unique="threads-GETapi-threads"> <a href="#threads-GETapi-threads">List threads</a> </li> <li class="tocify-item level-2" data-unique="threads-GETapi-threads--id-"> <a href="#threads-GETapi-threads--id-">Get thread</a> </li> <li class="tocify-item level-2" data-unique="threads-PUTapi-threads--id-"> <a href="#threads-PUTapi-threads--id-">Update thread</a> </li> <li class="tocify-item level-2" data-unique="threads-DELETEapi-threads--ids-"> <a href="#threads-DELETEapi-threads--ids-">Delete thread(s)</a> </li> <li class="tocify-item level-2" data-unique="threads-POSTapi-threads-bulkUpdate--ids--"> <a href="#threads-POSTapi-threads-bulkUpdate--ids--">Bulk updates</a> </li> <li class="tocify-item level-2" data-unique="threads-GETapi-threads--threadId--messages"> <a href="#threads-GETapi-threads--threadId--messages">List messages</a> </li> <li class="tocify-item level-2" data-unique="threads-GETapi-threads--threadId--messages--id-"> <a href="#threads-GETapi-threads--threadId--messages--id-">Get message</a> </li> </ul> </ul> <ul id="tocify-header-users" class="tocify-header"> <li class="tocify-item level-1" data-unique="users"> <a href="#users">Users</a> </li> <ul id="tocify-subheader-users" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="users-GETapi-genders"> <a href="#users-GETapi-genders">List genders</a> </li> <li class="tocify-item level-2" data-unique="users-GETapi-genders--id-"> <a href="#users-GETapi-genders--id-">Get gender</a> </li> <li class="tocify-item level-2" data-unique="users-GETapi-userTypes"> <a href="#users-GETapi-userTypes">List user types</a> </li> <li class="tocify-item level-2" data-unique="users-GETapi-userTypes--id-"> <a href="#users-GETapi-userTypes--id-">Get user type</a> </li> <li class="tocify-item level-2" data-unique="users-GETapi-users"> <a href="#users-GETapi-users">List users</a> </li> <li class="tocify-item level-2" data-unique="users-GETapi-users--id-"> <a href="#users-GETapi-users--id-">Get user</a> </li> <li class="tocify-item level-2" data-unique="users-POSTapi-users"> <a href="#users-POSTapi-users">Store user</a> </li> <li class="tocify-item level-2" data-unique="users-GETapi-users--id--stats"> <a href="#users-GETapi-users--id--stats">User's mini stats</a> </li> <li class="tocify-item level-2" data-unique="users-GETapi-users--id--photo-delete"> <a href="#users-GETapi-users--id--photo-delete">Delete user's photo</a> </li> <li class="tocify-item level-2" data-unique="users-PUTapi-users--id--photo"> <a href="#users-PUTapi-users--id--photo">Update user's photo</a> </li> <li class="tocify-item level-2" data-unique="users-PUTapi-users--id--save-theme-preference"> <a href="#users-PUTapi-users--id--save-theme-preference">Update the user's theme preference</a> </li> <li class="tocify-item level-2" data-unique="users-PUTapi-users--id-"> <a href="#users-PUTapi-users--id-">Update user</a> </li> <li class="tocify-item level-2" data-unique="users-DELETEapi-users--id-"> <a href="#users-DELETEapi-users--id-">Delete user</a> </li> </ul> </ul> <ul id="tocify-header-verification" class="tocify-header"> <li class="tocify-item level-1" data-unique="verification"> <a href="#verification">Verification</a> </li> <ul id="tocify-subheader-verification" class="tocify-subheader"> <li class="tocify-item level-2" data-unique="verification-GETapi-verify--entityMetadataKey---entityId--resend-email"> <a href="#verification-GETapi-verify--entityMetadataKey---entityId--resend-email">Email: Re-send link</a> </li> <li class="tocify-item level-2" data-unique="verification-GETapi-verify--entityMetadataKey---entityId--resend-sms"> <a href="#verification-GETapi-verify--entityMetadataKey---entityId--resend-sms">SMS: Re-send code</a> </li> <li class="tocify-item level-2" data-unique="verification-GETapi-verify--entityMetadataKey---field---token--"> <a href="#verification-GETapi-verify--entityMetadataKey---field---token--">Verification</a> </li> </ul> </ul> </div> <ul class="toc-footer" id="toc-footer"> <li style="padding-bottom: 5px;"><a href="{{ route("scribe.postman") }}">View Postman collection</a></li> <li><a href="http://github.com/knuckleswtf/scribe">Documentation powered by Scribe ✍</a></li> </ul> <ul class="toc-footer" id="last-updated"> <li>Last updated: May 17, 2025</li> </ul> </div> <div class="page-wrapper"> <div class="dark-box"></div> <div class="content"> <h1 id="introduction">Introduction</h1> <p>JobClass API specification and documentation.</p> <aside> <strong>Base URL</strong>: <code>https://jobclass.laraclassifier.local</code> </aside> <p>This documentation aims to provide all the information you need to work with our API.</p> <aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile). You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside> <p><strong>Important:</strong> By default the API uses an access token set in the <strong><code>/.env</code></strong> file with the variable <code>APP_API_TOKEN</code>, whose its value need to be added in the header of all the API requests with <code>X-AppApiToken</code> as key. On the other hand, the key <code>X-AppType</code> must not be added to the header... This key is only useful for the included web client and for API documentation.</p> <p>Also, by default the default app's country will be selected if the <strong><code>countryCode</code></strong> query parameter is not filled during API calls. If a default country is not set for the app, the most populated country will be selected. Same for the language, which the default app language will be selected if the <strong><code>languageCode</code></strong> query parameter is not filled.</p> <h1 id="authenticating-requests">Authenticating requests</h1> <p>To authenticate requests, include an <strong><code>Authorization</code></strong> header with the value <strong><code>"Bearer {YOUR_AUTH_KEY}"</code></strong>.</p> <p>All authenticated endpoints are marked with a <code>requires authentication</code> badge in the documentation below.</p> <p>You can retrieve your token by visiting your dashboard and clicking <b>Generate API token</b>.</p> <h1 id="authentication">Authentication</h1> <h2 id="authentication-POSTapi-auth-login">Log in</h2> <p> </p> <span id="example-requests-POSTapi-auth-login"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/auth/login" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --data "{ \"email\": \"user@demosite.com\", \"password\": \"123456\", \"auth_field\": \"email\", \"phone\": null, \"phone_country\": null, \"captcha_key\": \"tempora\" }" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/auth/login" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; let body = { "email": "user@demosite.com", "password": "123456", "auth_field": "email", "phone": null, "phone_country": null, "captcha_key": "tempora" }; fetch(url, { method: "POST", headers, body: JSON.stringify(body), }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/auth/login'; $response = $client->post( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'json' => [ 'email' => 'user@demosite.com', 'password' => '123456', 'auth_field' => 'email', 'phone' => null, 'phone_country' => null, 'captcha_key' => 'tempora', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/auth/login' payload = { "email": "user@demosite.com", "password": "123456", "auth_field": "email", "phone": null, "phone_country": null, "captcha_key": "tempora" } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers, json=payload) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-auth-login"> </span> <span id="execution-results-POSTapi-auth-login" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-auth-login"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-auth-login" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-auth-login" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-auth-login"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-auth-login" data-method="POST" data-path="api/auth/login" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-auth-login', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-auth-login" onclick="tryItOut('POSTapi-auth-login');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-auth-login" onclick="cancelTryOut('POSTapi-auth-login');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-auth-login" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/auth/login</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-auth-login" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-auth-login" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-auth-login" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-auth-login" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-auth-login" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>email</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="email" data-endpoint="POSTapi-auth-login" value="user@demosite.com" data-component="body"> <br> <p>The user's email address or username (Required when 'auth_field' value is 'email'). Example: <code>user@demosite.com</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>g-recaptcha-response</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="g-recaptcha-response" data-endpoint="POSTapi-auth-login" value="" data-component="body"> <br> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>password</code></b> <small>string</small> <input type="text" style="display: none" name="password" data-endpoint="POSTapi-auth-login" value="123456" data-component="body"> <br> <p>The user's password. Example: <code>123456</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>auth_field</code></b> <small>string</small> <input type="text" style="display: none" name="auth_field" data-endpoint="POSTapi-auth-login" value="email" data-component="body"> <br> <p>The user's auth field ('email' or 'phone'). Example: <code>email</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="phone" data-endpoint="POSTapi-auth-login" value="" data-component="body"> <br> <p>The user's mobile phone number (Required when 'auth_field' value is 'phone').</p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone_country</code></b> <small>string</small> <input type="text" style="display: none" name="phone_country" data-endpoint="POSTapi-auth-login" value="" data-component="body"> <br> <p>The user's phone number's country code (Required when the 'phone' field is filled).</p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>captcha_key</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="captcha_key" data-endpoint="POSTapi-auth-login" value="tempora" data-component="body"> <br> <p>Key generated by the CAPTCHA endpoint calling (Required when the CAPTCHA verification is enabled from the Admin panel). Example: <code>tempora</code></p> </div> </form> <h2 id="authentication-GETapi-auth-logout--userId-">Log out</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-GETapi-auth-logout--userId-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/auth/logout/12" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/auth/logout/12" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/auth/logout/12'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/auth/logout/12' headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-auth-logout--userId-"> <blockquote> <p>Example response (400):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "An error occurred and the logout failed.", "result": null }</code> </pre> </span> <span id="execution-results-GETapi-auth-logout--userId-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-auth-logout--userId-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-auth-logout--userId-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-auth-logout--userId-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-auth-logout--userId-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-auth-logout--userId-" data-method="GET" data-path="api/auth/logout/{userId}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-auth-logout--userId-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-auth-logout--userId-" onclick="tryItOut('GETapi-auth-logout--userId-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-auth-logout--userId-" onclick="cancelTryOut('GETapi-auth-logout--userId-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-auth-logout--userId-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/auth/logout/{userId}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-auth-logout--userId-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-auth-logout--userId-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-auth-logout--userId-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-auth-logout--userId-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-auth-logout--userId-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-auth-logout--userId-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>userId</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="userId" data-endpoint="GETapi-auth-logout--userId-" value="12" data-component="url"> <br> <p>The ID of the user to logout. Example: <code>12</code></p> </div> </form> <h2 id="authentication-POSTapi-auth-password-reset">Reset password</h2> <p> </p> <span id="example-requests-POSTapi-auth-password-reset"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/auth/password/reset" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --data "{ \"email\": \"john.doe@domain.tld\", \"token\": \"enim\", \"phone_country\": null, \"password\": \"js!X07$z61hLA\", \"auth_field\": \"email\", \"phone\": null, \"password_confirmation\": \"js!X07$z61hLA\", \"captcha_key\": \"minus\" }" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/auth/password/reset" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; let body = { "email": "john.doe@domain.tld", "token": "enim", "phone_country": null, "password": "js!X07$z61hLA", "auth_field": "email", "phone": null, "password_confirmation": "js!X07$z61hLA", "captcha_key": "minus" }; fetch(url, { method: "POST", headers, body: JSON.stringify(body), }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/auth/password/reset'; $response = $client->post( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'json' => [ 'email' => 'john.doe@domain.tld', 'token' => 'enim', 'phone_country' => null, 'password' => 'js!X07$z61hLA', 'auth_field' => 'email', 'phone' => null, 'password_confirmation' => 'js!X07$z61hLA', 'captcha_key' => 'minus', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/auth/password/reset' payload = { "email": "john.doe@domain.tld", "token": "enim", "phone_country": null, "password": "js!X07$z61hLA", "auth_field": "email", "phone": null, "password_confirmation": "js!X07$z61hLA", "captcha_key": "minus" } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers, json=payload) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-auth-password-reset"> </span> <span id="execution-results-POSTapi-auth-password-reset" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-auth-password-reset"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-auth-password-reset" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-auth-password-reset" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-auth-password-reset"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-auth-password-reset" data-method="POST" data-path="api/auth/password/reset" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-auth-password-reset', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-auth-password-reset" onclick="tryItOut('POSTapi-auth-password-reset');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-auth-password-reset" onclick="cancelTryOut('POSTapi-auth-password-reset');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-auth-password-reset" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/auth/password/reset</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-auth-password-reset" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-auth-password-reset" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-auth-password-reset" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-auth-password-reset" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-auth-password-reset" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>email</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="email" data-endpoint="POSTapi-auth-password-reset" value="john.doe@domain.tld" data-component="body"> <br> <p>The user's email address or username (Required when 'auth_field' value is 'email'). Example: <code>john.doe@domain.tld</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>token</code></b> <small>string</small> <input type="text" style="display: none" name="token" data-endpoint="POSTapi-auth-password-reset" value="enim" data-component="body"> <br> <p>Example: <code>enim</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone_country</code></b> <small>string</small> <input type="text" style="display: none" name="phone_country" data-endpoint="POSTapi-auth-password-reset" value="" data-component="body"> <br> <p>The user's phone number's country code (Required when the 'phone' field is filled).</p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>password</code></b> <small>string</small> <input type="text" style="display: none" name="password" data-endpoint="POSTapi-auth-password-reset" value="js!X07$z61hLA" data-component="body"> <br> <p>The user's password. Example: <code>js!X07$z61hLA</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>auth_field</code></b> <small>string</small> <input type="text" style="display: none" name="auth_field" data-endpoint="POSTapi-auth-password-reset" value="email" data-component="body"> <br> <p>The user's auth field ('email' or 'phone'). Example: <code>email</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="phone" data-endpoint="POSTapi-auth-password-reset" value="" data-component="body"> <br> <p>The user's mobile phone number (Required when 'auth_field' value is 'phone').</p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>password_confirmation</code></b> <small>string</small> <input type="text" style="display: none" name="password_confirmation" data-endpoint="POSTapi-auth-password-reset" value="js!X07$z61hLA" data-component="body"> <br> <p>The confirmation of the user's password. Example: <code>js!X07$z61hLA</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>captcha_key</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="captcha_key" data-endpoint="POSTapi-auth-password-reset" value="minus" data-component="body"> <br> <p>Key generated by the CAPTCHA endpoint calling (Required when the CAPTCHA verification is enabled from the Admin panel). Example: <code>minus</code></p> </div> </form> <h1 id="captcha">Captcha</h1> <h2 id="captcha-GETapi-captcha">Get CAPTCHA</h2> <p> </p> <p>Calling this endpoint is mandatory if the captcha is enabled in the Admin panel. Return JSON data with an 'img' item that contains the captcha image to show and a 'key' item that contains the generated key to send for validation.</p> <span id="example-requests-GETapi-captcha"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/captcha" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/captcha" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/captcha'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/captcha' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-captcha"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "sensitive": false, "key": "eyJpdiI6Ik1QSlIya29ncUlPVldMV2tiNllMVGc9PSIsInZhbHVlIjoiTk5hbWZ4NTFBRGgwSzBSbFpIT1VjQ01HQWc3YmQxRTNOTzMxU1dJUXc5Sjd2dE94aGl3Z1RpMlFPRG9nMUJLd3ZSa2Z1WVBzQ01HcGdhV3dzS2xCbjlHdXM4UGhHZUM5QjFZZkNoQ1FhbjA9IiwibWFjIjoiNDQxMjhiMjYyYWZhYWE1NGFlODc0ODU5MzY1YzYyM2VkOTk1YmMzNzM2ZDk0OGU4NjgxYjkzZTFjMmIyOTRmZSIsInRhZyI6IiJ9", "img": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAAkCAYAAABCKP5eAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAblElEQVR4nG18abBl1XXed+bhjm/s17Oabma6obuBFkg2BtkuU7KiSlmKHJHKDztKVCphlxLZ2FI0YBmXPKVKcowwcjkuVxJZSohlRQMWBiGELAQiNA0NDaJHenqv33TvPffM5+z8uO9bd9/Gt+oVr9+995y91/rWt7611j4Yx44dU0VRoK5rmKaJuq4BAIZhwLIsAECe5zBNU/5dliUAoKoq1HUNwzBQVRUsy4JpmlBKwTRNuZ7rujBNE47jwPd9VFUF3/dR1zWUUgCAuq5RliXKsoRhGHBdF67rwrZtAEBRFMjzHEopGIYBx3Hgui4sy0JZlsjzHHVdoygK+X4QBLAsC0mSwDAMeJ4HAMiyDK7rwnEcrK+voyxLWJaFNE0BAEEQyNqHw6GsO01TGIaBIAiQJAnqupb9O44j66zrGmEY4tGnXdz3xzFe/qaHoigQxzEsy4Jt2/B9H0op2S9talkWLMtCVVVwXRdVVcnvlmUhyzLkeS575L6VUrBtW+4fBAE8z4PNDWVZJh8yDAN5ngOAOEcphaqqxJkEgGEY4lA6pCxLMZDjOKiqSpxYVRVs2xbHFEWBMAwFYLZtC8h4HcdxUBQFPM+Te4VhOHEPx3GQ57lcl8Yvy1JAQgNyD7xPEAQoy1IAoBucgFRKwfM8RFGELMvgeR4Mw4BhGPB9H4ZhIE1TmKaJxRUPn/39Gm/bmuPIN0ZrV0rB933ZH53iuq44SymFoihQVRUcx0EQBEjTFFVVYTgcQiklfnBdF2maoigKAQUdz6BUSsHmxRzHwcv/63OY3n0Q01cchN+ekwsSpZZlQSkFy7IEgUopcaJpmrIgGikIAti2LZ+jUelQOo/Gsm0btm1LNBHxrusK2h3HgWma4owsy2RjBKlpmgIQ13UFXGVZSlRw32QOAoz7NE1zAgi8x3A4lEimUbneB79i4olnatx/r4lrr0hRFLbsiRHLSAQg93AcR65PW+R5jsFgIH+jDRiERVGI7YfDIcqyRBiG8t0oimAcOXJE8eJlWaJ/+kWsn3oBhmlh9spb0dmxFwAk/Glk3/eRZRkajQZM00Sv14NpmiiKAmmaCk20Wi1ZCKObRqQDiTbHcQTpTAF6hOlOIVWXZYkoisQpeiRWVQXP8+A4DtI0naB4ApcRTYMRJDolAhBDKqUEUIxGz/PwvWcKfObPatzzHuDfvreWfdF2dCbtGMexgLAoCjSbTTQajQn2rOsaURSJ/RgslmUhjuOJAKMtLMsS0EZRBJvooyGmdx/E/NWHkKyew+rx53H2J9/E7J6bMXfVIVhBR/KsaZpiMEZzlmWwbRutVkuiVyklC6aBSK1ErOeNchRpii867PKo5+9kFdd1URSFMAEpkM7T8zcdS0Pxc8xdjO44jtFsNuH7/shQG04ig9m2PfpcauK+PymQFQp/+18UOs0KhmFJxJJRmHIYIFwb91eWJeI4FpZj/g3DEFEUTQCcNjNNE0mSTKRW+ofvG6+88opifvF9H3EcAwDa7TbW41XYlY21E8/j0uvPwvIamNlzM6Z27hUB4roufN8XocPIZPQRkUQW3ydILMuS3KpTFNmAzqVTeQ1SNZ2Z57k4mJtjhBFQzHtKKYRhKIKF99QjGIAIMYKAIEnTFL7v42++XuKhv1X47L0G7jqEibVXVSX5kYzT7/dR1zU6nQ6KohCx94M3n8WFZBnbW5txaPNNyNNMAOT7PkzTxMrKyoT24N7IXt1uV5iIQArDEDYFFvNmGIbIyhQf+fG7cSJ6Fb8w/z78xnUPYP6a27F69nWsnfh/OPf8tzB9xUHM7LkZSjlCi3VdCwqZX/V8QaojiouimBBVND6FByOFjmfkZVkmoot5iZvPsgxlWaLZbCLP8wnUU53WdY0kSSZyM6OAylQXLGEYSnqqqgrHTpr4vQcL3L7fxg/+R400TZEk9YQ6pqJP0xSWZSGKIvR6Pfi+PwF20zTxnVPfxz+++U+wDBOPvfdvYBmm0C3XS7ulaYputyt5lyw0HA4FiLSzbdsjim40GmIkpRTORMdxInoVAPCj1cfwa9HvwrIstDbtQjCzHbahsHjsGRx/4q/htWcxd+WtcHdcJ0Ym+mgoRg4VIvOXHhXMTXQkVSwNwahlbg/DUDbJyNVfKysrcg8CiWmIEcZI5XV1RuHfSYFUr3/wFwqvvAE88JsGDu5riNH5/TzPZc3NZlPyved5En3My7ZtI0kSnB0uAgAWGnOwjFFgeJ4Hy7LQ7/elkknTFM1mU2id4OV7tFGz2ZS0YHNTSZKIcefMLdjXfjuORYfx8zPvm1DFlmXBcj1s3nsHZq6+DdHicayePIyXnvgWXuq9AyeL2+GHTbQaFRp+jtDNMNUxMDdtY7ZrIXBT+E6KdrOWvMv6UhcLOt0URTFBS9w8/+55ntAS6Z8R2Gq1UNc1sixDlmUT5RlZgpTLPElnmaYpCvkfnjbw6S8a+O1/Z+NTHxlXBFTptCN7BmQwBg33Rocxx7qui/PRyMFbGwsCOvYVms2mRCmpnvtjeqE4o32GwyFs2x45mjmFCreuawReiM8f/O+iPEk7jLYkSRAEAVzXRXPTbszuvB573plh+wv/hN7JPwSaOxGFt2Cx3I21vo0ziw6OnrTRi0ysD3z0IgNlZaDdqNFtKnRaCu2wxFTbQNuwEA4VurMVNt8AtIIS0x0DrjsunTzPEyqmmmfkUHCRqkjNjCSyBX/X6V9XtWSRpVUTn/uSiblpC8/+7wAGChiGifJSiv6PzyI+3kMV5VCVgj3jY+b9u+BvDt8iopIkQZIkElkEWz+P0M8jAMAmb0bKnU6nIyxjWRbCMJS6lymVFQnTlWEYQtXdbnckRC9cuKCogPUShS/TNMWYzJO6kKGa1ZsKK6dewqXXn0U2WMHUFQfQ3LYXyhwZtdFojJBeAKt9hcVLGYq6ibVFC29+PcD6RQeRqzB0gGGzRjqt0EsNOLZCu1Gj06wx1Qam2wamOgamWkAjyNFpKEx3DEy1gYZfSInEPEtq5BoZ1Xr9DQBRFCHPc9i2jb/+uotvfM/A/feaOLRvrHyXv34S/e+eAxTe8tr9p7fDmw6lmcIoI5Uz7QCj8u/I0jF84O8+CgDY0dwCz3SRVCmmgg5uXtiLf7HjXeg6LXS7XWRZhl6vJwCs6xpbt26F67pIkgRRFMH3fTQaDUmTNqmPJYleJ2ZZNqFcddGjo4u0x9fUjuvR2XYtqnSAcy8/jZOPPYRwfhemdx+E2dozuv45E+qRANP9Frb+dowTn+lg2ynnLQYzfIWdX1pDun2A9YGBpAgwGFroRQai1MH5Sw5W+x5Wewq9yNhgiQDf/mIkYofsQ+pkZ6mqKnEyc6/neXjuZQMPPGTjPXcqfOshoK5LZNkIyMNvX8Dg8QswbAOtn1lA88ZZ2B0XlapRLCeo/DGICBy9+0TbElBvLJ+SvZ6JzsvvZ4cX8dLya/j7nz6GL/zMp9BsNpGmqXTLZmdnJ1IJANE/pPgsy2ATlVTBTNb3PHMIw2qA69oH8ScHvyp5gIqZuYVGZE6i8RzHAfwW5m+4Eztuvhu9N49i6bUfYvHwP8Bfuw3Jn/8iUI4ceuZND8U/41wAUKmBc5/s4Iqv5gi8FJ5Xoq7zjWaLgm3XE92gHCleWD6MRy9dQC/ro2k3sRBuwo5gO7aEW8ThZKwwDCWf9/sJHnjYwVrPwkOfKTDTLeC6XaRpOhKJFxMMnrgAwzWx9eP70LhiSko0z7LQ2N4R0NMu1C90Av9L9X96/azs9bZN+3Fobh/azTYeO/00fnThBaxmPXzljW/i07P3CgMQNARMkiQYDoci6gaDgeR/ezAYTFCUvhgx8gYCWQZQtZG+9WYGi3RGOTfV2X49GpuvRhGt4vx3DyP/6MdgHrsF1os/i+SlXQCAzrtyLHxAYf05hcW/9AA1yo/FeQuDv2+h9f7JwQWbEnVdozIq/M8TX8FjFx5HoYp/Fixdp4N9nb3Y39iPG6f3Scs1yzI88l0Tf/rfPHzywxXefYcB03RRlqZUBnEcI3p2FVBAcMccsMmV9OS6LgBIL4A263Q68ncyB50fxzE8z8P5eGlkdxj44zt+B7476in80tt+Fj/3tQ8irwuc7p8TndRqteQahmEgiiIp+Zjzfd9HnuejCNb7o0EQSE4Cqw5jLFL0Fh+Ny/yrNzj4Od/3pVnPVODPbsGu987j2Ls+iOqKH6O882uAVcJbuh0Lv3c1HMdBe2+GZKWD/v9piXNWHwkwc08i9ycYLctCL+3j86//Ec7EZwAAgRXg5qkD2BxsRlbnOBefwxvRcawX63hq+Wk8tfw05hfn8V9v+QIOvxLhc18ycf0eAz95xIbnNSUqGQWk8eLkEADQPjgvQCOoL++q6eWRrq6Z2sgip3vnAADz4QzKvERSJdKarDeSfMttoKoqBEEgLBqGITzPQ7vdlskWW8hk1yzLYDO/Xj4IoIAQh284ryxL6YsyR3PhjHAygn5jUgsA2IGJxi05oqdug3n0Nqj5N2H96hN46WtfxU3/+n5YloXNH8rR/zslUZyeNOGtd6HmY4kUrvnhk18W5+5q7MLvXP9baJrNt7Q9f7D4NB4+/ZcAAAsWPv9wgR8+b+L+ew3svdqWUqaqKjSbTUlZXHvdH0Vnc6EDb2PQMBgMEASBDE3Yw6aIoz3pNH14U5YlzgxGeXdbc2Gi/l2vBijrka7Z2dmGbneUKngNBhDFls6W9A8AmMBohpkkiVAJPzyyzBihem/Y932EYSiO1zfCZjqZgR0gthNt20b3HeMWpLG0Hc7z/wrX/conRbGrqRTuNRn019KPxg0Fburl5aM43HsRABBaIX7rmv+IjtMRMOV5Lvc3Nmipd+wAvvfApzA3VeKbDzfw9gMd6Zszl5P6uV/HcWA4G/PwuJA6u91uSzuWEU12I5WyjNMbP2VZYn3YQy8bTYu2hJukB+44Ds70x4LrbVPbYJqmMCKbHYuLixMpgXbp9/sCUlsf9uuNcB35eitPHyDof9dzN51Jhc0cxWtVVYXmLWPVDQDpix4MmHC9cWvTv6pA/uq4bIveqNHSJjR5nuO53k/k/bs23YnZcFaiUO8AKaVwfHkNp776GzDsEr/5+/+ID+7+ZQEAo5dRzzJDPwThzPool1NkZwZAx5poqdIml9N0mqaI41hKM9bZSiks5quy9p3drZJnAeCUJr62tzbDtm3EcSxTKADiC9qflQx7FBsBawqlAOOZJ3OwYRqyCbba2GPlxfXOk96H1qdFeiqoqgrG9hhWVxskRCaio5BSQCkFe0FjEgDVcBSRaZrKAPxUckrev2nqRnFuWZbIskxo768eUXjwD+7A9MEnsfNXHsTOzvRE8yPLMkRRhDiORTiSculIf1d7BLRXRo4hBdO5+ryaAxSWTHouJ/udiy5OOJGj0LqucTa6IO/taG8Z3XdjqqR3s7hHfUaepinW1tYohE35Eo07csx4skPlFsex5BIA0srTka+XSdwUI4E/VIDhgXzCgfmLoQicwWCA5NJklJvdauK+ZVmiXwzk/VlnRvbAEeGPX8zwyx8ukBUO7rrvD9Hec2Rk0OY26QfzaA+vyxoySRKh1CzL4N44UsXRM0solket3ZWVFSwvL0v1wH47yzGyEctLgt0wDFHQALA5mJNhTVVVeHNwcSPODMx70zJZYonEa+pDDXbHyBaLi4uwKYzY16XDxajGuFtFymVOojPZVtNHe3QspyA0FH8Mw0Dz5gKDJ8YUnLzgo/2BEWDqFQfZ41MTDg72FhNDh7IsYRmTJR0dVdc1Pv3FCqfP5fjCJ0xcszvAPU+PI2azv1mcQm2glxrMbUVRoNMZ1bfOTgeNW+cwfPYSLn7hKObuuRLBlaPa03VclBdTDA4vIt/aRHjT9Dh3b6Qv6hHOvfUmx472FhjVmA2Yg+fDGRjKkMMVcRxjMBjAdd0JZuS+0zRFo9FAo9EYNT5Yz7LRcXkdTIfoKlCfc+pzYFIyBQjbnowAgoCfbd1SYUxEQPKch8X/PAtVAelzIVQ2Xoezs0DnVgVro/fK5syCu4CL2ahZ/0b/OFpowbZt7P+XNT77UQO/+6FRfj3bP4tCjYA75UzBNUY5igfyCFy9/KMjyE5KKUz/6i4UlxLkJyNc/LOjMHwLVtNBNSigshHDNG6aRevgnFyPUafbQCmFsxsUPe114JoOlKFEr5zfmDBtay5MzJSVUmi328I2Simsra1NqHemiqqqYF8e1owCqPFpx8uVJXOKUgpBEEj/lnTNyGg0GjL41g+HkSXCqxWsbo1qfeRIlZuIv9/E5S8jqLHt/j5Ma3zuimnl7VOHcHgwUtHfvvgd3NjahyzLcOQb4YYBRjT86uoxud6cPTtRr1NUcpjCTh0w7jzJpMq1sPU/3YjlR09h+MMl1GsFynTkWHvaQ+OGGTTfOS8A5N5pE6UULl26BNd1caY/qoG3bjiRg4P1oo+sGjHIzs5WtFotOI4jEzHXdeWgIgOOfqJfqNht/bQDjXd5/ciTj6x76Th+ttlsirDRWYB5Qj/8pivwoigQ3JQhejJ4i1NHnlXwDiTYdl8MY1uCKCoEgHTO3vAGXN24Cq8NX8eJ+CQeOvNlfGj3r4sI4dD8bHxOLrs12CpiiHtg60+fETP6GNVcs+d5aP/8Fmx6z25UwwJWZaKyayjXmJiFO46D1dVVZFkmUcfrnz53BsvJGgBg9/QOoVfP83Bmdcxru6a2A8CEltEHO5ygra+vCzijKJL12qxhGYGMTr6YO7gxHfn6OSK+GA0UbXoTRFeSpK3mzRWiJ8c+DW+PMfuRPozMhrGQwurWGxph3FQnS5BR/sP2D+HPzzyE4/FxPL/2PF58/kVc174WM84MFBTOJedwfHhCc/AWZFkmTKKfCiEgWDrRNg/m6/iw3Z7QKKZpwu6Mzkibpgl7A3j6nrvdLgaDgZwWKYoCc3NzuFiujNfTXECj0ZDmysV0Wd7b0dk6kRZ5tIqBwtTJQxtrayPQtNvtUXnGCUQcx6Om+caITSIYo/kvW5nsc+rChMjU6+GqqpAkCXzfl1klRZlOi51DNcbSB0iP+PB2r8K2gbo2YVnOxPVZS9PApmmi4TVw356P4/srT+GxS49jKV/Ckd5Lk2SA8YmPTe68OI5r5k+apnLkhwLptSrHVYYjYIiiSCKeYlPvIfBz+nHZ1dVVTE9PC9B3Tm/DA+/8OC4kS7hlft9Eo+LEyhlZ65ZwTPc8hE+WoEqnHfRz6ewD2IwqLuYtnSyMT/rrTXPWuizs9eG2TiH6gBsYn8ni794NgNWuUfU3+rqRiepEAOfqUsRZs9mUM8ikKkYymcQ0Tdw1dyfumrsTK8UqzmfnERURun4Xu1pvw32HP4Go3Bisu5vEQcDonDOBrR8gJBBfLRPcaHtIB7G0LnlcmCKNfWLW6Y1GA0mSIAxDTE1NCeOwXm6GId695045cqQD5n3X3I097R04G13EzvZWEbkMKtoOGItg3T7AONXaOl3qJQgBbxqmULN+/IRii08UEEX6kBsYFeccYuiNDl6nLEs0Dpbof2/MGoNnLWBnNHEMRU8hACZAAkCAVtc15q05bGluljUvZovi3I7dRstqybli9n7ZYSJFk/4HZYGlKkcrKbC6toYkSTAzMyPRwsgim3HgbpqmUC6HAzwwT9bjewwy/ntrcxN23bB9orbmYQm9maI3NhgM/X4fnuchCAJ0u12YjFo+f0Nn6xStn8Lnf0kPVMXMCfrzO41GQw6wEZ2cKtFRdV2jcfNkwyP6iSOdKDp3OBwKkLhm0zRxMj2JIAjkUDgpN0kSaRM+euG7cu3rO9fLmJBrzrJMGiT6wf4gCPCGUWEPRp2idrstRiZAWI8S3HEcYzgcSm+fdEkRSxBxkEExNhgMsLKyIg0N/iilZC+0K0HJc11JkmB5eRlpmqLdbqPb7cphf5uGopCS45pqI89h/PjG5flK79ywBLr85KJerzEyCA7SVfc2d6IeVpEl/V3mFDqWudwwDBwdvIK/uPhl7Ax24FD3VlzXuQ6721eMa/eqwJNrT+HxpSfk2j83fYcwFaOIgouAajabAsrX4hx3mh5sGxPOZHT2er3xMGMjh5NJOFgBIPsgxfIoLZ/aKIpCAmwwGIxOsbZacjKULNFut+UzuphjGlVqdP6azrZ1aiVye+UK0mp0AL7pdCZGfnqzYjgciuFZYtAZdKyeD0j/zPlkAP/KEjP/JkYZV/BvyuDdFklesS5Tpvp4cjVfhWd4OJ2cwenkDHAB8E0fs+4MLMPCYraEtE7FuXfP/xKubO2ZKOcYmQSfbouz8ShNLLi+lFzyxIDWxwaAJEnE2dPT0+h2u9LcoDBiRPZ6PUkLPArLpyF14TcYDKQBxVKU9+TJm+np6Yk6niCVQxpxHI9ym2PjycX/i6qq8J0LXxGjXNveLwqPG9cFlX58h9RJlOr5ksbTqZ5ITpIECx/LpT6uawXLGk9fdFWvN10O+PtxYPt+vFa8jp8mP8VPk+NYypZwNh3XvACw2V/A3fN34/apt4tTSY9kL0YsAaiUwqu2wlWmIyWTfj6b36UGASBzWPbt9aO4ZLzV1VXEcYx2u40wDEWc6XWwPrHL8xxxHKPRaMhQgVGtH9xnINEHnU5n5FdyPkyFPzr6sQnDTLmz+MWF98sCaAiKHUYkHc5ujH7qQxdG+iiORuJi2bfldyn6qNCpamkwqunQC3Fr4xbcPnvb6IyzyrCULCJFBlTArDuD+ca8gEXSwIbIs2174tC4uXFEp65rvJat44NuFzYMyaH6SQ7mbOZe0qzjOBgOh1hbWxPbtVotaZS4rotutytPaRBwbBoxXbK+1cs3Pl4Ux/HEoQt9P3oqtUUhw8CCvx1L6Xk0nTb2T78D//7aT2DKnhUhQKPrbUvmXzqZ0a4fs9XrRTYRdMDoM9fLH//g3BeApAayx+VizTAMdII2ukFHziH7ji/O1VmHOZQCktfguk4VKWYMC2aWQ22ATG+wsA3JmtjzPLRaLflMGIaSlgzDkKcE2cKlvei8tbU1tNvttzyPxXawZVkYDAYC7KmpKWlfMuh00VsUxQhEeZ6PUGmY+NKBRyeG+lSwzK/Mtfr4j1Gmd1YokFgG6TmXpRUdS4CQfimQ9C5SkiSjp9U3CnwChXSk53PWplyjjnD+6J0oRqUgfgMwR/MYu5QFZSlJQcyBHCcSvFw3GYlPWvDkCztRdDifVjRNE2tra/Id5l22H/W0SLsNBgMURYGZmRmZ0BHo7HsTSHEcj0SW3nTXGxN0Kg1HR+jjQxb+nGbopQybHUQYEXt5KaYfCmdOJ01xHk0j6umBNSvXTlGjHzan4bhGMgLVrk7NXK9lWThhKrwzBxzfEdahg/jwGwGoMxDfMwxD8ibnyrZtC/0T9Js2bZJqQu+GcT268CNQ+b+CYBeSnUZGPw8cDIdD/H+e11KJulu5ogAAAABJRU5ErkJggg==" } }</code> </pre> </span> <span id="execution-results-GETapi-captcha" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-captcha"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-captcha" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-captcha" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-captcha"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-captcha" data-method="GET" data-path="api/captcha" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-captcha', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-captcha" onclick="tryItOut('GETapi-captcha');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-captcha" onclick="cancelTryOut('GETapi-captcha');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-captcha" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/captcha</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-captcha" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-captcha" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-captcha" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-captcha" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-captcha" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> </form> <h1 id="categories">Categories</h1> <h2 id="categories-GETapi-categories">List categories</h2> <p> </p> <span id="example-requests-GETapi-categories"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/categories?parentId=0&nestedIncluded=0&embed=&sort=-lft&perPage=2&page=1" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/categories" ); const params = { "parentId": "0", "nestedIncluded": "0", "embed": "", "sort": "-lft", "perPage": "2", "page": "1", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/categories'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'parentId' => '0', 'nestedIncluded' => '0', 'embed' => '', 'sort' => '-lft', 'perPage' => '2', 'page' => '1', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/categories' params = { 'parentId': '0', 'nestedIncluded': '0', 'embed': '', 'sort': '-lft', 'perPage': '2', 'page': '1', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-categories"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "id": 15, "parent_id": null, "name": "Transportation & Logistics", "slug": "transportation-logistics", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 29, "rgt": 30, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png", "parentClosure": null }, { "id": 14, "parent_id": null, "name": "Tourism & Restaurants", "slug": "tourism-restaurants", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 27, "rgt": 28, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png", "parentClosure": null } ], "links": { "first": "https://jobclass.laraclassifier.local/api/categories?parentId=0&nestedIncluded=0&sort=-lft&perPage=2&page=1", "last": "https://jobclass.laraclassifier.local/api/categories?parentId=0&nestedIncluded=0&sort=-lft&perPage=2&page=8", "prev": null, "next": "https://jobclass.laraclassifier.local/api/categories?parentId=0&nestedIncluded=0&sort=-lft&perPage=2&page=2" }, "meta": { "current_page": 1, "from": 1, "last_page": 8, "links": [ { "url": null, "label": "&laquo; Previous", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/categories?parentId=0&nestedIncluded=0&sort=-lft&perPage=2&page=1", "label": "1", "active": true }, { "url": "https://jobclass.laraclassifier.local/api/categories?parentId=0&nestedIncluded=0&sort=-lft&perPage=2&page=2", "label": "2", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/categories?parentId=0&nestedIncluded=0&sort=-lft&perPage=2&page=3", "label": "3", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/categories?parentId=0&nestedIncluded=0&sort=-lft&perPage=2&page=4", "label": "4", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/categories?parentId=0&nestedIncluded=0&sort=-lft&perPage=2&page=5", "label": "5", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/categories?parentId=0&nestedIncluded=0&sort=-lft&perPage=2&page=6", "label": "6", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/categories?parentId=0&nestedIncluded=0&sort=-lft&perPage=2&page=7", "label": "7", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/categories?parentId=0&nestedIncluded=0&sort=-lft&perPage=2&page=8", "label": "8", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/categories?parentId=0&nestedIncluded=0&sort=-lft&perPage=2&page=2", "label": "Next &raquo;", "active": false } ], "path": "https://jobclass.laraclassifier.local/api/categories", "per_page": 2, "to": 2, "total": 15 } } }</code> </pre> </span> <span id="execution-results-GETapi-categories" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-categories"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-categories" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-categories" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-categories"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-categories" data-method="GET" data-path="api/categories" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-categories', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-categories" onclick="tryItOut('GETapi-categories');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-categories" onclick="cancelTryOut('GETapi-categories');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-categories" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/categories</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-categories" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-categories" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-categories" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-categories" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-categories" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>parentId</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="parentId" data-endpoint="GETapi-categories" value="0" data-component="query"> <br> <p>The ID of the parent category of the sub categories to retrieve. Example: <code>0</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>nestedIncluded</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="nestedIncluded" data-endpoint="GETapi-categories" value="0" data-component="query"> <br> <p>If parent ID is not provided, are nested entries will be included? - Possible values: 0,1. Example: <code>0</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-categories" value="" data-component="query"> <br> <p>The Comma-separated list of the category relationships for Eager Loading - Possible values: parent,children.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-categories" value="-lft" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: lft. Example: <code>-lft</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-categories" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>page</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="page" data-endpoint="GETapi-categories" value="1" data-component="query"> <br> <p>Items page number. From 1 to ("total items" divided by "items per page value - perPage"). Example: <code>1</code></p> </div> </form> <h2 id="categories-GETapi-categories--slugOrId-">Get category</h2> <p> </p> <p>Get category by its unique slug or ID.</p> <span id="example-requests-GETapi-categories--slugOrId-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/categories/1?parentCatSlug=engineering" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/categories/1" ); const params = { "parentCatSlug": "engineering", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/categories/1'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'parentCatSlug' => 'engineering', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/categories/1' params = { 'parentCatSlug': 'engineering', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-categories--slugOrId-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "id": 1, "parent_id": null, "name": "Engineering", "slug": "engineering", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 1, "rgt": 2, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png" } }</code> </pre> </span> <span id="execution-results-GETapi-categories--slugOrId-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-categories--slugOrId-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-categories--slugOrId-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-categories--slugOrId-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-categories--slugOrId-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-categories--slugOrId-" data-method="GET" data-path="api/categories/{slugOrId}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-categories--slugOrId-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-categories--slugOrId-" onclick="tryItOut('GETapi-categories--slugOrId-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-categories--slugOrId-" onclick="cancelTryOut('GETapi-categories--slugOrId-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-categories--slugOrId-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/categories/{slugOrId}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-categories--slugOrId-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-categories--slugOrId-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-categories--slugOrId-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-categories--slugOrId-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-categories--slugOrId-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>slugOrId</code></b> <small>string</small> <input type="text" style="display: none" name="slugOrId" data-endpoint="GETapi-categories--slugOrId-" value="1" data-component="url"> <br> <p>The slug or ID of the category. Example: <code>1</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>parentCatSlug</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="parentCatSlug" data-endpoint="GETapi-categories--slugOrId-" value="engineering" data-component="query"> <br> <p>The slug of the parent category to retrieve used when category's slug provided instead of ID. Example: <code>engineering</code></p> </div> </form> <h1 id="companies">Companies</h1> <h2 id="companies-GETapi-companies">List companies</h2> <p> </p> <span id="example-requests-GETapi-companies"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/companies?hasPosts=&countPosts=&belongLoggedUser=&q=&sort=created_at&perPage=2" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/companies" ); const params = { "hasPosts": "0", "countPosts": "0", "belongLoggedUser": "0", "q": "", "sort": "created_at", "perPage": "2", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/companies'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'hasPosts' => '0', 'countPosts' => '0', 'belongLoggedUser' => '0', 'q' => '', 'sort' => 'created_at', 'perPage' => '2', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/companies' params = { 'hasPosts': '0', 'countPosts': '0', 'belongLoggedUser': '0', 'q': '', 'sort': 'created_at', 'perPage': '2', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-companies"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "id": 704, "user_id": 1828, "name": "Schiller, Goyette And Strosin", "logo_path": "files/de/1828/14de9c75f3fbf24f1176e63a23765841.png", "description": "Et incidunt illo doloribus deleniti sequi quia et. Ullam sequi doloribus sed distinctio. Quasi est architecto accusantium et in. Odio voluptatum dolorum eius excepturi. Illum consequatur qui nobis.", "country_code": "DE", "city_id": 11949, "address": null, "phone": "+492993202274", "fax": "+14433039925", "email": "lebsack.elise@turcotte.com", "website": "http://qui.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/de/1828/thumbnails/320x240-14de9c75f3fbf24f1176e63a23765841.png", "small": "https://jobclass.laraclassifier.local/storage/files/de/1828/thumbnails/120x90-14de9c75f3fbf24f1176e63a23765841.png", "medium": "https://jobclass.laraclassifier.local/storage/files/de/1828/thumbnails/320x240-14de9c75f3fbf24f1176e63a23765841.png", "large": "https://jobclass.laraclassifier.local/storage/files/de/1828/thumbnails/816x460-14de9c75f3fbf24f1176e63a23765841.png" }, "posts_count": 0, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/de.png" }, { "id": 703, "user_id": 503, "name": "Bergnaum PLC", "logo_path": "files/lk/503/3a25aa4c10c77b0b58a9f5a576b76451.png", "description": "Atque deleniti provident quia dolorem esse sequi aut. Dignissimos est laboriosam sapiente voluptatem laudantium eaque dolores. Magnam aut minus explicabo doloribus aspernatur dolorem dolor.", "country_code": "LK", "city_id": 26683, "address": null, "phone": "+944450120640", "fax": "520-408-9564", "email": "stanton.bernadine@kerluke.com", "website": "http://a.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/lk/503/thumbnails/320x240-3a25aa4c10c77b0b58a9f5a576b76451.png", "small": "https://jobclass.laraclassifier.local/storage/files/lk/503/thumbnails/120x90-3a25aa4c10c77b0b58a9f5a576b76451.png", "medium": "https://jobclass.laraclassifier.local/storage/files/lk/503/thumbnails/320x240-3a25aa4c10c77b0b58a9f5a576b76451.png", "large": "https://jobclass.laraclassifier.local/storage/files/lk/503/thumbnails/816x460-3a25aa4c10c77b0b58a9f5a576b76451.png" }, "posts_count": 0, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/lk.png" } ], "links": { "first": "https://jobclass.laraclassifier.local/api/companies?page=1", "last": "https://jobclass.laraclassifier.local/api/companies?page=352", "prev": null, "next": "https://jobclass.laraclassifier.local/api/companies?page=2" }, "meta": { "current_page": 1, "from": 1, "last_page": 352, "links": [ { "url": null, "label": "&laquo; Previous", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/companies?page=1", "label": "1", "active": true }, { "url": "https://jobclass.laraclassifier.local/api/companies?page=2", "label": "2", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/companies?page=3", "label": "3", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/companies?page=4", "label": "4", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/companies?page=5", "label": "5", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/companies?page=6", "label": "6", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/companies?page=7", "label": "7", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/companies?page=8", "label": "8", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/companies?page=9", "label": "9", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/companies?page=10", "label": "10", "active": false }, { "url": null, "label": "...", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/companies?page=351", "label": "351", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/companies?page=352", "label": "352", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/companies?page=2", "label": "Next &raquo;", "active": false } ], "path": "https://jobclass.laraclassifier.local/api/companies", "per_page": 2, "to": 2, "total": 704 } } }</code> </pre> </span> <span id="execution-results-GETapi-companies" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-companies"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-companies" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-companies" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-companies"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-companies" data-method="GET" data-path="api/companies" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-companies', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-companies" onclick="tryItOut('GETapi-companies');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-companies" onclick="cancelTryOut('GETapi-companies');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-companies" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/companies</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-companies" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-companies" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-companies" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-companies" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-companies" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>hasPosts</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-companies" style="display: none"> <input type="radio" name="hasPosts" value="1" data-endpoint="GETapi-companies" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-companies" style="display: none"> <input type="radio" name="hasPosts" value="0" data-endpoint="GETapi-companies" data-component="query" > <code>false</code> </label> <br> <p>Do entries have Post(s)? - Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>countPosts</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-companies" style="display: none"> <input type="radio" name="countPosts" value="1" data-endpoint="GETapi-companies" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-companies" style="display: none"> <input type="radio" name="countPosts" value="0" data-endpoint="GETapi-companies" data-component="query" > <code>false</code> </label> <br> <p>Count posts number for each entry? - Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>belongLoggedUser</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-companies" style="display: none"> <input type="radio" name="belongLoggedUser" value="1" data-endpoint="GETapi-companies" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-companies" style="display: none"> <input type="radio" name="belongLoggedUser" value="0" data-endpoint="GETapi-companies" data-component="query" > <code>false</code> </label> <br> <p>Force users to be logged to get data that belongs to him - Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>q</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="q" data-endpoint="GETapi-companies" value="" data-component="query"> <br> <p>Get the company list related to the entered keyword.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-companies" value="created_at" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: created_at, name. Example: <code>created_at</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-companies" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> </form> <h2 id="companies-GETapi-companies--id-">Get company</h2> <p> </p> <span id="example-requests-GETapi-companies--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/companies/44?belongLoggedUser=&embed=user" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/companies/44" ); const params = { "belongLoggedUser": "0", "embed": "user", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/companies/44'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'belongLoggedUser' => '0', 'embed' => 'user', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/companies/44' params = { 'belongLoggedUser': '0', 'embed': 'user', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-companies--id-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "id": 44, "user_id": 3, "name": "Schiller PLC", "logo_path": "files/us/3/c504c58cb536ec714ea41410297d924a.png", "description": "Iure temporibus quod repellendus cumque. Neque recusandae odio commodi voluptatem ut sint distinctio. Ipsam et id distinctio est. Saepe laborum fugit provident.", "country_code": "US", "city_id": 44486, "address": null, "phone": "+14786886230", "fax": "1-716-843-6002", "email": "orpha.reichel@example.org", "website": "http://ratione.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/3/thumbnails/320x240-c504c58cb536ec714ea41410297d924a.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/3/thumbnails/120x90-c504c58cb536ec714ea41410297d924a.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/3/thumbnails/320x240-c504c58cb536ec714ea41410297d924a.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/3/thumbnails/816x460-c504c58cb536ec714ea41410297d924a.png" }, "posts_count": 0, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "user": { "id": 3, "name": "Company Demo", "username": "democompany", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2024-11-09T13:16:13.000000Z", "original_updated_at": "2024-11-09 13:16:13", "original_last_activity": null, "created_at_formatted": "Oct 13th, 2024 at 05:58", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/3/thumbnails/800x800-34a23fca2c8025c1b78e15d41e2617df.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" } } }</code> </pre> </span> <span id="execution-results-GETapi-companies--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-companies--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-companies--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-companies--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-companies--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-companies--id-" data-method="GET" data-path="api/companies/{id}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-companies--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-companies--id-" onclick="tryItOut('GETapi-companies--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-companies--id-" onclick="cancelTryOut('GETapi-companies--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-companies--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/companies/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-companies--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-companies--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-companies--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-companies--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-companies--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-companies--id-" value="44" data-component="url"> <br> <p>The company's ID. Example: <code>44</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>belongLoggedUser</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-companies--id-" style="display: none"> <input type="radio" name="belongLoggedUser" value="1" data-endpoint="GETapi-companies--id-" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-companies--id-" style="display: none"> <input type="radio" name="belongLoggedUser" value="0" data-endpoint="GETapi-companies--id-" data-component="query" > <code>false</code> </label> <br> <p>Check if entry is belonged the logged user - Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-companies--id-" value="user" data-component="query"> <br> <p>The Comma-separated list of the company relationships for Eager Loading - Possible values: user,city,subAdmin1,subAdmin2. Example: <code>user</code></p> </div> </form> <h2 id="companies-POSTapi-companies">Store company</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-POSTapi-companies"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/companies" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: multipart/form-data" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --form "company[name]=dicta"\ --form "company[description]=rerum"\ --form "company[website]=https://dooley.com/officia-aut-a-rerum-inventore-omnis-ratione-error.html"\ --form "company[facebook]=https://reinger.com/voluptatem-aut-voluptatem-quam-ipsa-libero-quis-at.html"\ --form "company[twitter]=https://www.spinka.com/suscipit-eos-non-alias-debitis-eligendi-temporibus-cum-facilis"\ --form "company[linkedin]=http://kautzer.com/"\ --form "company[pinterest]=http://www.cummerata.com/ut-unde-iste-quia-nobis-omnis"\ --form "company[0][country_code]=US"\ --form "company[0][name]=Foo Inc"\ --form "company[0][description]=Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia."\ --form "company[0][city_id]=3"\ --form "company[0][address]=5 rue de l'Echelle"\ --form "company[0][phone]=+17656766467"\ --form "company[0][fax]=+80159266712"\ --form "company[0][email]=contact@domain.tld"\ --form "company[0][website]=https://domain.tld"\ --form "company[0][facebook]=autem"\ --form "company[0][twitter]=quam"\ --form "company[0][linkedin]=dolores"\ --form "company[0][pinterest]=tempora"\ --form "company[][logo_path]=@/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpGJJGeZ" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/companies" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "multipart/form-data", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; const body = new FormData(); body.append('company[name]', 'dicta'); body.append('company[description]', 'rerum'); body.append('company[website]', 'https://dooley.com/officia-aut-a-rerum-inventore-omnis-ratione-error.html'); body.append('company[facebook]', 'https://reinger.com/voluptatem-aut-voluptatem-quam-ipsa-libero-quis-at.html'); body.append('company[twitter]', 'https://www.spinka.com/suscipit-eos-non-alias-debitis-eligendi-temporibus-cum-facilis'); body.append('company[linkedin]', 'http://kautzer.com/'); body.append('company[pinterest]', 'http://www.cummerata.com/ut-unde-iste-quia-nobis-omnis'); body.append('company[0][country_code]', 'US'); body.append('company[0][name]', 'Foo Inc'); body.append('company[0][description]', 'Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia.'); body.append('company[0][city_id]', '3'); body.append('company[0][address]', '5 rue de l'Echelle'); body.append('company[0][phone]', '+17656766467'); body.append('company[0][fax]', '+80159266712'); body.append('company[0][email]', 'contact@domain.tld'); body.append('company[0][website]', 'https://domain.tld'); body.append('company[0][facebook]', 'autem'); body.append('company[0][twitter]', 'quam'); body.append('company[0][linkedin]', 'dolores'); body.append('company[0][pinterest]', 'tempora'); body.append('company[][logo_path]', document.querySelector('input[name="company[][logo_path]"]').files[0]); fetch(url, { method: "POST", headers, body, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/companies'; $response = $client->post( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'multipart/form-data', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'multipart' => [ [ 'name' => 'company[name]', 'contents' => 'dicta' ], [ 'name' => 'company[description]', 'contents' => 'rerum' ], [ 'name' => 'company[website]', 'contents' => 'https://dooley.com/officia-aut-a-rerum-inventore-omnis-ratione-error.html' ], [ 'name' => 'company[facebook]', 'contents' => 'https://reinger.com/voluptatem-aut-voluptatem-quam-ipsa-libero-quis-at.html' ], [ 'name' => 'company[twitter]', 'contents' => 'https://www.spinka.com/suscipit-eos-non-alias-debitis-eligendi-temporibus-cum-facilis' ], [ 'name' => 'company[linkedin]', 'contents' => 'http://kautzer.com/' ], [ 'name' => 'company[pinterest]', 'contents' => 'http://www.cummerata.com/ut-unde-iste-quia-nobis-omnis' ], [ 'name' => 'company[0][country_code]', 'contents' => 'US' ], [ 'name' => 'company[0][name]', 'contents' => 'Foo Inc' ], [ 'name' => 'company[0][description]', 'contents' => 'Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia.' ], [ 'name' => 'company[0][city_id]', 'contents' => '3' ], [ 'name' => 'company[0][address]', 'contents' => '5 rue de l'Echelle' ], [ 'name' => 'company[0][phone]', 'contents' => '+17656766467' ], [ 'name' => 'company[0][fax]', 'contents' => '+80159266712' ], [ 'name' => 'company[0][email]', 'contents' => 'contact@domain.tld' ], [ 'name' => 'company[0][website]', 'contents' => 'https://domain.tld' ], [ 'name' => 'company[0][facebook]', 'contents' => 'autem' ], [ 'name' => 'company[0][twitter]', 'contents' => 'quam' ], [ 'name' => 'company[0][linkedin]', 'contents' => 'dolores' ], [ 'name' => 'company[0][pinterest]', 'contents' => 'tempora' ], [ 'name' => 'company[][logo_path]', 'contents' => fopen('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpGJJGeZ', 'r') ], ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/companies' files = { 'company[name]': (None, 'dicta'), 'company[description]': (None, 'rerum'), 'company[website]': (None, 'https://dooley.com/officia-aut-a-rerum-inventore-omnis-ratione-error.html'), 'company[facebook]': (None, 'https://reinger.com/voluptatem-aut-voluptatem-quam-ipsa-libero-quis-at.html'), 'company[twitter]': (None, 'https://www.spinka.com/suscipit-eos-non-alias-debitis-eligendi-temporibus-cum-facilis'), 'company[linkedin]': (None, 'http://kautzer.com/'), 'company[pinterest]': (None, 'http://www.cummerata.com/ut-unde-iste-quia-nobis-omnis'), 'company[0][country_code]': (None, 'US'), 'company[0][name]': (None, 'Foo Inc'), 'company[0][description]': (None, 'Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia.'), 'company[0][city_id]': (None, '3'), 'company[0][address]': (None, '5 rue de l'Echelle'), 'company[0][phone]': (None, '+17656766467'), 'company[0][fax]': (None, '+80159266712'), 'company[0][email]': (None, 'contact@domain.tld'), 'company[0][website]': (None, 'https://domain.tld'), 'company[0][facebook]': (None, 'autem'), 'company[0][twitter]': (None, 'quam'), 'company[0][linkedin]': (None, 'dolores'), 'company[0][pinterest]': (None, 'tempora'), 'company[][logo_path]': open('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpGJJGeZ', 'rb')} payload = { "company": { "name": "dicta", "description": "rerum", "website": "https:\/\/dooley.com\/officia-aut-a-rerum-inventore-omnis-ratione-error.html", "facebook": "https:\/\/reinger.com\/voluptatem-aut-voluptatem-quam-ipsa-libero-quis-at.html", "twitter": "https:\/\/www.spinka.com\/suscipit-eos-non-alias-debitis-eligendi-temporibus-cum-facilis", "linkedin": "http:\/\/kautzer.com\/", "pinterest": "http:\/\/www.cummerata.com\/ut-unde-iste-quia-nobis-omnis", "0": { "country_code": "US", "name": "Foo Inc", "description": "Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia.", "city_id": 3, "address": "5 rue de l'Echelle", "phone": "+17656766467", "fax": "+80159266712", "email": "contact@domain.tld", "website": "https:\/\/domain.tld", "facebook": "autem", "twitter": "quam", "linkedin": "dolores", "pinterest": "tempora" } } } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'multipart/form-data', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers, files=files) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-companies"> </span> <span id="execution-results-POSTapi-companies" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-companies"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-companies" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-companies" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-companies"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-companies" data-method="POST" data-path="api/companies" data-authed="1" data-hasfiles="1" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-companies', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-companies" onclick="tryItOut('POSTapi-companies');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-companies" onclick="cancelTryOut('POSTapi-companies');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-companies" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/companies</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="POSTapi-companies" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-companies" value="multipart/form-data" data-component="header"> <br> <p>Example: <code>multipart/form-data</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-companies" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-companies" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-companies" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-companies" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <details> <summary style="padding-bottom: 10px;"> <b style="line-height: 2;"><code>company</code></b> <small>object</small> <i>optional</i> <br> </summary> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>name</code></b> <small>string</small> <input type="text" style="display: none" name="company.0.name" data-endpoint="POSTapi-companies" value="Foo Inc" data-component="body"> <br> <p>The company's name. Example: <code>Foo Inc</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>description</code></b> <small>string</small> <input type="text" style="display: none" name="company.0.description" data-endpoint="POSTapi-companies" value="Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia." data-component="body"> <br> <p>The company's description. Example: <code>Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia.</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>website</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.website" data-endpoint="POSTapi-companies" value="https://domain.tld" data-component="body"> <br> <p>The company's website URL. Example: <code>https://domain.tld</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>facebook</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.facebook" data-endpoint="POSTapi-companies" value="autem" data-component="body"> <br> <p>The company's Facebook URL. Example: <code>autem</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>twitter</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.twitter" data-endpoint="POSTapi-companies" value="quam" data-component="body"> <br> <p>The company's Twitter URL. Example: <code>quam</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>linkedin</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.linkedin" data-endpoint="POSTapi-companies" value="dolores" data-component="body"> <br> <p>The company's LinkedIn URL. Example: <code>dolores</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>pinterest</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.pinterest" data-endpoint="POSTapi-companies" value="tempora" data-component="body"> <br> <p>The company's Pinterest URL. Example: <code>tempora</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>country_code</code></b> <small>string</small> <input type="text" style="display: none" name="company.0.country_code" data-endpoint="POSTapi-companies" value="US" data-component="body"> <br> <p>The code of the company's country. Example: <code>US</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>logo_path</code></b> <small>file</small> <i>optional</i> <input type="file" style="display: none" name="company.0.logo_path" data-endpoint="POSTapi-companies" value="" data-component="body"> <br> <p>The company's logo. Example: <code>/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpGJJGeZ</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>city_id</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="company.0.city_id" data-endpoint="POSTapi-companies" value="3" data-component="body"> <br> <p>The company city's ID. Example: <code>3</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>address</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.address" data-endpoint="POSTapi-companies" value="5 rue de l'Echelle" data-component="body"> <br> <p>The company's address. Example: <code>5 rue de l'Echelle</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>phone</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.phone" data-endpoint="POSTapi-companies" value="+17656766467" data-component="body"> <br> <p>The company's phone number. Example: <code>+17656766467</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>fax</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.fax" data-endpoint="POSTapi-companies" value="+80159266712" data-component="body"> <br> <p>The company's fax number. Example: <code>+80159266712</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>email</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.email" data-endpoint="POSTapi-companies" value="contact@domain.tld" data-component="body"> <br> <p>The company's email address. Example: <code>contact@domain.tld</code></p> </div> </details> </div> </form> <h2 id="companies-PUTapi-companies--id-">Update company</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-PUTapi-companies--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request PUT \ "https://jobclass.laraclassifier.local/api/companies/111111" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: multipart/form-data" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --form "company[name]=qui"\ --form "company[description]=aut"\ --form "company[website]=http://www.wiegand.com/quos-nostrum-in-eligendi"\ --form "company[facebook]=https://www.hickle.info/excepturi-et-vitae-quos-laudantium-porro"\ --form "company[twitter]=https://www.hilpert.com/dolores-voluptas-soluta-dolor-et-ipsa-harum"\ --form "company[linkedin]=http://www.howe.org/"\ --form "company[pinterest]=https://www.glover.org/nostrum-quibusdam-illo-iure-odio"\ --form "company[0][country_code]=US"\ --form "company[0][name]=Foo Inc"\ --form "company[0][description]=Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia."\ --form "company[0][city_id]=1"\ --form "company[0][address]=5 rue de l'Echelle"\ --form "company[0][phone]=+17656766467"\ --form "company[0][fax]=+80159266712"\ --form "company[0][email]=contact@domain.tld"\ --form "company[0][website]=https://domain.tld"\ --form "company[0][facebook]=quae"\ --form "company[0][twitter]=corporis"\ --form "company[0][linkedin]=facilis"\ --form "company[0][pinterest]=facilis"\ --form "company[][logo_path]=@/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpa1amMQ" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/companies/111111" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "multipart/form-data", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; const body = new FormData(); body.append('company[name]', 'qui'); body.append('company[description]', 'aut'); body.append('company[website]', 'http://www.wiegand.com/quos-nostrum-in-eligendi'); body.append('company[facebook]', 'https://www.hickle.info/excepturi-et-vitae-quos-laudantium-porro'); body.append('company[twitter]', 'https://www.hilpert.com/dolores-voluptas-soluta-dolor-et-ipsa-harum'); body.append('company[linkedin]', 'http://www.howe.org/'); body.append('company[pinterest]', 'https://www.glover.org/nostrum-quibusdam-illo-iure-odio'); body.append('company[0][country_code]', 'US'); body.append('company[0][name]', 'Foo Inc'); body.append('company[0][description]', 'Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia.'); body.append('company[0][city_id]', '1'); body.append('company[0][address]', '5 rue de l'Echelle'); body.append('company[0][phone]', '+17656766467'); body.append('company[0][fax]', '+80159266712'); body.append('company[0][email]', 'contact@domain.tld'); body.append('company[0][website]', 'https://domain.tld'); body.append('company[0][facebook]', 'quae'); body.append('company[0][twitter]', 'corporis'); body.append('company[0][linkedin]', 'facilis'); body.append('company[0][pinterest]', 'facilis'); body.append('company[][logo_path]', document.querySelector('input[name="company[][logo_path]"]').files[0]); fetch(url, { method: "PUT", headers, body, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/companies/111111'; $response = $client->put( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'multipart/form-data', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'multipart' => [ [ 'name' => 'company[name]', 'contents' => 'qui' ], [ 'name' => 'company[description]', 'contents' => 'aut' ], [ 'name' => 'company[website]', 'contents' => 'http://www.wiegand.com/quos-nostrum-in-eligendi' ], [ 'name' => 'company[facebook]', 'contents' => 'https://www.hickle.info/excepturi-et-vitae-quos-laudantium-porro' ], [ 'name' => 'company[twitter]', 'contents' => 'https://www.hilpert.com/dolores-voluptas-soluta-dolor-et-ipsa-harum' ], [ 'name' => 'company[linkedin]', 'contents' => 'http://www.howe.org/' ], [ 'name' => 'company[pinterest]', 'contents' => 'https://www.glover.org/nostrum-quibusdam-illo-iure-odio' ], [ 'name' => 'company[0][country_code]', 'contents' => 'US' ], [ 'name' => 'company[0][name]', 'contents' => 'Foo Inc' ], [ 'name' => 'company[0][description]', 'contents' => 'Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia.' ], [ 'name' => 'company[0][city_id]', 'contents' => '1' ], [ 'name' => 'company[0][address]', 'contents' => '5 rue de l'Echelle' ], [ 'name' => 'company[0][phone]', 'contents' => '+17656766467' ], [ 'name' => 'company[0][fax]', 'contents' => '+80159266712' ], [ 'name' => 'company[0][email]', 'contents' => 'contact@domain.tld' ], [ 'name' => 'company[0][website]', 'contents' => 'https://domain.tld' ], [ 'name' => 'company[0][facebook]', 'contents' => 'quae' ], [ 'name' => 'company[0][twitter]', 'contents' => 'corporis' ], [ 'name' => 'company[0][linkedin]', 'contents' => 'facilis' ], [ 'name' => 'company[0][pinterest]', 'contents' => 'facilis' ], [ 'name' => 'company[][logo_path]', 'contents' => fopen('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpa1amMQ', 'r') ], ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/companies/111111' files = { 'company[name]': (None, 'qui'), 'company[description]': (None, 'aut'), 'company[website]': (None, 'http://www.wiegand.com/quos-nostrum-in-eligendi'), 'company[facebook]': (None, 'https://www.hickle.info/excepturi-et-vitae-quos-laudantium-porro'), 'company[twitter]': (None, 'https://www.hilpert.com/dolores-voluptas-soluta-dolor-et-ipsa-harum'), 'company[linkedin]': (None, 'http://www.howe.org/'), 'company[pinterest]': (None, 'https://www.glover.org/nostrum-quibusdam-illo-iure-odio'), 'company[0][country_code]': (None, 'US'), 'company[0][name]': (None, 'Foo Inc'), 'company[0][description]': (None, 'Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia.'), 'company[0][city_id]': (None, '1'), 'company[0][address]': (None, '5 rue de l'Echelle'), 'company[0][phone]': (None, '+17656766467'), 'company[0][fax]': (None, '+80159266712'), 'company[0][email]': (None, 'contact@domain.tld'), 'company[0][website]': (None, 'https://domain.tld'), 'company[0][facebook]': (None, 'quae'), 'company[0][twitter]': (None, 'corporis'), 'company[0][linkedin]': (None, 'facilis'), 'company[0][pinterest]': (None, 'facilis'), 'company[][logo_path]': open('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpa1amMQ', 'rb')} payload = { "company": { "name": "qui", "description": "aut", "website": "http:\/\/www.wiegand.com\/quos-nostrum-in-eligendi", "facebook": "https:\/\/www.hickle.info\/excepturi-et-vitae-quos-laudantium-porro", "twitter": "https:\/\/www.hilpert.com\/dolores-voluptas-soluta-dolor-et-ipsa-harum", "linkedin": "http:\/\/www.howe.org\/", "pinterest": "https:\/\/www.glover.org\/nostrum-quibusdam-illo-iure-odio", "0": { "country_code": "US", "name": "Foo Inc", "description": "Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia.", "city_id": 1, "address": "5 rue de l'Echelle", "phone": "+17656766467", "fax": "+80159266712", "email": "contact@domain.tld", "website": "https:\/\/domain.tld", "facebook": "quae", "twitter": "corporis", "linkedin": "facilis", "pinterest": "facilis" } } } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'multipart/form-data', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('PUT', url, headers=headers, files=files) response.json()</code></pre></div> </span> <span id="example-responses-PUTapi-companies--id-"> </span> <span id="execution-results-PUTapi-companies--id-" hidden> <blockquote>Received response<span id="execution-response-status-PUTapi-companies--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-PUTapi-companies--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-PUTapi-companies--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-PUTapi-companies--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-PUTapi-companies--id-" data-method="PUT" data-path="api/companies/{id}" data-authed="1" data-hasfiles="1" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('PUTapi-companies--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-PUTapi-companies--id-" onclick="tryItOut('PUTapi-companies--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-PUTapi-companies--id-" onclick="cancelTryOut('PUTapi-companies--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-PUTapi-companies--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-darkblue">PUT</small> <b><code>api/companies/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="PUTapi-companies--id-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="PUTapi-companies--id-" value="multipart/form-data" data-component="header"> <br> <p>Example: <code>multipart/form-data</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="PUTapi-companies--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="PUTapi-companies--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="PUTapi-companies--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="PUTapi-companies--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="PUTapi-companies--id-" value="111111" data-component="url"> <br> <p>The company's ID. Example: <code>111111</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <details> <summary style="padding-bottom: 10px;"> <b style="line-height: 2;"><code>company</code></b> <small>object</small> <i>optional</i> <br> </summary> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>name</code></b> <small>string</small> <input type="text" style="display: none" name="company.0.name" data-endpoint="PUTapi-companies--id-" value="Foo Inc" data-component="body"> <br> <p>The company's name. Example: <code>Foo Inc</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>description</code></b> <small>string</small> <input type="text" style="display: none" name="company.0.description" data-endpoint="PUTapi-companies--id-" value="Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia." data-component="body"> <br> <p>The company's description. Example: <code>Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia.</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>website</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.website" data-endpoint="PUTapi-companies--id-" value="https://domain.tld" data-component="body"> <br> <p>The company's website URL. Example: <code>https://domain.tld</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>facebook</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.facebook" data-endpoint="PUTapi-companies--id-" value="quae" data-component="body"> <br> <p>The company's Facebook URL. Example: <code>quae</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>twitter</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.twitter" data-endpoint="PUTapi-companies--id-" value="corporis" data-component="body"> <br> <p>The company's Twitter URL. Example: <code>corporis</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>linkedin</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.linkedin" data-endpoint="PUTapi-companies--id-" value="facilis" data-component="body"> <br> <p>The company's LinkedIn URL. Example: <code>facilis</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>pinterest</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.pinterest" data-endpoint="PUTapi-companies--id-" value="facilis" data-component="body"> <br> <p>The company's Pinterest URL. Example: <code>facilis</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>country_code</code></b> <small>string</small> <input type="text" style="display: none" name="company.0.country_code" data-endpoint="PUTapi-companies--id-" value="US" data-component="body"> <br> <p>The code of the company's country. Example: <code>US</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>logo_path</code></b> <small>file</small> <i>optional</i> <input type="file" style="display: none" name="company.0.logo_path" data-endpoint="PUTapi-companies--id-" value="" data-component="body"> <br> <p>The company's logo. Example: <code>/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpa1amMQ</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>city_id</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="company.0.city_id" data-endpoint="PUTapi-companies--id-" value="1" data-component="body"> <br> <p>The company city's ID. Example: <code>1</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>address</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.address" data-endpoint="PUTapi-companies--id-" value="5 rue de l'Echelle" data-component="body"> <br> <p>The company's address. Example: <code>5 rue de l'Echelle</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>phone</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.phone" data-endpoint="PUTapi-companies--id-" value="+17656766467" data-component="body"> <br> <p>The company's phone number. Example: <code>+17656766467</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>fax</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.fax" data-endpoint="PUTapi-companies--id-" value="+80159266712" data-component="body"> <br> <p>The company's fax number. Example: <code>+80159266712</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>email</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="company.0.email" data-endpoint="PUTapi-companies--id-" value="contact@domain.tld" data-component="body"> <br> <p>The company's email address. Example: <code>contact@domain.tld</code></p> </div> </details> </div> </form> <h2 id="companies-DELETEapi-companies--ids-">Delete company(ies)</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-DELETEapi-companies--ids-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request DELETE \ "https://jobclass.laraclassifier.local/api/companies/111111,222222,333333" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/companies/111111,222222,333333" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "DELETE", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/companies/111111,222222,333333'; $response = $client->delete( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/companies/111111,222222,333333' headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('DELETE', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-DELETEapi-companies--ids-"> </span> <span id="execution-results-DELETEapi-companies--ids-" hidden> <blockquote>Received response<span id="execution-response-status-DELETEapi-companies--ids-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-DELETEapi-companies--ids-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-DELETEapi-companies--ids-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-DELETEapi-companies--ids-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-DELETEapi-companies--ids-" data-method="DELETE" data-path="api/companies/{ids}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('DELETEapi-companies--ids-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-DELETEapi-companies--ids-" onclick="tryItOut('DELETEapi-companies--ids-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-DELETEapi-companies--ids-" onclick="cancelTryOut('DELETEapi-companies--ids-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-DELETEapi-companies--ids-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-red">DELETE</small> <b><code>api/companies/{ids}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="DELETEapi-companies--ids-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="DELETEapi-companies--ids-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="DELETEapi-companies--ids-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="DELETEapi-companies--ids-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="DELETEapi-companies--ids-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="DELETEapi-companies--ids-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>ids</code></b> <small>string</small> <input type="text" style="display: none" name="ids" data-endpoint="DELETEapi-companies--ids-" value="111111,222222,333333" data-component="url"> <br> <p>The ID or comma-separated IDs list of company(ies). Example: <code>111111,222222,333333</code></p> </div> </form> <h1 id="contact">Contact</h1> <h2 id="contact-POSTapi-contact">Send Form</h2> <p> </p> <p>Send a message to the site owner.</p> <span id="example-requests-POSTapi-contact"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/contact" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --data "{ \"name\": \"voluptatum\", \"email\": \"john.doe@domain.tld\", \"phone\": \"expedita\", \"message\": \"Nesciunt porro possimus maiores voluptatibus accusamus velit qui aspernatur.\", \"country_code\": \"US\", \"country_name\": \"United Sates\", \"first_name\": \"John\", \"last_name\": \"Doe\", \"captcha_key\": \"eos\" }" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/contact" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; let body = { "name": "voluptatum", "email": "john.doe@domain.tld", "phone": "expedita", "message": "Nesciunt porro possimus maiores voluptatibus accusamus velit qui aspernatur.", "country_code": "US", "country_name": "United Sates", "first_name": "John", "last_name": "Doe", "captcha_key": "eos" }; fetch(url, { method: "POST", headers, body: JSON.stringify(body), }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/contact'; $response = $client->post( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'json' => [ 'name' => 'voluptatum', 'email' => 'john.doe@domain.tld', 'phone' => 'expedita', 'message' => 'Nesciunt porro possimus maiores voluptatibus accusamus velit qui aspernatur.', 'country_code' => 'US', 'country_name' => 'United Sates', 'first_name' => 'John', 'last_name' => 'Doe', 'captcha_key' => 'eos', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/contact' payload = { "name": "voluptatum", "email": "john.doe@domain.tld", "phone": "expedita", "message": "Nesciunt porro possimus maiores voluptatibus accusamus velit qui aspernatur.", "country_code": "US", "country_name": "United Sates", "first_name": "John", "last_name": "Doe", "captcha_key": "eos" } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers, json=payload) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-contact"> </span> <span id="execution-results-POSTapi-contact" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-contact"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-contact" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-contact" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-contact"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-contact" data-method="POST" data-path="api/contact" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-contact', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-contact" onclick="tryItOut('POSTapi-contact');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-contact" onclick="cancelTryOut('POSTapi-contact');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-contact" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/contact</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-contact" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-contact" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-contact" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-contact" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-contact" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>name</code></b> <small>string</small> <input type="text" style="display: none" name="name" data-endpoint="POSTapi-contact" value="voluptatum" data-component="body"> <br> <p>Example: <code>voluptatum</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>email</code></b> <small>string</small> <input type="text" style="display: none" name="email" data-endpoint="POSTapi-contact" value="john.doe@domain.tld" data-component="body"> <br> <p>The user's email address. Example: <code>john.doe@domain.tld</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone</code></b> <small>string</small> <input type="text" style="display: none" name="phone" data-endpoint="POSTapi-contact" value="expedita" data-component="body"> <br> <p>Example: <code>expedita</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>message</code></b> <small>string</small> <input type="text" style="display: none" name="message" data-endpoint="POSTapi-contact" value="Nesciunt porro possimus maiores voluptatibus accusamus velit qui aspernatur." data-component="body"> <br> <p>The message to send. Example: <code>Nesciunt porro possimus maiores voluptatibus accusamus velit qui aspernatur.</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>country_code</code></b> <small>string</small> <input type="text" style="display: none" name="country_code" data-endpoint="POSTapi-contact" value="US" data-component="body"> <br> <p>The user's country code. Example: <code>US</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>country_name</code></b> <small>string</small> <input type="text" style="display: none" name="country_name" data-endpoint="POSTapi-contact" value="United Sates" data-component="body"> <br> <p>The user's country name. Example: <code>United Sates</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>first_name</code></b> <small>string</small> <input type="text" style="display: none" name="first_name" data-endpoint="POSTapi-contact" value="John" data-component="body"> <br> <p>The user's first name. Example: <code>John</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>last_name</code></b> <small>string</small> <input type="text" style="display: none" name="last_name" data-endpoint="POSTapi-contact" value="Doe" data-component="body"> <br> <p>The user's last name. Example: <code>Doe</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>captcha_key</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="captcha_key" data-endpoint="POSTapi-contact" value="eos" data-component="body"> <br> <p>Key generated by the CAPTCHA endpoint calling (Required when the CAPTCHA verification is enabled from the Admin panel). Example: <code>eos</code></p> </div> </form> <h2 id="contact-POSTapi-posts--id--report">Report post</h2> <p> </p> <p>Report abuse or issues</p> <span id="example-requests-POSTapi-posts--id--report"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/posts/19/report" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --data "{ \"report_type_id\": 2, \"email\": \"john.doe@domain.tld\", \"message\": \"Et sunt voluptatibus ducimus id assumenda sint.\", \"captcha_key\": \"id\" }" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/posts/19/report" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; let body = { "report_type_id": 2, "email": "john.doe@domain.tld", "message": "Et sunt voluptatibus ducimus id assumenda sint.", "captcha_key": "id" }; fetch(url, { method: "POST", headers, body: JSON.stringify(body), }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/posts/19/report'; $response = $client->post( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'json' => [ 'report_type_id' => 2, 'email' => 'john.doe@domain.tld', 'message' => 'Et sunt voluptatibus ducimus id assumenda sint.', 'captcha_key' => 'id', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/posts/19/report' payload = { "report_type_id": 2, "email": "john.doe@domain.tld", "message": "Et sunt voluptatibus ducimus id assumenda sint.", "captcha_key": "id" } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers, json=payload) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-posts--id--report"> </span> <span id="execution-results-POSTapi-posts--id--report" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-posts--id--report"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-posts--id--report" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-posts--id--report" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-posts--id--report"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-posts--id--report" data-method="POST" data-path="api/posts/{id}/report" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-posts--id--report', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-posts--id--report" onclick="tryItOut('POSTapi-posts--id--report');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-posts--id--report" onclick="cancelTryOut('POSTapi-posts--id--report');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-posts--id--report" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/posts/{id}/report</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-posts--id--report" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-posts--id--report" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-posts--id--report" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-posts--id--report" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-posts--id--report" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="POSTapi-posts--id--report" value="19" data-component="url"> <br> <p>The post ID. Example: <code>19</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>report_type_id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="report_type_id" data-endpoint="POSTapi-posts--id--report" value="2" data-component="body"> <br> <p>The report type ID. Example: <code>2</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>email</code></b> <small>string</small> <input type="text" style="display: none" name="email" data-endpoint="POSTapi-posts--id--report" value="john.doe@domain.tld" data-component="body"> <br> <p>The user's email address. Example: <code>john.doe@domain.tld</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>message</code></b> <small>string</small> <input type="text" style="display: none" name="message" data-endpoint="POSTapi-posts--id--report" value="Et sunt voluptatibus ducimus id assumenda sint." data-component="body"> <br> <p>The message to send. Example: <code>Et sunt voluptatibus ducimus id assumenda sint.</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>captcha_key</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="captcha_key" data-endpoint="POSTapi-posts--id--report" value="id" data-component="body"> <br> <p>Key generated by the CAPTCHA endpoint calling (Required when the CAPTCHA verification is enabled from the Admin panel). Example: <code>id</code></p> </div> </form> <h2 id="contact-POSTapi-posts--id--sendByEmail">Send Post by Email</h2> <p> </p> <span id="example-requests-POSTapi-posts--id--sendByEmail"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/posts/642/sendByEmail" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --data "{ \"sender_email\": \"john.doe@domain.tld\", \"recipient_email\": \"foo@domain.tld\" }" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/posts/642/sendByEmail" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; let body = { "sender_email": "john.doe@domain.tld", "recipient_email": "foo@domain.tld" }; fetch(url, { method: "POST", headers, body: JSON.stringify(body), }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/posts/642/sendByEmail'; $response = $client->post( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'json' => [ 'sender_email' => 'john.doe@domain.tld', 'recipient_email' => 'foo@domain.tld', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/posts/642/sendByEmail' payload = { "sender_email": "john.doe@domain.tld", "recipient_email": "foo@domain.tld" } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers, json=payload) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-posts--id--sendByEmail"> </span> <span id="execution-results-POSTapi-posts--id--sendByEmail" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-posts--id--sendByEmail"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-posts--id--sendByEmail" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-posts--id--sendByEmail" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-posts--id--sendByEmail"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-posts--id--sendByEmail" data-method="POST" data-path="api/posts/{id}/sendByEmail" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-posts--id--sendByEmail', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-posts--id--sendByEmail" onclick="tryItOut('POSTapi-posts--id--sendByEmail');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-posts--id--sendByEmail" onclick="cancelTryOut('POSTapi-posts--id--sendByEmail');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-posts--id--sendByEmail" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/posts/{id}/sendByEmail</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-posts--id--sendByEmail" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-posts--id--sendByEmail" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-posts--id--sendByEmail" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-posts--id--sendByEmail" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-posts--id--sendByEmail" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="POSTapi-posts--id--sendByEmail" value="642" data-component="url"> <br> <p>The ID of the post. Example: <code>642</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sender_email</code></b> <small>string</small> <input type="text" style="display: none" name="sender_email" data-endpoint="POSTapi-posts--id--sendByEmail" value="john.doe@domain.tld" data-component="body"> <br> <p>The sender's email address. Example: <code>john.doe@domain.tld</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>recipient_email</code></b> <small>string</small> <input type="text" style="display: none" name="recipient_email" data-endpoint="POSTapi-posts--id--sendByEmail" value="foo@domain.tld" data-component="body"> <br> <p>The recipient's email address. Example: <code>foo@domain.tld</code></p> </div> </form> <h1 id="countries">Countries</h1> <h2 id="countries-GETapi-countries">List countries</h2> <p> </p> <span id="example-requests-GETapi-countries"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/countries?embed=&includeNonActive=&iti=%27onlyCountries%27&countryCode=&sort=-name&perPage=2" \ --header "Content-Language: en" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/countries" ); const params = { "embed": "", "includeNonActive": "0", "iti": "'onlyCountries'", "countryCode": "", "sort": "-name", "perPage": "2", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Language": "en", "Content-Type": "application/json", "Accept": "application/json", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/countries'; $response = $client->get( $url, [ 'headers' => [ 'Content-Language' => 'en', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', 'includeNonActive' => '0', 'iti' => ''onlyCountries'', 'countryCode' => '', 'sort' => '-name', 'perPage' => '2', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/countries' params = { 'embed': '', 'includeNonActive': '0', 'iti': ''onlyCountries'', 'countryCode': '', 'sort': '-name', 'perPage': '2', } headers = { 'Content-Language': 'en', 'Content-Type': 'application/json', 'Accept': 'application/json', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-countries"> <blockquote> <p>Example response (400):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "No data available. Only \"i18n\" and \"onlyCountries\" are accepted for the \"iti\" parameter.", "result": null }</code> </pre> </span> <span id="execution-results-GETapi-countries" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-countries"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-countries" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-countries" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-countries"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-countries" data-method="GET" data-path="api/countries" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-countries', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-countries" onclick="tryItOut('GETapi-countries');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-countries" onclick="cancelTryOut('GETapi-countries');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-countries" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/countries</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-countries" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-countries" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-countries" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-countries" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-countries" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-countries" value="" data-component="query"> <br> <p>Comma-separated list of the country relationships for Eager Loading - Possible values: currency,continent.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>includeNonActive</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-countries" style="display: none"> <input type="radio" name="includeNonActive" value="1" data-endpoint="GETapi-countries" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-countries" style="display: none"> <input type="radio" name="includeNonActive" value="0" data-endpoint="GETapi-countries" data-component="query" > <code>false</code> </label> <br> <p>Allow including the non-activated countries in the list. Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>iti</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="iti" data-endpoint="GETapi-countries" value="'onlyCountries'" data-component="query"> <br> <p>Allow getting option data for the phone number input. Possible value: 'i18n' or 'onlyCountries'. Example: <code>'onlyCountries'</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>countryCode</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="countryCode" data-endpoint="GETapi-countries" value="" data-component="query"> <br> <p>The code of the current country (Only when the 'iti' parameter is filled to true).</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-countries" value="-name" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: name. Example: <code>-name</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-countries" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> </form> <h2 id="countries-GETapi-countries--code-">Get country</h2> <p> </p> <span id="example-requests-GETapi-countries--code-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/countries/DE?embed=currency" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/countries/DE" ); const params = { "embed": "currency", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/countries/DE'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => 'currency', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/countries/DE' params = { 'embed': 'currency', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-countries--code-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "code": "DE", "name": "Germany", "capital": "Berlin", "continent_code": "EU", "tld": ".de", "currency_code": "EUR", "phone": "49", "languages": "de", "time_zone": "Europe/Berlin", "date_format": null, "datetime_format": null, "background_image_path": "app/logo/header-67e824a8ef913.jpg", "admin_type": "1", "active": 1, "icode": "de", "flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/de.png", "flag16_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/de.png", "flag24_url": "https://jobclass.laraclassifier.local/images/flags/circle/24/de.png", "flag32_url": "https://jobclass.laraclassifier.local/images/flags/circle/32/de.png", "flag48_url": "https://jobclass.laraclassifier.local/images/flags/circle/48/de.png", "flag64_url": "https://jobclass.laraclassifier.local/images/flags/circle/64/de.png", "background_image_url": "https://jobclass.laraclassifier.local/storage/app/logo/thumbnails/2000x1000-header-67e824a8ef913.jpg", "currency": { "code": "EUR", "name": "Euro Member Countries", "symbol": "€", "html_entities": "€", "in_left": 0, "decimal_places": 2, "decimal_separator": ",", "thousand_separator": " " } } }</code> </pre> </span> <span id="execution-results-GETapi-countries--code-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-countries--code-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-countries--code-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-countries--code-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-countries--code-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-countries--code-" data-method="GET" data-path="api/countries/{code}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-countries--code-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-countries--code-" onclick="tryItOut('GETapi-countries--code-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-countries--code-" onclick="cancelTryOut('GETapi-countries--code-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-countries--code-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/countries/{code}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-countries--code-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-countries--code-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-countries--code-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-countries--code-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-countries--code-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>code</code></b> <small>string</small> <input type="text" style="display: none" name="code" data-endpoint="GETapi-countries--code-" value="DE" data-component="url"> <br> <p>The country's ISO 3166-1 code. Example: <code>DE</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-countries--code-" value="currency" data-component="query"> <br> <p>Comma-separated list of the country relationships for Eager Loading - Possible values: currency. Example: <code>currency</code></p> </div> </form> <h2 id="countries-GETapi-countries--countryCode--subAdmins1">List admin. divisions (1)</h2> <p> </p> <span id="example-requests-GETapi-countries--countryCode--subAdmins1"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?embed=&q=&sort=-name&perPage=2&page=1" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1" ); const params = { "embed": "", "q": "", "sort": "-name", "perPage": "2", "page": "1", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/countries/US/subAdmins1'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', 'q' => '', 'sort' => '-name', 'perPage' => '2', 'page' => '1', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/countries/US/subAdmins1' params = { 'embed': '', 'q': '', 'sort': '-name', 'perPage': '2', 'page': '1', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-countries--countryCode--subAdmins1"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "code": "US.WY", "country_code": "US", "name": "Wyoming", "active": 1 }, { "code": "US.WV", "country_code": "US", "name": "West Virginia", "active": 1 } ], "links": { "first": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=1", "last": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=26", "prev": null, "next": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=2" }, "meta": { "current_page": 1, "from": 1, "last_page": 26, "links": [ { "url": null, "label": "&laquo; Previous", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=1", "label": "1", "active": true }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=2", "label": "2", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=3", "label": "3", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=4", "label": "4", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=5", "label": "5", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=6", "label": "6", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=7", "label": "7", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=8", "label": "8", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=9", "label": "9", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=10", "label": "10", "active": false }, { "url": null, "label": "...", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=25", "label": "25", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=26", "label": "26", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?page=2", "label": "Next &raquo;", "active": false } ], "path": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1", "per_page": 2, "to": 2, "total": 51 } } }</code> </pre> </span> <span id="execution-results-GETapi-countries--countryCode--subAdmins1" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-countries--countryCode--subAdmins1"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-countries--countryCode--subAdmins1" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-countries--countryCode--subAdmins1" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-countries--countryCode--subAdmins1"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-countries--countryCode--subAdmins1" data-method="GET" data-path="api/countries/{countryCode}/subAdmins1" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-countries--countryCode--subAdmins1', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-countries--countryCode--subAdmins1" onclick="tryItOut('GETapi-countries--countryCode--subAdmins1');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-countries--countryCode--subAdmins1" onclick="cancelTryOut('GETapi-countries--countryCode--subAdmins1');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-countries--countryCode--subAdmins1" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/countries/{countryCode}/subAdmins1</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-countries--countryCode--subAdmins1" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-countries--countryCode--subAdmins1" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-countries--countryCode--subAdmins1" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-countries--countryCode--subAdmins1" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-countries--countryCode--subAdmins1" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>countryCode</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="countryCode" data-endpoint="GETapi-countries--countryCode--subAdmins1" value="US" data-component="url"> <br> <p>The country code of the country of the cities to retrieve. Example: <code>US</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-countries--countryCode--subAdmins1" value="" data-component="query"> <br> <p>Comma-separated list of the administrative division (1) relationships for Eager Loading - Possible values: country.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>q</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="q" data-endpoint="GETapi-countries--countryCode--subAdmins1" value="" data-component="query"> <br> <p>Get the administrative division list related to the entered keyword.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-countries--countryCode--subAdmins1" value="-name" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: name. Example: <code>-name</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-countries--countryCode--subAdmins1" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>page</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="page" data-endpoint="GETapi-countries--countryCode--subAdmins1" value="1" data-component="query"> <br> <p>Items page number. From 1 to ("total items" divided by "items per page value - perPage"). Example: <code>1</code></p> </div> </form> <h2 id="countries-GETapi-countries--countryCode--subAdmins2">List admin. divisions (2)</h2> <p> </p> <span id="example-requests-GETapi-countries--countryCode--subAdmins2"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?embed=&admin1Code=&q=&sort=-name&perPage=2&page=1" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2" ); const params = { "embed": "", "admin1Code": "", "q": "", "sort": "-name", "perPage": "2", "page": "1", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/countries/US/subAdmins2'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', 'admin1Code' => '', 'q' => '', 'sort' => '-name', 'perPage' => '2', 'page' => '1', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/countries/US/subAdmins2' params = { 'embed': '', 'admin1Code': '', 'q': '', 'sort': '-name', 'perPage': '2', 'page': '1', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-countries--countryCode--subAdmins2"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "code": "US.WY.045", "country_code": "US", "subadmin1_code": "US.WY", "name": "Weston County", "active": 1 }, { "code": "US.WY.043", "country_code": "US", "subadmin1_code": "US.WY", "name": "Washakie County", "active": 1 } ], "links": { "first": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=1", "last": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=1572", "prev": null, "next": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=2" }, "meta": { "current_page": 1, "from": 1, "last_page": 1572, "links": [ { "url": null, "label": "&laquo; Previous", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=1", "label": "1", "active": true }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=2", "label": "2", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=3", "label": "3", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=4", "label": "4", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=5", "label": "5", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=6", "label": "6", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=7", "label": "7", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=8", "label": "8", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=9", "label": "9", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=10", "label": "10", "active": false }, { "url": null, "label": "...", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=1571", "label": "1571", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=1572", "label": "1572", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?page=2", "label": "Next &raquo;", "active": false } ], "path": "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2", "per_page": 2, "to": 2, "total": 3143 } } }</code> </pre> </span> <span id="execution-results-GETapi-countries--countryCode--subAdmins2" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-countries--countryCode--subAdmins2"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-countries--countryCode--subAdmins2" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-countries--countryCode--subAdmins2" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-countries--countryCode--subAdmins2"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-countries--countryCode--subAdmins2" data-method="GET" data-path="api/countries/{countryCode}/subAdmins2" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-countries--countryCode--subAdmins2', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-countries--countryCode--subAdmins2" onclick="tryItOut('GETapi-countries--countryCode--subAdmins2');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-countries--countryCode--subAdmins2" onclick="cancelTryOut('GETapi-countries--countryCode--subAdmins2');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-countries--countryCode--subAdmins2" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/countries/{countryCode}/subAdmins2</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-countries--countryCode--subAdmins2" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-countries--countryCode--subAdmins2" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-countries--countryCode--subAdmins2" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-countries--countryCode--subAdmins2" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-countries--countryCode--subAdmins2" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>countryCode</code></b> <small>string</small> <input type="text" style="display: none" name="countryCode" data-endpoint="GETapi-countries--countryCode--subAdmins2" value="US" data-component="url"> <br> <p>The country code of the country of the cities to retrieve. Example: <code>US</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-countries--countryCode--subAdmins2" value="" data-component="query"> <br> <p>Comma-separated list of the administrative division (2) relationships for Eager Loading - Possible values: country,subAdmin1.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>admin1Code</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="admin1Code" data-endpoint="GETapi-countries--countryCode--subAdmins2" value="" data-component="query"> <br> <p>Get the administrative division 2 list related to the administrative division 1 code.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>q</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="q" data-endpoint="GETapi-countries--countryCode--subAdmins2" value="" data-component="query"> <br> <p>Get the administrative division 2 list related to the entered keyword.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-countries--countryCode--subAdmins2" value="-name" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: name. Example: <code>-name</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-countries--countryCode--subAdmins2" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>page</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="page" data-endpoint="GETapi-countries--countryCode--subAdmins2" value="1" data-component="query"> <br> <p>Items page number. From 1 to ("total items" divided by "items per page value - perPage"). Example: <code>1</code></p> </div> </form> <h2 id="countries-GETapi-countries--countryCode--cities">List cities</h2> <p> </p> <span id="example-requests-GETapi-countries--countryCode--cities"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/countries/US/cities?embed=&admin1Code=&admin2Code=&q=&autocomplete=&sort=-name&perPage=2&page=1" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/countries/US/cities" ); const params = { "embed": "", "admin1Code": "", "admin2Code": "", "q": "", "autocomplete": "0", "sort": "-name", "perPage": "2", "page": "1", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/countries/US/cities'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', 'admin1Code' => '', 'admin2Code' => '', 'q' => '', 'autocomplete' => '0', 'sort' => '-name', 'perPage' => '2', 'page' => '1', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/countries/US/cities' params = { 'embed': '', 'admin1Code': '', 'admin2Code': '', 'q': '', 'autocomplete': '0', 'sort': '-name', 'perPage': '2', 'page': '1', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-countries--countryCode--cities"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "id": 50797, "country_code": "US", "name": "Communications Hill", "latitude": 37.29, "longitude": -121.86, "subadmin1_code": "US.CA", "subadmin2_code": "US.CA.085", "population": 11267, "time_zone": "America/Los_Angeles", "active": 1, "posts_count": 0 }, { "id": 50796, "country_code": "US", "name": "James Island", "latitude": 32.72, "longitude": -79.96, "subadmin1_code": "US.SC", "subadmin2_code": "US.SC.019", "population": 6000, "time_zone": "America/New_York", "active": 1, "posts_count": 0 } ], "links": { "first": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=1", "last": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=3600", "prev": null, "next": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=2" }, "meta": { "current_page": 1, "from": 1, "last_page": 3600, "links": [ { "url": null, "label": "&laquo; Previous", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=1", "label": "1", "active": true }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=2", "label": "2", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=3", "label": "3", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=4", "label": "4", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=5", "label": "5", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=6", "label": "6", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=7", "label": "7", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=8", "label": "8", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=9", "label": "9", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=10", "label": "10", "active": false }, { "url": null, "label": "...", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=3599", "label": "3599", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=3600", "label": "3600", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/countries/US/cities?page=2", "label": "Next &raquo;", "active": false } ], "path": "https://jobclass.laraclassifier.local/api/countries/US/cities", "per_page": 2, "to": 2, "total": 7200 } } }</code> </pre> </span> <span id="execution-results-GETapi-countries--countryCode--cities" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-countries--countryCode--cities"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-countries--countryCode--cities" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-countries--countryCode--cities" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-countries--countryCode--cities"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-countries--countryCode--cities" data-method="GET" data-path="api/countries/{countryCode}/cities" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-countries--countryCode--cities', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-countries--countryCode--cities" onclick="tryItOut('GETapi-countries--countryCode--cities');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-countries--countryCode--cities" onclick="cancelTryOut('GETapi-countries--countryCode--cities');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-countries--countryCode--cities" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/countries/{countryCode}/cities</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-countries--countryCode--cities" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-countries--countryCode--cities" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-countries--countryCode--cities" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-countries--countryCode--cities" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-countries--countryCode--cities" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>countryCode</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="countryCode" data-endpoint="GETapi-countries--countryCode--cities" value="US" data-component="url"> <br> <p>The country code of the country of the cities to retrieve. Example: <code>US</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-countries--countryCode--cities" value="" data-component="query"> <br> <p>Comma-separated list of the city relationships for Eager Loading - Possible values: country,subAdmin1,subAdmin2.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>admin1Code</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="admin1Code" data-endpoint="GETapi-countries--countryCode--cities" value="" data-component="query"> <br> <p>Get the city list related to the administrative division 1 code.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>admin2Code</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="admin2Code" data-endpoint="GETapi-countries--countryCode--cities" value="" data-component="query"> <br> <p>Get the city list related to the administrative division 2 code.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>q</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="q" data-endpoint="GETapi-countries--countryCode--cities" value="" data-component="query"> <br> <p>Get the city list related to the entered keyword.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>autocomplete</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-countries--countryCode--cities" style="display: none"> <input type="radio" name="autocomplete" value="1" data-endpoint="GETapi-countries--countryCode--cities" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-countries--countryCode--cities" style="display: none"> <input type="radio" name="autocomplete" value="0" data-endpoint="GETapi-countries--countryCode--cities" data-component="query" > <code>false</code> </label> <br> <p>Allow getting the city list in the autocomplete data format. Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-countries--countryCode--cities" value="-name" data-component="query"> <br> <p>string|array The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: name,population. Example: <code>-name</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-countries--countryCode--cities" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>page</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="page" data-endpoint="GETapi-countries--countryCode--cities" value="1" data-component="query"> <br> <p>Items page number. From 1 to ("total items" divided by "items per page value - perPage"). Example: <code>1</code></p> </div> </form> <h2 id="countries-GETapi-subAdmins1--code-">Get admin. division (1)</h2> <p> </p> <span id="example-requests-GETapi-subAdmins1--code-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/subAdmins1/CH.VD?embed=" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/subAdmins1/CH.VD" ); const params = { "embed": "", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/subAdmins1/CH.VD'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/subAdmins1/CH.VD' params = { 'embed': '', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-subAdmins1--code-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": "No administrative divisions found", "result": { "data": [], "links": { "first": "https://jobclass.laraclassifier.local/api/subAdmins1/CH.VD?page=1", "last": "https://jobclass.laraclassifier.local/api/subAdmins1/CH.VD?page=1", "prev": null, "next": null }, "meta": { "current_page": 1, "from": null, "last_page": 1, "links": [ { "url": null, "label": "&laquo; Previous", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/subAdmins1/CH.VD?page=1", "label": "1", "active": true }, { "url": null, "label": "Next &raquo;", "active": false } ], "path": "https://jobclass.laraclassifier.local/api/subAdmins1/CH.VD", "per_page": 39, "to": null, "total": 0 } } }</code> </pre> </span> <span id="execution-results-GETapi-subAdmins1--code-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-subAdmins1--code-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-subAdmins1--code-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-subAdmins1--code-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-subAdmins1--code-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-subAdmins1--code-" data-method="GET" data-path="api/subAdmins1/{code}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-subAdmins1--code-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-subAdmins1--code-" onclick="tryItOut('GETapi-subAdmins1--code-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-subAdmins1--code-" onclick="cancelTryOut('GETapi-subAdmins1--code-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-subAdmins1--code-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/subAdmins1/{code}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-subAdmins1--code-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-subAdmins1--code-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-subAdmins1--code-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-subAdmins1--code-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-subAdmins1--code-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>code</code></b> <small>string</small> <input type="text" style="display: none" name="code" data-endpoint="GETapi-subAdmins1--code-" value="CH.VD" data-component="url"> <br> <p>The administrative division (1)'s code. Example: <code>CH.VD</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-subAdmins1--code-" value="" data-component="query"> <br> <p>Comma-separated list of the administrative division (1) relationships for Eager Loading - Possible values: country.</p> </div> </form> <h2 id="countries-GETapi-subAdmins2--code-">Get admin. division (2)</h2> <p> </p> <span id="example-requests-GETapi-subAdmins2--code-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/subAdmins2/CH.VD.2225?embed=" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/subAdmins2/CH.VD.2225" ); const params = { "embed": "", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/subAdmins2/CH.VD.2225'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/subAdmins2/CH.VD.2225' params = { 'embed': '', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-subAdmins2--code-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "code": "CH.VD.2225", "country_code": "CH", "subadmin1_code": "CH.VD", "name": "Lausanne District", "active": 1 } }</code> </pre> </span> <span id="execution-results-GETapi-subAdmins2--code-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-subAdmins2--code-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-subAdmins2--code-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-subAdmins2--code-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-subAdmins2--code-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-subAdmins2--code-" data-method="GET" data-path="api/subAdmins2/{code}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-subAdmins2--code-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-subAdmins2--code-" onclick="tryItOut('GETapi-subAdmins2--code-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-subAdmins2--code-" onclick="cancelTryOut('GETapi-subAdmins2--code-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-subAdmins2--code-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/subAdmins2/{code}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-subAdmins2--code-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-subAdmins2--code-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-subAdmins2--code-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-subAdmins2--code-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-subAdmins2--code-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>code</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="code" data-endpoint="GETapi-subAdmins2--code-" value="CH.VD.2225" data-component="url"> <br> <p>The administrative division (2)'s code. Example: <code>CH.VD.2225</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-subAdmins2--code-" value="" data-component="query"> <br> <p>Comma-separated list of the administrative division (2) relationships for Eager Loading - Possible values: country,subAdmin1.</p> </div> </form> <h2 id="countries-GETapi-cities--id-">Get city</h2> <p> </p> <span id="example-requests-GETapi-cities--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/cities/12544?embed=country" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/cities/12544" ); const params = { "embed": "country", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/cities/12544'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => 'country', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/cities/12544' params = { 'embed': 'country', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-cities--id-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "id": 12544, "country_code": "DE", "name": "Berlin", "latitude": 52.52, "longitude": 13.41, "subadmin1_code": "DE.16", "subadmin2_code": "DE.16.00", "population": 3426354, "time_zone": "Europe/Berlin", "active": 1, "posts_count": 0, "country": { "code": "DE", "name": "Germany", "capital": "Berlin", "continent_code": "EU", "tld": ".de", "currency_code": "EUR", "phone": "49", "languages": "de", "time_zone": "Europe/Berlin", "date_format": null, "datetime_format": null, "background_image_path": "app/logo/header-67e824a8ef913.jpg", "admin_type": "1", "active": 1, "icode": "de", "flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/de.png", "flag16_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/de.png", "flag24_url": "https://jobclass.laraclassifier.local/images/flags/circle/24/de.png", "flag32_url": "https://jobclass.laraclassifier.local/images/flags/circle/32/de.png", "flag48_url": "https://jobclass.laraclassifier.local/images/flags/circle/48/de.png", "flag64_url": "https://jobclass.laraclassifier.local/images/flags/circle/64/de.png", "background_image_url": "https://jobclass.laraclassifier.local/storage/app/logo/thumbnails/2000x1000-header-67e824a8ef913.jpg" } } }</code> </pre> </span> <span id="execution-results-GETapi-cities--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-cities--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-cities--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-cities--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-cities--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-cities--id-" data-method="GET" data-path="api/cities/{id}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-cities--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-cities--id-" onclick="tryItOut('GETapi-cities--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-cities--id-" onclick="cancelTryOut('GETapi-cities--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-cities--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/cities/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-cities--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-cities--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-cities--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-cities--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-cities--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-cities--id-" value="12544" data-component="url"> <br> <p>The city ID. Example: <code>12544</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-cities--id-" value="country" data-component="query"> <br> <p>Comma-separated list of the city relationships for Eager Loading - Possible values: country,subAdmin1,subAdmin2. Example: <code>country</code></p> </div> </form> <h1 id="home">Home</h1> <h2 id="home-GETapi-sections">List sections</h2> <p> </p> <span id="example-requests-GETapi-sections"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/sections" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/sections" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/sections'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/sections' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-sections"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": { "search_form": { "belongs_to": "home", "key": "search_form", "data": [], "options": { "enable_form_area_customization": "1", "background_color": null, "background_image": null, "background_image_darken": "0.1", "height": null, "parallax": "0", "hide_form": "0", "form_border_color": null, "form_border_width": null, "form_btn_background_color": null, "form_btn_text_color": null, "hide_titles": "0", "title_en": "Find a job near you", "sub_title_en": "Simple, fast and efficient", "title_fr": "Trouver un emploi près de chez vous", "sub_title_fr": "Simple, rapide et efficace", "title_es": "Encuentre un trabajo cerca de usted", "sub_title_es": "Simple, rápido y eficiente", "title_ar": "ابحث عن وظيفة بالقرب منك", "sub_title_ar": "بسيط وسريع وفعال", "big_title_color": null, "sub_title_color": null, "active": "1", "enable_extended_form_area": "1", "background_image_path": null, "title_de": "Finden Sie einen Job in Ihrer Nähe", "sub_title_de": "Einfach, schnell und effizient", "title_it": "Trova un lavoro vicino a te", "sub_title_it": "Semplice, veloce ed efficiente", "title_ru": "Найдите работу рядом с вами", "sub_title_ru": "Просто, быстро и эффективно", "title_nl": "Vind een baan bij jou in de buurt", "sub_title_nl": "Eenvoudig, snel en efficiënt", "title_nb": "Finn en jobb nær deg", "sub_title_nb": "Enkelt, raskt og effektivt", "title_uk": "Знайдіть роботу поруч з вами", "sub_title_uk": "Просто, швидко та ефективно", "title_pl": "Znajdź pracę w pobliżu", "sub_title_pl": "Proste, szybkie i efektywne", "title_ro": "Găsește un loc de muncă aproape de tine", "sub_title_ro": "Simplu, rapid și eficient", "title_el": "Βρείτε δουλειά κοντά σας", "sub_title_el": "Απλό, γρήγορο και αποτελεσματικό", "title_pt": "Encontre um emprego perto de você", "sub_title_pt": "Simples, rápido e eficiente", "title_da": "Find et job nær dig", "sub_title_da": "Simpelt, hurtigt og effektivt", "title_sv": "Hitta ett jobb nära dig", "sub_title_sv": "Enkelt, snabbt och effektivt", "title_fi": "Etsi työpaikka lähelläsi", "sub_title_fi": "Yksinkertainen, nopea ja tehokas", "title_hu": "Keressen munkát a közelében", "sub_title_hu": "Egyszerű, gyors és hatékony", "title_sr": "Пронађите посао у вашој близини", "sub_title_sr": "Једноставно, брзо и ефикасно", "title_cs": "Najděte práci blízko vás", "sub_title_cs": "Jednoduché, rychlé a efektivní", "title_bg": "Намерете работа близо до вас", "sub_title_bg": "Просто, бързо и ефективно", "title_hr": "Pronađite posao u vašoj blizini", "sub_title_hr": "Jednostavno, brzo i učinkovito", "title_et": "Leia töökoht enda lähedal", "sub_title_et": "Lihtne, kiire ja tõhus", "title_lt": "Raskite darbą šalia jūsų", "sub_title_lt": "Paprasčiausias, greičiausias ir efektyviausias", "title_lv": "Atrodiet darbu netālu no jums", "sub_title_lv": "Vienkārši, ātri un efektīvi", "title_sk": "Nájdite prácu vo vašom okolí", "sub_title_sk": "Jednoduché, rýchle a efektívne", "title_sl": "Poiščite službo v vaši bližini", "sub_title_sl": "Enostavno, hitro in učinkovito", "title_is": "Finndu vinnu nálægt þér", "sub_title_is": "Einfalt, hratt og árangursríkt", "title_sq": "Gjeni një punë afër jush", "sub_title_sq": "E thjeshtë, e shpejtë dhe efikase", "background_image_url": null }, "lft": 0 }, "premium_listings": { "belongs_to": "home", "key": "premium_listings", "data": { "premium": null }, "options": { "max_items": "20", "order_by": "date", "autoplay": "1", "autoplay_timeout": null, "cache_expiration": "3600", "active": "1", "items_in_carousel": "1" }, "lft": 2 }, "latest_listings": { "belongs_to": "home", "key": "latest_listings", "data": { "latest": { "title": "<span style=\"font-weight: bold;\">Latest</span> Jobs", "link": "https://jobclass.laraclassifier.local/latest-jobs", "posts": [ { "id": 37, "country_code": "US", "user_id": 1, "payment_id": null, "company_id": 89, "company_name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "company_description": "", "category_id": 15, "post_type_id": 3, "title": "We are hiring a Help Desk Worker/Desktop Support", "excerpt": "Dolor provident eum repellendus earum veritatis voluptas voluptatem. Cumque occaecati libero blandit...", "description": "Dolor provident eum repellendus earum veritatis voluptas voluptatem. Cumque occaecati libero blanditiis quis dolores. Consequatur dolorum labore aut magni doloribus eveniet rerum. Necessitatibus officiis incidunt aliquid pariatur laborum eos asperiores facilis. Eum qui odit nulla tenetur assumenda enim voluptas ut. Provident architecto quo id ea expedita. Ab cupiditate dolores dolor a placeat voluptatem. Adipisci explicabo natus iste. Et magnam velit perspiciatis et nam. Unde sit earum facere provident odio qui.", "tags": [ "similique", "non", "rem" ], "salary_min": "65.00", "salary_max": "64843.00", "salary_type_id": 1, "currency_code": null, "negotiable": null, "start_date": null, "application_url": null, "contact_name": "Administrator", "address": null, "city_id": 46010, "lat": null, "lon": null, "create_from_ip": null, "latest_update_ip": null, "visits": null, "auth_field": "email", "email": "mayeul@domain.tld", "phone": "+12508473170", "phone_national": "(250) 847-3170", "phone_country": "US", "email_token": null, "phone_token": null, "email_verified_at": "2025-03-29T16:20:21.000000Z", "phone_verified_at": "2025-03-29T16:20:21.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": null, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": null, "locked_at": null, "phone_hidden": null, "accept_terms": null, "accept_marketing_offers": null, "featured": 1, "tmp_token": null, "reviewed_at": "2025-03-29T16:20:21.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-29T15:45:52.000000Z", "updated_at": "2025-05-17T08:25:34.031896Z", "reference": "4KGRb41dBLZ", "slug": "we-are-hiring-a-help-desk-worker-desktop-support", "url": "https://jobclass.laraclassifier.local/we-are-hiring-a-help-desk-worker-desktop-support/4KGRb41dBLZ", "phone_intl": "(250) 847-3170", "created_at_formatted": "1 month ago", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$65 - $64,843", "visits_formatted": "0 view", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" }, "category": { "id": 15, "parent_id": null, "name": "Transportation & Logistics", "slug": "transportation-logistics", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 29, "rgt": 30, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png", "parent": null }, "postType": { "id": 3, "name": "Temporary", "active": 1 }, "city": { "id": 46010, "country_code": "US", "name": "Highland Park", "latitude": 32.83, "longitude": -96.79, "subadmin1_code": "US.TX", "subadmin2_code": "US.TX.113", "population": 9189, "time_zone": "America/Chicago", "active": 1, "posts_count": 0 }, "payment": null, "company": { "id": 89, "user_id": 1, "name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "description": "Ipsum porro ratione incidunt numquam nemo. Ullam adipisci maxime nihil maxime dolore animi.", "country_code": "US", "city_id": 50725, "address": null, "phone": "+19753154964", "fax": "+1 (380) 472-6648", "email": "billie.cartwright@example.net", "website": "http://velit.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "posts_count": 0, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" } } }, { "id": 39, "country_code": "US", "user_id": 1, "payment_id": null, "company_id": 89, "company_name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "company_description": "", "category_id": 5, "post_type_id": 6, "title": "Alert: Well Driller", "excerpt": "Impedit beatae ut quia dicta voluptas sit et amet. Nesciunt autem et quis dolor odit inventore nostr...", "description": "Impedit beatae ut quia dicta voluptas sit et amet. Nesciunt autem et quis dolor odit inventore nostrum. Voluptatibus magnam et adipisci non commodi ratione aut sunt. Doloremque temporibus voluptates at iste quam totam expedita. Quis impedit veritatis aperiam. Perferendis facere et adipisci harum totam pariatur qui. Aut incidunt et adipisci et necessitatibus blanditiis minima. Id reprehenderit beatae nemo error est perferendis aut. Molestias temporibus porro in autem. Veniam quisquam maxime libero repudiandae tempora repudiandae. Pariatur voluptatem eos provident laudantium quis. Commodi nobis sed fugit reiciendis cumque blanditiis aspernatur exercitationem. In earum magnam iure nam cupiditate. Omnis voluptatem aperiam distinctio cum.", "tags": [ "aperiam", "cumque", "illum" ], "salary_min": "1.00", "salary_max": "80687.00", "salary_type_id": 3, "currency_code": null, "negotiable": null, "start_date": null, "application_url": null, "contact_name": "Administrator", "address": null, "city_id": 45965, "lat": null, "lon": null, "create_from_ip": null, "latest_update_ip": null, "visits": null, "auth_field": "email", "email": "mayeul@domain.tld", "phone": "+11185107465", "phone_national": "1185107465", "phone_country": "US", "email_token": null, "phone_token": null, "email_verified_at": "2025-03-29T16:16:39.000000Z", "phone_verified_at": "2025-03-29T16:16:39.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": null, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": null, "locked_at": null, "phone_hidden": null, "accept_terms": null, "accept_marketing_offers": null, "featured": 0, "tmp_token": null, "reviewed_at": "2025-03-29T16:16:39.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-29T15:42:52.000000Z", "updated_at": "2025-05-17T08:25:34.141848Z", "reference": "qQK9b6nbEvY", "slug": "alert-well-driller", "url": "https://jobclass.laraclassifier.local/alert-well-driller/qQK9b6nbEvY", "phone_intl": "1185107465", "created_at_formatted": "1 month ago", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$1 - $80,687", "visits_formatted": "0 view", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" }, "category": { "id": 5, "parent_id": null, "name": "Training", "slug": "training", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 9, "rgt": 10, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png", "parent": null }, "postType": { "id": 6, "name": "Permanent", "active": 1 }, "city": { "id": 45965, "country_code": "US", "name": "Everman", "latitude": 32.63, "longitude": -97.29, "subadmin1_code": "US.TX", "subadmin2_code": "US.TX.439", "population": 6352, "time_zone": "America/Chicago", "active": 1, "posts_count": 0 }, "payment": null, "company": { "id": 89, "user_id": 1, "name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "description": "Ipsum porro ratione incidunt numquam nemo. Ullam adipisci maxime nihil maxime dolore animi.", "country_code": "US", "city_id": 50725, "address": null, "phone": "+19753154964", "fax": "+1 (380) 472-6648", "email": "billie.cartwright@example.net", "website": "http://velit.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "posts_count": 0, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" } } }, { "id": 35, "country_code": "US", "user_id": 1, "payment_id": null, "company_id": 89, "company_name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "company_description": "", "category_id": 1, "post_type_id": 1, "title": "Looking for File Clerk", "excerpt": "Quibusdam id fugiat non accusamus facere quia. Molestiae fuga quam veniam odio debitis. Porro molest...", "description": "Quibusdam id fugiat non accusamus facere quia. Molestiae fuga quam veniam odio debitis. Porro molestiae consequuntur aut consequatur inventore. Iure aut commodi sunt molestiae non voluptas. Voluptatem enim debitis sapiente non. Omnis maxime sed veritatis id sed quo. Aliquid atque qui non quia voluptas eos dolores.", "tags": [ "iste", "ut", "quae" ], "salary_min": "53.00", "salary_max": "7765.00", "salary_type_id": 1, "currency_code": null, "negotiable": null, "start_date": null, "application_url": null, "contact_name": "Administrator", "address": null, "city_id": 50050, "lat": null, "lon": null, "create_from_ip": null, "latest_update_ip": null, "visits": null, "auth_field": "email", "email": "mayeul@domain.tld", "phone": "+12291148388", "phone_national": "(229) 114-8388", "phone_country": "US", "email_token": null, "phone_token": null, "email_verified_at": "2025-03-29T16:33:27.000000Z", "phone_verified_at": "2025-03-29T16:33:27.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": null, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": null, "locked_at": null, "phone_hidden": null, "accept_terms": null, "accept_marketing_offers": null, "featured": 0, "tmp_token": null, "reviewed_at": "2025-03-29T16:33:27.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-29T15:39:47.000000Z", "updated_at": "2025-05-17T08:25:34.238792Z", "reference": "4yJrb2KdWLD", "slug": "looking-for-file-clerk", "url": "https://jobclass.laraclassifier.local/looking-for-file-clerk/4yJrb2KdWLD", "phone_intl": "(229) 114-8388", "created_at_formatted": "1 month ago", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$53 - $7,765", "visits_formatted": "0 view", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" }, "category": { "id": 1, "parent_id": null, "name": "Engineering", "slug": "engineering", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 1, "rgt": 2, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png", "parent": null }, "postType": { "id": 1, "name": "Full-time", "active": 1 }, "city": { "id": 50050, "country_code": "US", "name": "Kuna", "latitude": 43.49, "longitude": -116.42, "subadmin1_code": "US.ID", "subadmin2_code": "US.ID.001", "population": 17226, "time_zone": "America/Boise", "active": 1, "posts_count": 0 }, "payment": null, "company": { "id": 89, "user_id": 1, "name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "description": "Ipsum porro ratione incidunt numquam nemo. Ullam adipisci maxime nihil maxime dolore animi.", "country_code": "US", "city_id": 50725, "address": null, "phone": "+19753154964", "fax": "+1 (380) 472-6648", "email": "billie.cartwright@example.net", "website": "http://velit.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "posts_count": 0, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" } } }, { "id": 50, "country_code": "US", "user_id": 1, "payment_id": null, "company_id": 89, "company_name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "company_description": "", "category_id": 3, "post_type_id": 5, "title": "We are looking for a Vice President of Marketing", "excerpt": "Reiciendis quibusdam non numquam. Sed tempora voluptatem et in alias labore odio incidunt. Natus et...", "description": "Reiciendis quibusdam non numquam. Sed tempora voluptatem et in alias labore odio incidunt. Natus et voluptate repudiandae ut et. Laudantium a aut cumque nostrum. Illum aliquam laboriosam rem voluptate consequatur sed. Repellendus suscipit molestiae et labore ratione. Ab in sunt ducimus illum qui consequatur. Placeat neque soluta esse quia voluptatibus nemo. Nisi quos totam corporis asperiores aut aliquid exercitationem numquam.", "tags": [ "ut", "provident", "officiis" ], "salary_min": "73.00", "salary_max": "272.00", "salary_type_id": 2, "currency_code": null, "negotiable": null, "start_date": null, "application_url": null, "contact_name": "Administrator", "address": null, "city_id": 49947, "lat": null, "lon": null, "create_from_ip": null, "latest_update_ip": null, "visits": null, "auth_field": "email", "email": "mayeul@domain.tld", "phone": "+19246818122", "phone_national": "(924) 681-8122", "phone_country": "US", "email_token": null, "phone_token": null, "email_verified_at": "2025-03-29T15:45:12.000000Z", "phone_verified_at": "2025-03-29T15:45:12.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": null, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": null, "locked_at": null, "phone_hidden": null, "accept_terms": null, "accept_marketing_offers": null, "featured": 0, "tmp_token": null, "reviewed_at": "2025-03-29T15:45:12.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-29T15:39:34.000000Z", "updated_at": "2025-05-17T08:25:34.335603Z", "reference": "WJxbo2jagwO", "slug": "we-are-looking-for-a-vice-president-of-marketing", "url": "https://jobclass.laraclassifier.local/we-are-looking-for-a-vice-president-of-marketing/WJxbo2jagwO", "phone_intl": "(924) 681-8122", "created_at_formatted": "1 month ago", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$73 - $272", "visits_formatted": "0 view", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" }, "category": { "id": 3, "parent_id": null, "name": "Banking", "slug": "banking", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 5, "rgt": 6, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png", "parent": null }, "postType": { "id": 5, "name": "Internship", "active": 1 }, "city": { "id": 49947, "country_code": "US", "name": "Kermit", "latitude": 31.86, "longitude": -103.09, "subadmin1_code": "US.TX", "subadmin2_code": "US.TX.495", "population": 6434, "time_zone": "America/Chicago", "active": 1, "posts_count": 0 }, "payment": null, "company": { "id": 89, "user_id": 1, "name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "description": "Ipsum porro ratione incidunt numquam nemo. Ullam adipisci maxime nihil maxime dolore animi.", "country_code": "US", "city_id": 50725, "address": null, "phone": "+19753154964", "fax": "+1 (380) 472-6648", "email": "billie.cartwright@example.net", "website": "http://velit.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "posts_count": 0, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" } } }, { "id": 41, "country_code": "US", "user_id": 1, "payment_id": null, "company_id": 89, "company_name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "company_description": "", "category_id": 10, "post_type_id": 4, "title": "Marketing Consultant 1 year of experience", "excerpt": "Sunt est dolorum ex et nulla aut. Quas dolores vel veritatis eos culpa. Officiis voluptatem nam ut a...", "description": "Sunt est dolorum ex et nulla aut. Quas dolores vel veritatis eos culpa. Officiis voluptatem nam ut accusamus nemo. Amet reprehenderit quidem vel quo ullam. Recusandae doloribus minus quis velit exercitationem sapiente distinctio. Cum voluptas magnam molestias nostrum cum ut labore saepe. Vero repellendus tempora voluptas similique reiciendis laborum id. Qui illo et labore ut et iure. Blanditiis dignissimos sapiente vel aut et saepe dolor. Consequatur molestias veritatis sequi quis labore laborum. Est et possimus nulla voluptatem placeat. Nihil et delectus aut cum. Laboriosam vero facilis quas voluptatum enim. Rem reprehenderit repellat aut et eos vero ab asperiores. Perspiciatis aliquam impedit ullam mollitia. Et modi unde quae nobis id.", "tags": [ "dicta", "sunt", "dolore" ], "salary_min": "3.00", "salary_max": "95.00", "salary_type_id": 3, "currency_code": null, "negotiable": null, "start_date": null, "application_url": null, "contact_name": "Administrator", "address": null, "city_id": 44652, "lat": null, "lon": null, "create_from_ip": null, "latest_update_ip": null, "visits": null, "auth_field": "email", "email": "mayeul@domain.tld", "phone": "+14192760031", "phone_national": "(419) 276-0031", "phone_country": "US", "email_token": null, "phone_token": null, "email_verified_at": "2025-03-29T16:13:53.000000Z", "phone_verified_at": "2025-03-29T16:13:53.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": null, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": null, "locked_at": null, "phone_hidden": null, "accept_terms": null, "accept_marketing_offers": null, "featured": 1, "tmp_token": null, "reviewed_at": "2025-03-29T16:13:53.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-29T15:39:07.000000Z", "updated_at": "2025-05-17T08:25:34.437425Z", "reference": "XMVyb8mdvAZ", "slug": "marketing-consultant-1-year-of-experience", "url": "https://jobclass.laraclassifier.local/marketing-consultant-1-year-of-experience/XMVyb8mdvAZ", "phone_intl": "(419) 276-0031", "created_at_formatted": "1 month ago", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$3 - $95", "visits_formatted": "0 view", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" }, "category": { "id": 10, "parent_id": null, "name": "Marketing & Communication", "slug": "marketing-communication", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 19, "rgt": 20, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png", "parent": null }, "postType": { "id": 4, "name": "Contract", "active": 1 }, "city": { "id": 44652, "country_code": "US", "name": "Lyndon", "latitude": 38.26, "longitude": -85.6, "subadmin1_code": "US.KY", "subadmin2_code": "US.KY.111", "population": 11372, "time_zone": "America/Kentucky/Louisville", "active": 1, "posts_count": 0 }, "payment": null, "company": { "id": 89, "user_id": 1, "name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "description": "Ipsum porro ratione incidunt numquam nemo. Ullam adipisci maxime nihil maxime dolore animi.", "country_code": "US", "city_id": 50725, "address": null, "phone": "+19753154964", "fax": "+1 (380) 472-6648", "email": "billie.cartwright@example.net", "website": "http://velit.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "posts_count": 0, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" } } }, { "id": 43, "country_code": "US", "user_id": 1, "payment_id": null, "company_id": 89, "company_name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "company_description": "", "category_id": 8, "post_type_id": 3, "title": "Research Assistant Junior", "excerpt": "Modi molestiae quasi quis provident praesentium expedita soluta et. Deleniti pariatur nostrum laudan...", "description": "Modi molestiae quasi quis provident praesentium expedita soluta et. Deleniti pariatur nostrum laudantium qui sint aut. Praesentium laboriosam in sunt omnis. Repellat harum id accusantium explicabo incidunt velit. Impedit qui aut suscipit. Totam unde error et magni autem. Tempore non et et ipsum consequatur. Illum ut sint recusandae voluptas expedita est dolor. Nobis accusantium eos qui maxime fugiat. Amet explicabo non quibusdam dolor et veritatis ab. Distinctio libero nihil facere voluptate. Molestiae et error nulla rem mollitia molestias. Nostrum inventore eum praesentium dolorem dicta. Dignissimos vero et id. Odio quod provident qui nobis.", "tags": [ "eos", "nemo", "deleniti" ], "salary_min": "6.00", "salary_max": "71137.00", "salary_type_id": 1, "currency_code": null, "negotiable": null, "start_date": null, "application_url": null, "contact_name": "Administrator", "address": null, "city_id": 46849, "lat": null, "lon": null, "create_from_ip": null, "latest_update_ip": null, "visits": null, "auth_field": "email", "email": "mayeul@domain.tld", "phone": "+19320062433", "phone_national": "(932) 006-2433", "phone_country": "US", "email_token": null, "phone_token": null, "email_verified_at": "2025-03-29T16:11:58.000000Z", "phone_verified_at": "2025-03-29T16:11:58.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": null, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": null, "locked_at": null, "phone_hidden": null, "accept_terms": null, "accept_marketing_offers": null, "featured": 1, "tmp_token": null, "reviewed_at": "2025-03-29T16:11:58.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-29T15:36:29.000000Z", "updated_at": "2025-05-17T08:25:34.536436Z", "reference": "6QnXe0vbxrL", "slug": "research-assistant-junior", "url": "https://jobclass.laraclassifier.local/research-assistant-junior/6QnXe0vbxrL", "phone_intl": "(932) 006-2433", "created_at_formatted": "1 month ago", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$6 - $71,137", "visits_formatted": "0 view", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" }, "category": { "id": 8, "parent_id": null, "name": "Independent & Freelance", "slug": "independent-freelance", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 15, "rgt": 16, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png", "parent": null }, "postType": { "id": 3, "name": "Temporary", "active": 1 }, "city": { "id": 46849, "country_code": "US", "name": "River Grove", "latitude": 41.93, "longitude": -87.84, "subadmin1_code": "US.IL", "subadmin2_code": "US.IL.031", "population": 10219, "time_zone": "America/Chicago", "active": 1, "posts_count": 0 }, "payment": null, "company": { "id": 89, "user_id": 1, "name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "description": "Ipsum porro ratione incidunt numquam nemo. Ullam adipisci maxime nihil maxime dolore animi.", "country_code": "US", "city_id": 50725, "address": null, "phone": "+19753154964", "fax": "+1 (380) 472-6648", "email": "billie.cartwright@example.net", "website": "http://velit.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "posts_count": 0, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" } } }, { "id": 40, "country_code": "US", "user_id": 1, "payment_id": null, "company_id": 89, "company_name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "company_description": "", "category_id": 8, "post_type_id": 6, "title": "ASAP: Barber", "excerpt": "Sit rerum ipsa sed ipsam qui. Possimus ad dolores doloribus numquam fugiat. Doloribus excepturi tota...", "description": "Sit rerum ipsa sed ipsam qui. Possimus ad dolores doloribus numquam fugiat. Doloribus excepturi totam vero inventore esse aut ex. Eaque odio consequatur rerum. Omnis officiis ratione quaerat enim est voluptates et. Expedita provident esse ratione a. Nostrum et soluta beatae beatae. Ipsam blanditiis id officia quos recusandae esse. Quaerat quis in minus illum. Et similique aut ut omnis aspernatur sunt. Nostrum modi quis nemo nihil. Nihil voluptas quia excepturi id. Ab quaerat vero doloribus sed. Voluptas eaque enim sint vero quae ut voluptate. Molestiae ipsa distinctio quisquam explicabo.", "tags": [ "quis", "qui", "velit" ], "salary_min": "89.00", "salary_max": "9117.00", "salary_type_id": 1, "currency_code": null, "negotiable": null, "start_date": null, "application_url": null, "contact_name": "Administrator", "address": null, "city_id": 47414, "lat": null, "lon": null, "create_from_ip": null, "latest_update_ip": null, "visits": null, "auth_field": "email", "email": "mayeul@domain.tld", "phone": "+14003002326", "phone_national": "(400) 300-2326", "phone_country": "US", "email_token": null, "phone_token": null, "email_verified_at": "2025-03-29T16:14:27.000000Z", "phone_verified_at": "2025-03-29T16:14:27.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": null, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": null, "locked_at": null, "phone_hidden": null, "accept_terms": null, "accept_marketing_offers": null, "featured": 1, "tmp_token": null, "reviewed_at": "2025-03-29T16:14:27.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-29T15:35:22.000000Z", "updated_at": "2025-05-17T08:25:34.634471Z", "reference": "QO5xe7jd7rJ", "slug": "asap-barber", "url": "https://jobclass.laraclassifier.local/asap-barber/QO5xe7jd7rJ", "phone_intl": "(400) 300-2326", "created_at_formatted": "1 month ago", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$89 - $9,117", "visits_formatted": "0 view", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" }, "category": { "id": 8, "parent_id": null, "name": "Independent & Freelance", "slug": "independent-freelance", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 15, "rgt": 16, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png", "parent": null }, "postType": { "id": 6, "name": "Permanent", "active": 1 }, "city": { "id": 47414, "country_code": "US", "name": "Sterling Heights", "latitude": 42.58, "longitude": -83.03, "subadmin1_code": "US.MI", "subadmin2_code": "US.MI.099", "population": 132052, "time_zone": "America/Detroit", "active": 1, "posts_count": 0 }, "payment": null, "company": { "id": 89, "user_id": 1, "name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "description": "Ipsum porro ratione incidunt numquam nemo. Ullam adipisci maxime nihil maxime dolore animi.", "country_code": "US", "city_id": 50725, "address": null, "phone": "+19753154964", "fax": "+1 (380) 472-6648", "email": "billie.cartwright@example.net", "website": "http://velit.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "posts_count": 0, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" } } }, { "id": 48, "country_code": "US", "user_id": 1, "payment_id": null, "company_id": 89, "company_name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "company_description": "", "category_id": 7, "post_type_id": 3, "title": "Real Estate Broker", "excerpt": "Illo qui recusandae consequatur a voluptatem. Placeat reiciendis commodi qui aliquid qui dolor. Cons...", "description": "Illo qui recusandae consequatur a voluptatem. Placeat reiciendis commodi qui aliquid qui dolor. Consequatur est mollitia incidunt tempore. Quae at pariatur aut et et provident. In voluptate quo asperiores harum. Eius quos modi sequi fuga itaque corporis. Voluptates non veritatis in blanditiis voluptas. Officia in libero natus quas repudiandae aliquam autem ut. Dolores debitis aliquam praesentium. Amet esse harum tenetur aliquam adipisci perspiciatis ipsam. Non eaque corrupti inventore et repudiandae et. Sequi repellat et sed quaerat voluptates beatae architecto. Odit doloremque quisquam in ipsam iure recusandae nihil. Modi quo doloremque reprehenderit. Aliquam sint molestiae expedita vel placeat cupiditate impedit. Nam placeat totam voluptatem adipisci eos reiciendis. Odio cumque debitis ab omnis aperiam. Veritatis corrupti voluptas voluptatibus sunt. Et voluptates illo et et aut voluptatem excepturi.", "tags": [ "neque", "voluptas", "tenetur" ], "salary_min": "9.00", "salary_max": "87157.00", "salary_type_id": 3, "currency_code": null, "negotiable": null, "start_date": null, "application_url": null, "contact_name": "Administrator", "address": null, "city_id": 45157, "lat": null, "lon": null, "create_from_ip": null, "latest_update_ip": null, "visits": null, "auth_field": "email", "email": "mayeul@domain.tld", "phone": "+14559608812", "phone_national": "(455) 960-8812", "phone_country": "US", "email_token": null, "phone_token": null, "email_verified_at": "2025-03-29T15:48:31.000000Z", "phone_verified_at": "2025-03-29T15:48:31.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": null, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": null, "locked_at": null, "phone_hidden": null, "accept_terms": null, "accept_marketing_offers": null, "featured": 0, "tmp_token": null, "reviewed_at": "2025-03-29T15:48:31.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-29T15:33:24.000000Z", "updated_at": "2025-05-17T08:25:34.745668Z", "reference": "wMvbmZOdYAl", "slug": "real-estate-broker", "url": "https://jobclass.laraclassifier.local/real-estate-broker/wMvbmZOdYAl", "phone_intl": "(455) 960-8812", "created_at_formatted": "1 month ago", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$9 - $87,157", "visits_formatted": "0 view", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" }, "category": { "id": 7, "parent_id": null, "name": "Real Estate", "slug": "real-estate", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 13, "rgt": 14, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png", "parent": null }, "postType": { "id": 3, "name": "Temporary", "active": 1 }, "city": { "id": 45157, "country_code": "US", "name": "Flowood", "latitude": 32.31, "longitude": -90.14, "subadmin1_code": "US.MS", "subadmin2_code": "US.MS.121", "population": 8705, "time_zone": "America/Chicago", "active": 1, "posts_count": 0 }, "payment": null, "company": { "id": 89, "user_id": 1, "name": "Wiza, Kuvalis And Farrell", "logo_path": "files/us/1/ec93debb51de213419d6938e3579959d.png", "description": "Ipsum porro ratione incidunt numquam nemo. Ullam adipisci maxime nihil maxime dolore animi.", "country_code": "US", "city_id": 50725, "address": null, "phone": "+19753154964", "fax": "+1 (380) 472-6648", "email": "billie.cartwright@example.net", "website": "http://velit.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/120x90-ec93debb51de213419d6938e3579959d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/320x240-ec93debb51de213419d6938e3579959d.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/1/thumbnails/816x460-ec93debb51de213419d6938e3579959d.png" }, "posts_count": 0, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "user": { "id": 1, "name": "Administrator", "username": null, "two_factor_enabled": true, "two_factor_method": "email", "updated_at": "2025-04-02T15:31:18.000000Z", "original_updated_at": "2025-04-02 15:31:18", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/1/thumbnails/800x800-458b341087152f032ee62e056c340a2d.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" } } } ], "totalPosts": 129 } }, "options": { "max_items": "8", "show_view_more_btn": "1" }, "lft": 4 }, "categories": { "belongs_to": "home", "key": "categories", "data": { "categories": { "1": { "id": 1, "parent_id": null, "name": "Engineering", "slug": "engineering", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 1, "rgt": 2, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png" }, "2": { "id": 2, "parent_id": null, "name": "Financial Services", "slug": "financial-services", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 3, "rgt": 4, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png" }, "3": { "id": 3, "parent_id": null, "name": "Banking", "slug": "banking", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 5, "rgt": 6, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png" }, "4": { "id": 4, "parent_id": null, "name": "Security & Safety", "slug": "security-safety", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 7, "rgt": 8, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png" }, "5": { "id": 5, "parent_id": null, "name": "Training", "slug": "training", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 9, "rgt": 10, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png" }, "6": { "id": 6, "parent_id": null, "name": "Public Service", "slug": "public-service", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 11, "rgt": 12, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png" }, "7": { "id": 7, "parent_id": null, "name": "Real Estate", "slug": "real-estate", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 13, "rgt": 14, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png" }, "8": { "id": 8, "parent_id": null, "name": "Independent & Freelance", "slug": "independent-freelance", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 15, "rgt": 16, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png" }, "9": { "id": 9, "parent_id": null, "name": "IT & Telecoms", "slug": "it-telecoms", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 17, "rgt": 18, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png" }, "10": { "id": 10, "parent_id": null, "name": "Marketing & Communication", "slug": "marketing-communication", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 19, "rgt": 20, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png" }, "11": { "id": 11, "parent_id": null, "name": "Babysitting & Nanny Work", "slug": "babysitting-nanny-work", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 21, "rgt": 22, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png" }, "12": { "id": 12, "parent_id": null, "name": "Human Resources", "slug": "human-resources", "description": "", "hide_description": null, "image_path": "app/default/categories/fa-folder-default.png", "icon_class": "fa-regular fa-folder", "seo_title": "", "seo_description": "", "seo_keywords": "", "lft": 23, "rgt": 24, "depth": 0, "active": 1, "image_url": "https://jobclass.laraclassifier.local/storage/app/default/categories/thumbnails/70x70-fa-folder-default.png" } }, "countPostsPerCat": [] }, "options": { "type_of_display": "c_check_list", "max_items": "12", "show_icon": "0", "count_categories_posts": "0", "max_sub_cats": "3", "cache_expiration": "3600", "active": "1", "cat_display_type": "c_border_list" }, "lft": 6 }, "locations": { "belongs_to": "home", "key": "locations", "data": { "cities": [ { "id": 48225, "country_code": "US", "name": "New York City", "longitude": -74.01, "latitude": 40.71, "feature_class": "P", "feature_code": "PPL", "subadmin1_code": "US.NY", "subadmin2_code": null, "population": 8804190, "time_zone": "America/New_York", "active": 1, "created_at": "2022-01-28T00:00:00.000000Z", "updated_at": "2022-01-28T00:00:00.000000Z", "slug": "new-york-city" }, { "id": 49443, "country_code": "US", "name": "Los Angeles", "longitude": -118.24, "latitude": 34.05, "feature_class": "P", "feature_code": "PPLA2", "subadmin1_code": "US.CA", "subadmin2_code": "US.CA.037", "population": 3971883, "time_zone": "America/Los_Angeles", "active": 1, "created_at": "2019-12-12T00:00:00.000000Z", "updated_at": "2019-12-12T00:00:00.000000Z", "slug": "los-angeles" }, { "id": 46654, "country_code": "US", "name": "Chicago", "longitude": -87.65, "latitude": 41.85, "feature_class": "P", "feature_code": "PPLA2", "subadmin1_code": "US.IL", "subadmin2_code": "US.IL.031", "population": 2720546, "time_zone": "America/Chicago", "active": 1, "created_at": "2019-10-07T00:00:00.000000Z", "updated_at": "2019-10-07T00:00:00.000000Z", "slug": "chicago" }, { "id": 47977, "country_code": "US", "name": "Brooklyn", "longitude": -73.95, "latitude": 40.65, "feature_class": "P", "feature_code": "PPLA2", "subadmin1_code": "US.NY", "subadmin2_code": "US.NY.047", "population": 2300664, "time_zone": "America/New_York", "active": 1, "created_at": "2015-01-18T00:00:00.000000Z", "updated_at": "2015-01-18T00:00:00.000000Z", "slug": "brooklyn" }, { "id": 46017, "country_code": "US", "name": "Houston", "longitude": -95.36, "latitude": 29.76, "feature_class": "P", "feature_code": "PPLA2", "subadmin1_code": "US.TX", "subadmin2_code": "US.TX.201", "population": 2296224, "time_zone": "America/Chicago", "active": 1, "created_at": "2021-07-25T00:00:00.000000Z", "updated_at": "2021-07-25T00:00:00.000000Z", "slug": "houston" }, { "id": 48286, "country_code": "US", "name": "Queens", "longitude": -73.84, "latitude": 40.68, "feature_class": "P", "feature_code": "PPLA2", "subadmin1_code": "US.NY", "subadmin2_code": "US.NY.081", "population": 2272771, "time_zone": "America/New_York", "active": 1, "created_at": "2021-07-30T00:00:00.000000Z", "updated_at": "2021-07-30T00:00:00.000000Z", "slug": "queens" }, { "id": 49093, "country_code": "US", "name": "Phoenix", "longitude": -112.07, "latitude": 33.45, "feature_class": "P", "feature_code": "PPLA", "subadmin1_code": "US.AZ", "subadmin2_code": "US.AZ.013", "population": 1608139, "time_zone": "America/Phoenix", "active": 1, "created_at": "2022-01-28T00:00:00.000000Z", "updated_at": "2022-01-28T00:00:00.000000Z", "slug": "phoenix" }, { "id": 45632, "country_code": "US", "name": "Philadelphia", "longitude": -75.16, "latitude": 39.95, "feature_class": "P", "feature_code": "PPLA2", "subadmin1_code": "US.PA", "subadmin2_code": "US.PA.101", "population": 1603797, "time_zone": "America/New_York", "active": 1, "created_at": "2022-01-28T00:00:00.000000Z", "updated_at": "2022-01-28T00:00:00.000000Z", "slug": "philadelphia" }, { "id": 48176, "country_code": "US", "name": "Manhattan", "longitude": -73.97, "latitude": 40.78, "feature_class": "P", "feature_code": "PPLA2", "subadmin1_code": "US.NY", "subadmin2_code": "US.NY.061", "population": 1487536, "time_zone": "America/New_York", "active": 1, "created_at": "2021-08-20T00:00:00.000000Z", "updated_at": "2021-08-20T00:00:00.000000Z", "slug": "manhattan" }, { "id": 46150, "country_code": "US", "name": "San Antonio", "longitude": -98.49, "latitude": 29.42, "feature_class": "P", "feature_code": "PPLA2", "subadmin1_code": "US.TX", "subadmin2_code": "US.TX.029", "population": 1469845, "time_zone": "America/Chicago", "active": 1, "created_at": "2019-09-19T00:00:00.000000Z", "updated_at": "2019-09-19T00:00:00.000000Z", "slug": "san-antonio" }, { "id": 49614, "country_code": "US", "name": "San Diego", "longitude": -117.16, "latitude": 32.72, "feature_class": "P", "feature_code": "PPLA2", "subadmin1_code": "US.CA", "subadmin2_code": "US.CA.073", "population": 1394928, "time_zone": "America/Los_Angeles", "active": 1, "created_at": "2019-09-05T00:00:00.000000Z", "updated_at": "2019-09-05T00:00:00.000000Z", "slug": "san-diego" }, { "id": 47975, "country_code": "US", "name": "The Bronx", "longitude": -73.87, "latitude": 40.85, "feature_class": "P", "feature_code": "PPLA2", "subadmin1_code": "US.NY", "subadmin2_code": "US.NY.005", "population": 1385108, "time_zone": "America/New_York", "active": 1, "created_at": "2021-08-08T00:00:00.000000Z", "updated_at": "2021-08-08T00:00:00.000000Z", "slug": "the-bronx" }, { "id": 45946, "country_code": "US", "name": "Dallas", "longitude": -96.81, "latitude": 32.78, "feature_class": "P", "feature_code": "PPLA2", "subadmin1_code": "US.TX", "subadmin2_code": "US.TX.113", "population": 1300092, "time_zone": "America/Chicago", "active": 1, "created_at": "2021-07-25T00:00:00.000000Z", "updated_at": "2021-07-25T00:00:00.000000Z", "slug": "dallas" }, { "id": 49621, "country_code": "US", "name": "San Jose", "longitude": -121.89, "latitude": 37.34, "feature_class": "P", "feature_code": "PPLA2", "subadmin1_code": "US.CA", "subadmin2_code": "US.CA.085", "population": 1026908, "time_zone": "America/Los_Angeles", "active": 1, "created_at": "2019-09-05T00:00:00.000000Z", "updated_at": "2019-09-05T00:00:00.000000Z", "slug": "san-jose" }, { "id": 0, "name": "More cities &raquo;", "subadmin1_code": 0 } ], "items_cols": 3 }, "options": { "show_cities": "1", "show_post_btn": "1", "background_color": null, "border_width": null, "border_color": null, "text_color": null, "link_color": null, "link_color_hover": null, "max_items": 14, "items_cols": "3", "count_cities_posts": "0", "cache_expiration": "3600", "enable_map": "1", "map_background_color": null, "map_border": null, "map_hover_border": null, "map_border_width": null, "map_color": null, "map_hover": null, "map_width": "300", "map_height": "300", "active": "1", "show_listing_btn": "1" }, "lft": 8 }, "companies": { "belongs_to": "home", "key": "companies", "data": { "featuredCompanies": { "title": "Featured <span style=\"font-weight: bold;\">Companies</span>", "link": "https://jobclass.laraclassifier.local/companies", "companies": [ { "id": 643, "user_id": 1996, "name": "D'Amore, Jones And Parker", "logo_path": "files/mx/1996/94b9774e4b8e34f403434111ae3af5dd.png", "description": "Rerum necessitatibus aut numquam incidunt est quia praesentium. Aut omnis est inventore vel optio est eligendi. Cumque cumque tempora aliquam est ut laborum tempora.", "country_code": "MX", "city_id": 29419, "address": null, "phone": "+524745920610", "fax": "+1.208.503.2234", "email": "pdubuque@gibson.com", "website": "http://est.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/mx/1996/thumbnails/320x240-94b9774e4b8e34f403434111ae3af5dd.png", "small": "https://jobclass.laraclassifier.local/storage/files/mx/1996/thumbnails/120x90-94b9774e4b8e34f403434111ae3af5dd.png", "medium": "https://jobclass.laraclassifier.local/storage/files/mx/1996/thumbnails/320x240-94b9774e4b8e34f403434111ae3af5dd.png", "large": "https://jobclass.laraclassifier.local/storage/files/mx/1996/thumbnails/816x460-94b9774e4b8e34f403434111ae3af5dd.png" }, "posts_count": 1, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/mx.png", "user": { "id": 1996, "name": "Bonnie Mueller", "username": "kylie04", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2025-05-17T08:25:35.362679Z", "original_updated_at": null, "original_last_activity": null, "created_at_formatted": "6 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/br.png" } }, { "id": 570, "user_id": 2007, "name": "Welch, Hermiston And Rosenbaum", "logo_path": "files/gb/2007/514f71bfb56b01e9acec1bbc74d93f03.png", "description": "Rerum quas et molestiae maiores perferendis sit. Ea amet praesentium provident quis non. Voluptatem sunt sit modi reiciendis voluptatibus et et quod. Voluptatem tempora sed dolores soluta rerum atque magni.", "country_code": "GB", "city_id": 43091, "address": null, "phone": "+444142904628", "fax": "+1-585-491-9985", "email": "jast.jamey@erdman.com", "website": "http://voluptatem.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/gb/2007/thumbnails/320x240-514f71bfb56b01e9acec1bbc74d93f03.png", "small": "https://jobclass.laraclassifier.local/storage/files/gb/2007/thumbnails/120x90-514f71bfb56b01e9acec1bbc74d93f03.png", "medium": "https://jobclass.laraclassifier.local/storage/files/gb/2007/thumbnails/320x240-514f71bfb56b01e9acec1bbc74d93f03.png", "large": "https://jobclass.laraclassifier.local/storage/files/gb/2007/thumbnails/816x460-514f71bfb56b01e9acec1bbc74d93f03.png" }, "posts_count": 1, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/gb.png", "user": { "id": 2007, "name": "Lesly Skiles", "username": "schmelervanessa", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2024-11-09T09:43:45.000000Z", "original_updated_at": "2024-11-09 09:43:45", "original_last_activity": null, "created_at_formatted": "7 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/ch.png" } }, { "id": 648, "user_id": 357, "name": "Pollich, Collins And Wilkinson", "logo_path": "files/fr/357/69f3e174aaf10d2808af78172a889ce7.png", "description": "Ratione recusandae nobis saepe autem ut eaque voluptatem eius. Aperiam dolor quasi a ut mollitia iusto eligendi. Sed voluptatem quia accusamus et nesciunt reprehenderit eaque rerum.", "country_code": "FR", "city_id": 15678, "address": null, "phone": "+336327274993", "fax": "(712) 679-9089", "email": "hvonrueden@hudson.com", "website": "http://eius.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/fr/357/thumbnails/320x240-69f3e174aaf10d2808af78172a889ce7.png", "small": "https://jobclass.laraclassifier.local/storage/files/fr/357/thumbnails/120x90-69f3e174aaf10d2808af78172a889ce7.png", "medium": "https://jobclass.laraclassifier.local/storage/files/fr/357/thumbnails/320x240-69f3e174aaf10d2808af78172a889ce7.png", "large": "https://jobclass.laraclassifier.local/storage/files/fr/357/thumbnails/816x460-69f3e174aaf10d2808af78172a889ce7.png" }, "posts_count": 1, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/fr.png", "user": { "id": 357, "name": "Terrance Sanford", "username": "frederic44", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2025-03-03T21:14:30.000000Z", "original_updated_at": "2025-03-03 21:14:30", "original_last_activity": null, "created_at_formatted": "6 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/mx.png" } }, { "id": 689, "user_id": 328, "name": "Stamm-Feil", "logo_path": "files/dz/328/8f59deb7b76b325a2fe898fd4ec4bb74.png", "description": "Possimus similique omnis non. Aut enim nostrum omnis magnam minus eligendi veniam.", "country_code": "DZ", "city_id": 13281, "address": null, "phone": "+2134458821439", "fax": "+1-959-486-1155", "email": "kessler.romaine@mitchell.org", "website": "http://explicabo.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/dz/328/thumbnails/320x240-8f59deb7b76b325a2fe898fd4ec4bb74.png", "small": "https://jobclass.laraclassifier.local/storage/files/dz/328/thumbnails/120x90-8f59deb7b76b325a2fe898fd4ec4bb74.png", "medium": "https://jobclass.laraclassifier.local/storage/files/dz/328/thumbnails/320x240-8f59deb7b76b325a2fe898fd4ec4bb74.png", "large": "https://jobclass.laraclassifier.local/storage/files/dz/328/thumbnails/816x460-8f59deb7b76b325a2fe898fd4ec4bb74.png" }, "posts_count": 1, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/dz.png", "user": { "id": 328, "name": "Sedrick Gerhold", "username": "jschmitt", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2025-03-24T13:21:40.000000Z", "original_updated_at": "2025-03-24 13:21:40", "original_last_activity": null, "created_at_formatted": "5 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/gh.png" } }, { "id": 581, "user_id": 394, "name": "Tillman, Bahringer And Prosacco", "logo_path": "files/ua/394/5926186f8c313a0ed5cb31f78b8d0607.png", "description": "Ut molestiae ex aut. Sit quod necessitatibus nesciunt porro blanditiis debitis enim. Ut consequatur nam doloribus quos perferendis. Ipsam rerum qui veritatis quo doloremque nesciunt illo sunt.", "country_code": "UA", "city_id": 41723, "address": null, "phone": "+3803464914092", "fax": "+1.430.978.3275", "email": "lea42@west.com", "website": "http://est.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/ua/394/thumbnails/320x240-5926186f8c313a0ed5cb31f78b8d0607.png", "small": "https://jobclass.laraclassifier.local/storage/files/ua/394/thumbnails/120x90-5926186f8c313a0ed5cb31f78b8d0607.png", "medium": "https://jobclass.laraclassifier.local/storage/files/ua/394/thumbnails/320x240-5926186f8c313a0ed5cb31f78b8d0607.png", "large": "https://jobclass.laraclassifier.local/storage/files/ua/394/thumbnails/816x460-5926186f8c313a0ed5cb31f78b8d0607.png" }, "posts_count": 1, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/ua.png", "user": { "id": 394, "name": "Kristina Spencer", "username": "annalise69", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2025-05-17T08:25:35.391425Z", "original_updated_at": null, "original_last_activity": null, "created_at_formatted": "5 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/fr.png" } }, { "id": 685, "user_id": 2169, "name": "Quitzon, Franecki And Green", "logo_path": "files/ca/2169/ed9f65f617f57c4cb11aba52fa3fa7bd.png", "description": "Quaerat voluptas nihil dignissimos illo repudiandae consectetur distinctio. Debitis aut velit autem natus officiis. Sunt sapiente quibusdam reiciendis laborum debitis expedita ut. Atque nisi veniam aperiam perspiciatis. Enim sed deserunt quae repellendus et.", "country_code": "CA", "city_id": 6410, "address": null, "phone": "+12874477419", "fax": "1-906-863-2399", "email": "hermann.tania@mueller.com", "website": "http://nihil.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/ca/2169/thumbnails/320x240-ed9f65f617f57c4cb11aba52fa3fa7bd.png", "small": "https://jobclass.laraclassifier.local/storage/files/ca/2169/thumbnails/120x90-ed9f65f617f57c4cb11aba52fa3fa7bd.png", "medium": "https://jobclass.laraclassifier.local/storage/files/ca/2169/thumbnails/320x240-ed9f65f617f57c4cb11aba52fa3fa7bd.png", "large": "https://jobclass.laraclassifier.local/storage/files/ca/2169/thumbnails/816x460-ed9f65f617f57c4cb11aba52fa3fa7bd.png" }, "posts_count": 1, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/ca.png", "user": { "id": 2169, "name": "Olga Larkin", "username": "orowe", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2025-02-04T22:15:10.000000Z", "original_updated_at": "2025-02-04 22:15:10", "original_last_activity": null, "created_at_formatted": "5 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/ar.png" } }, { "id": 605, "user_id": 1500, "name": "Connelly And Sons", "logo_path": "files/ma/1500/9ac66a59283bfbe366c6df9fac32340d.png", "description": "Aut vel ut doloribus ab aut et dicta. Rem vitae aliquid pariatur nesciunt illo est aspernatur. In fuga necessitatibus qui.", "country_code": "MA", "city_id": 27002, "address": null, "phone": "+2125428303560", "fax": "484.943.8208", "email": "jakubowski.martina@armstrong.biz", "website": "http://voluptatibus.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/ma/1500/thumbnails/320x240-9ac66a59283bfbe366c6df9fac32340d.png", "small": "https://jobclass.laraclassifier.local/storage/files/ma/1500/thumbnails/120x90-9ac66a59283bfbe366c6df9fac32340d.png", "medium": "https://jobclass.laraclassifier.local/storage/files/ma/1500/thumbnails/320x240-9ac66a59283bfbe366c6df9fac32340d.png", "large": "https://jobclass.laraclassifier.local/storage/files/ma/1500/thumbnails/816x460-9ac66a59283bfbe366c6df9fac32340d.png" }, "posts_count": 1, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/ma.png", "user": { "id": 1500, "name": "Phyllis Rosenbaum", "username": "bwalker", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2025-05-17T08:25:35.403474Z", "original_updated_at": null, "original_last_activity": null, "created_at_formatted": "5 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/za.png" } }, { "id": 674, "user_id": 933, "name": "Beahan-Torp", "logo_path": "files/ma/933/893bf9cc56ee001a1bcfe42113f5529c.png", "description": "Tempore ipsum aut voluptas non id. Sit voluptatibus ut recusandae.", "country_code": "MA", "city_id": 26948, "address": null, "phone": "+2123526895652", "fax": "+1.860.923.1728", "email": "adrienne.graham@jast.com", "website": "http://sit.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/ma/933/thumbnails/320x240-893bf9cc56ee001a1bcfe42113f5529c.png", "small": "https://jobclass.laraclassifier.local/storage/files/ma/933/thumbnails/120x90-893bf9cc56ee001a1bcfe42113f5529c.png", "medium": "https://jobclass.laraclassifier.local/storage/files/ma/933/thumbnails/320x240-893bf9cc56ee001a1bcfe42113f5529c.png", "large": "https://jobclass.laraclassifier.local/storage/files/ma/933/thumbnails/816x460-893bf9cc56ee001a1bcfe42113f5529c.png" }, "posts_count": 1, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/ma.png", "user": { "id": 933, "name": "Noel Erdman", "username": "bodelaron", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2025-05-17T08:25:35.409360Z", "original_updated_at": null, "original_last_activity": null, "created_at_formatted": "5 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/dz.png" } }, { "id": 585, "user_id": 572, "name": "Sauer, Corkery And King", "logo_path": "files/lk/572/7ca255db9728ba2a4bb5e327fdecf87b.png", "description": "Ut illum dolores harum voluptas ut. Id sapiente laboriosam libero ipsam harum et aliquid. Ad assumenda architecto ullam illum provident.", "country_code": "LK", "city_id": 26724, "address": null, "phone": "+941383968134", "fax": "(228) 419-7558", "email": "brayan95@goyette.com", "website": "http://at.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/lk/572/thumbnails/320x240-7ca255db9728ba2a4bb5e327fdecf87b.png", "small": "https://jobclass.laraclassifier.local/storage/files/lk/572/thumbnails/120x90-7ca255db9728ba2a4bb5e327fdecf87b.png", "medium": "https://jobclass.laraclassifier.local/storage/files/lk/572/thumbnails/320x240-7ca255db9728ba2a4bb5e327fdecf87b.png", "large": "https://jobclass.laraclassifier.local/storage/files/lk/572/thumbnails/816x460-7ca255db9728ba2a4bb5e327fdecf87b.png" }, "posts_count": 1, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/lk.png", "user": { "id": 572, "name": "Osbaldo Dooley", "username": "nkuhlman", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2025-02-13T02:20:20.000000Z", "original_updated_at": "2025-02-13 02:20:20", "original_last_activity": null, "created_at_formatted": "6 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/ua.png" } }, { "id": 588, "user_id": 287, "name": "Feil, Witting And Bradtke", "logo_path": "files/ca/287/cde9e7ae16971e2349f5fe8446cb36bc.png", "description": "Ut magni impedit corrupti totam vel sint. Harum porro officia non quis. Eum deleniti expedita hic nisi error. Odit autem dolor ipsam delectus et iusto iusto.", "country_code": "CA", "city_id": 5981, "address": null, "phone": "+12069894342", "fax": "1-432-979-5456", "email": "elissa.bogan@walker.com", "website": "http://et.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/ca/287/thumbnails/320x240-cde9e7ae16971e2349f5fe8446cb36bc.png", "small": "https://jobclass.laraclassifier.local/storage/files/ca/287/thumbnails/120x90-cde9e7ae16971e2349f5fe8446cb36bc.png", "medium": "https://jobclass.laraclassifier.local/storage/files/ca/287/thumbnails/320x240-cde9e7ae16971e2349f5fe8446cb36bc.png", "large": "https://jobclass.laraclassifier.local/storage/files/ca/287/thumbnails/816x460-cde9e7ae16971e2349f5fe8446cb36bc.png" }, "posts_count": 1, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/ca.png", "user": { "id": 287, "name": "Willis Zieme", "username": "qsteuber", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2025-02-21T02:36:30.000000Z", "original_updated_at": "2025-02-21 02:36:30", "original_last_activity": null, "created_at_formatted": "6 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/de.png" } }, { "id": 612, "user_id": 1763, "name": "Schaden, Walsh And Veum", "logo_path": "files/tr/1763/ddedd83402cc38906b0eab0267605949.png", "description": "Suscipit nulla aut reprehenderit vero tenetur enim. Laudantium mollitia qui id laboriosam a fugiat ratione. Et autem ut iusto non. Non exercitationem harum et voluptatem.", "country_code": "TR", "city_id": 40218, "address": null, "phone": "+906305494529", "fax": "(740) 506-8585", "email": "schmidt.lavon@bahringer.net", "website": "http://impedit.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/tr/1763/thumbnails/320x240-ddedd83402cc38906b0eab0267605949.png", "small": "https://jobclass.laraclassifier.local/storage/files/tr/1763/thumbnails/120x90-ddedd83402cc38906b0eab0267605949.png", "medium": "https://jobclass.laraclassifier.local/storage/files/tr/1763/thumbnails/320x240-ddedd83402cc38906b0eab0267605949.png", "large": "https://jobclass.laraclassifier.local/storage/files/tr/1763/thumbnails/816x460-ddedd83402cc38906b0eab0267605949.png" }, "posts_count": 1, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/tr.png", "user": { "id": 1763, "name": "Hilario Romaguera", "username": "heffertz", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2025-05-17T08:25:35.430067Z", "original_updated_at": null, "original_last_activity": null, "created_at_formatted": "6 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/bd.png" } }, { "id": 625, "user_id": 144, "name": "Davis Group", "logo_path": "files/pk/144/548473b65fbbb450fa5a19833a2ceddb.png", "description": "Ipsum cupiditate praesentium et accusantium quo iste. Commodi nihil saepe voluptatem praesentium. Minus veniam ipsam eos dignissimos ipsam et.", "country_code": "PK", "city_id": 32951, "address": null, "phone": "+922033305106", "fax": "(615) 857-6247", "email": "lehner.aglae@rohan.com", "website": "http://fuga.com", "facebook": null, "twitter": null, "linkedin": null, "pinterest": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/pk/144/thumbnails/320x240-548473b65fbbb450fa5a19833a2ceddb.png", "small": "https://jobclass.laraclassifier.local/storage/files/pk/144/thumbnails/120x90-548473b65fbbb450fa5a19833a2ceddb.png", "medium": "https://jobclass.laraclassifier.local/storage/files/pk/144/thumbnails/320x240-548473b65fbbb450fa5a19833a2ceddb.png", "large": "https://jobclass.laraclassifier.local/storage/files/pk/144/thumbnails/816x460-548473b65fbbb450fa5a19833a2ceddb.png" }, "posts_count": 1, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/pk.png", "user": { "id": 144, "name": "Litzy Conn", "username": "cullen01", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2025-05-17T08:25:35.435910Z", "original_updated_at": null, "original_last_activity": null, "created_at_formatted": "4 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/eg.png" } } ], "totalCompanies": 0 } }, "options": { "max_items": "12" }, "lft": 10 }, "stats": { "belongs_to": "home", "key": "stats", "data": { "count": { "posts": 129, "users": 2257, "locations": 7200 } }, "options": { "icon_count_posts": "fa-solid fa-briefcase", "icon_count_users": "bi bi-people", "icon_count_locations": "bi bi-geo-alt", "counter_up_delay": 10, "counter_up_time": 2000 }, "lft": 12 } } } }</code> </pre> </span> <span id="execution-results-GETapi-sections" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-sections"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-sections" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-sections" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-sections"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-sections" data-method="GET" data-path="api/sections" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-sections', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-sections" onclick="tryItOut('GETapi-sections');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-sections" onclick="cancelTryOut('GETapi-sections');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-sections" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/sections</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-sections" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-sections" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-sections" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-sections" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-sections" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> </form> <h2 id="home-GETapi-sections--method-">Get section</h2> <p> </p> <p>Get category by its unique slug or ID.</p> <span id="example-requests-GETapi-sections--method-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/sections/1?parentCatSlug=automobiles" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/sections/1" ); const params = { "parentCatSlug": "automobiles", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/sections/1'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'parentCatSlug' => 'automobiles', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/sections/1' params = { 'parentCatSlug': 'automobiles', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-sections--method-"> <blockquote> <p>Example response (404):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Section not found", "result": null, "error": "Section not found" }</code> </pre> </span> <span id="execution-results-GETapi-sections--method-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-sections--method-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-sections--method-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-sections--method-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-sections--method-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-sections--method-" data-method="GET" data-path="api/sections/{method}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-sections--method-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-sections--method-" onclick="tryItOut('GETapi-sections--method-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-sections--method-" onclick="cancelTryOut('GETapi-sections--method-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-sections--method-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/sections/{method}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-sections--method-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-sections--method-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-sections--method-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-sections--method-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-sections--method-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>method</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="method" data-endpoint="GETapi-sections--method-" value="1" data-component="url"> <br> <p>Example: <code>1</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>key</code></b> <small>string</small> <input type="text" style="display: none" name="key" data-endpoint="GETapi-sections--method-" value="categories" data-component="url"> <br> <p>The key/method of the section. Example: <code>categories</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>parentCatSlug</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="parentCatSlug" data-endpoint="GETapi-sections--method-" value="automobiles" data-component="query"> <br> <p>The slug of the parent category to retrieve used when category's slug provided instead of ID. Example: <code>automobiles</code></p> </div> </form> <h1 id="languages">Languages</h1> <h2 id="languages-GETapi-languages">List languages</h2> <p> </p> <span id="example-requests-GETapi-languages"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/languages" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/languages" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/languages'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/languages' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-languages"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "code": "en", "locale": "en_US", "name": "English", "native": "English", "flag": "flag-icon-gb", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 2, "rgt": 3, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "en_US", "tag": "en", "primary": "en" }, { "code": "fr", "locale": "fr_FR", "name": "French", "native": "Français", "flag": "flag-icon-fr", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "Do MMM YYYY", "datetime_format": "Do MMM YYYY [à] H[h]mm", "active": 1, "default": 0, "parent_id": null, "lft": 4, "rgt": 5, "depth": 1, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "fr_FR", "tag": "fr", "primary": "fr" }, { "code": "es", "locale": "es_ES", "name": "Spanish", "native": "Español", "flag": "flag-icon-es", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "D [de] MMMM [de] YYYY", "datetime_format": "D [de] MMMM [de] YYYY HH:mm", "active": 1, "default": 0, "parent_id": null, "lft": 6, "rgt": 7, "depth": 1, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "es_ES", "tag": "es", "primary": "es" }, { "code": "ar", "locale": "ar_SA", "name": "Arabic", "native": "العربية", "flag": "flag-icon-sa", "script": "Arab", "direction": "rtl", "russian_pluralization": 0, "date_format": "DD/MMMM/YYYY", "datetime_format": "DD/MMMM/YYYY HH:mm", "active": 1, "default": 0, "parent_id": null, "lft": 8, "rgt": 9, "depth": 1, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "ar_SA", "tag": "ar", "primary": "ar" }, { "code": "de", "locale": "de_DE", "name": "German", "native": "Deutsch", "flag": "flag-icon-de", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "dddd, D. MMMM YYYY", "datetime_format": "dddd, D. MMMM YYYY HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 10, "rgt": 11, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "de_DE", "tag": "de", "primary": "de" }, { "code": "it", "locale": "it_IT", "name": "Italian", "native": "Italiano", "flag": "flag-icon-it", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "D MMMM YYYY", "datetime_format": "D MMMM YYYY HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 12, "rgt": 13, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "it_IT", "tag": "it", "primary": "it" }, { "code": "ru", "locale": "ru_RU", "name": "Russian", "native": "Русский", "flag": "flag-icon-ru", "script": "Cyrl", "direction": "ltr", "russian_pluralization": 1, "date_format": "D MMMM YYYY", "datetime_format": "D MMMM YYYY [ г.] H:mm", "active": 1, "default": 1, "parent_id": null, "lft": 14, "rgt": 15, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "ru_RU", "tag": "ru", "primary": "ru" }, { "code": "nl", "locale": "nl_NL", "name": "Dutch", "native": "Nederlands", "flag": "flag-icon-nl", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "dddd, D. MMMM YYYY", "datetime_format": "dddd, D. MMMM YYYY HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 16, "rgt": 17, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "nl_NL", "tag": "nl", "primary": "nl" }, { "code": "nb", "locale": "nb_NO", "name": "Norwegian Bokmål", "native": "Norsk Bokmål", "flag": "flag-icon-no", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 18, "rgt": 19, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "nb_NO", "tag": "nb", "primary": "nb" }, { "code": "uk", "locale": "uk_UA", "name": "Ukrainian", "native": "українська", "flag": "flag-icon-ua", "script": "Cyrl", "direction": "ltr", "russian_pluralization": 1, "date_format": "D MMMM YYYY", "datetime_format": "D MMMM YYYY [ г.] H:mm", "active": 1, "default": 1, "parent_id": null, "lft": 20, "rgt": 21, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "uk_UA", "tag": "uk", "primary": "uk" }, { "code": "pl", "locale": "pl_PL", "name": "Polish", "native": "Polski", "flag": "flag-icon-pl", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 22, "rgt": 23, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "pl_PL", "tag": "pl", "primary": "pl" }, { "code": "ro", "locale": "ro_RO", "name": "Romanian", "native": "Română", "flag": "flag-icon-ro", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "D MMMM YYYY", "datetime_format": "D MMMM YYYY H:mm", "active": 1, "default": 1, "parent_id": null, "lft": 24, "rgt": 25, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "ro_RO", "tag": "ro", "primary": "ro" }, { "code": "el", "locale": "el_GR", "name": "Greek", "native": "ελληνικά", "flag": "flag-icon-gr", "script": "Grek", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 26, "rgt": 27, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "el_GR", "tag": "el", "primary": "el" }, { "code": "pt", "locale": "pt_PT", "name": "Portuguese", "native": "Português", "flag": "flag-icon-pt", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "D [de] MMMM [de] YYYY", "datetime_format": "D [de] MMMM [de] YYYY HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 28, "rgt": 29, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "pt_PT", "tag": "pt", "primary": "pt" }, { "code": "da", "locale": "da_DK", "name": "Danish", "native": "Dansk", "flag": "flag-icon-dk", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 30, "rgt": 31, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "da_DK", "tag": "da", "primary": "da" }, { "code": "sv", "locale": "sv_SE", "name": "Swedish", "native": "Svenska", "flag": "flag-icon-se", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 32, "rgt": 33, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "sv_SE", "tag": "sv", "primary": "sv" }, { "code": "fi", "locale": "fi_FI", "name": "Finnish", "native": "Suomi", "flag": "flag-icon-fi", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 34, "rgt": 35, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "fi_FI", "tag": "fi", "primary": "fi" }, { "code": "hu", "locale": "hu_HU", "name": "Hungarian", "native": "Magyar", "flag": "flag-icon-hu", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 36, "rgt": 37, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "hu_HU", "tag": "hu", "primary": "hu" }, { "code": "sr", "locale": "sr_RS", "name": "Serbian", "native": "српски", "flag": "flag-icon-rs", "script": "Cyrl", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 38, "rgt": 39, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "sr_RS", "tag": "sr", "primary": "sr" }, { "code": "cs", "locale": "cs_CZ", "name": "Czech", "native": "čeština", "flag": "flag-icon-cz", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 40, "rgt": 41, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "cs_CZ", "tag": "cs", "primary": "cs" }, { "code": "bg", "locale": "bg_BG", "name": "Bulgarian", "native": "български", "flag": "flag-icon-bg", "script": "Cyrl", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 42, "rgt": 43, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "bg_BG", "tag": "bg", "primary": "bg" }, { "code": "hr", "locale": "hr_HR", "name": "Croatian", "native": "Hrvatski", "flag": "flag-icon-hr", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 44, "rgt": 45, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "hr_HR", "tag": "hr", "primary": "hr" }, { "code": "et", "locale": "et_EE", "name": "Estonian", "native": "Eesti", "flag": "flag-icon-ee", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 46, "rgt": 47, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "et_EE", "tag": "et", "primary": "et" }, { "code": "lt", "locale": "lt_LT", "name": "Lithuanian", "native": "Lietuvių", "flag": "flag-icon-lt", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 48, "rgt": 49, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "lt_LT", "tag": "lt", "primary": "lt" }, { "code": "lv", "locale": "lv_LV", "name": "Latvian", "native": "Latviešu", "flag": "flag-icon-lv", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 50, "rgt": 51, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "lv_LV", "tag": "lv", "primary": "lv" }, { "code": "sk", "locale": "sk_SK", "name": "Slovak", "native": "Slovenský", "flag": "flag-icon-sk", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 52, "rgt": 53, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "sk_SK", "tag": "sk", "primary": "sk" }, { "code": "sl", "locale": "sl_SI", "name": "Slovenian", "native": "Slovenski", "flag": "flag-icon-si", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 54, "rgt": 55, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "sl_SI", "tag": "sl", "primary": "sl" }, { "code": "is", "locale": "is_IS", "name": "Icelandic", "native": "íslenska", "flag": "flag-icon-is", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 56, "rgt": 57, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "is_IS", "tag": "is", "primary": "is" }, { "code": "sq", "locale": "sq_AL", "name": "Albanian", "native": "Shqip", "flag": "flag-icon-al", "script": "Aghb", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 58, "rgt": 59, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "sq_AL", "tag": "sq", "primary": "sq" } ] } }</code> </pre> </span> <span id="execution-results-GETapi-languages" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-languages"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-languages" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-languages" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-languages"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-languages" data-method="GET" data-path="api/languages" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-languages', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-languages" onclick="tryItOut('GETapi-languages');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-languages" onclick="cancelTryOut('GETapi-languages');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-languages" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/languages</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-languages" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-languages" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-languages" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-languages" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-languages" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> </form> <h2 id="languages-GETapi-languages--code-">Get language</h2> <p> </p> <span id="example-requests-GETapi-languages--code-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/languages/en" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/languages/en" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/languages/en'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/languages/en' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-languages--code-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "code": "en", "locale": "en_US", "name": "English", "native": "English", "flag": "flag-icon-gb", "script": "Latn", "direction": "ltr", "russian_pluralization": 0, "date_format": "MMM Do, YYYY", "datetime_format": "MMM Do, YYYY [at] HH:mm", "active": 1, "default": 1, "parent_id": null, "lft": 2, "rgt": 3, "depth": 0, "created_at": "2025-03-29 16:48:55", "updated_at": "2025-03-29 16:48:55", "iso_locale": "en_US", "tag": "en", "primary": "en" } }</code> </pre> </span> <span id="execution-results-GETapi-languages--code-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-languages--code-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-languages--code-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-languages--code-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-languages--code-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-languages--code-" data-method="GET" data-path="api/languages/{code}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-languages--code-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-languages--code-" onclick="tryItOut('GETapi-languages--code-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-languages--code-" onclick="cancelTryOut('GETapi-languages--code-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-languages--code-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/languages/{code}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-languages--code-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-languages--code-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-languages--code-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-languages--code-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-languages--code-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>code</code></b> <small>string</small> <input type="text" style="display: none" name="code" data-endpoint="GETapi-languages--code-" value="en" data-component="url"> <br> <p>The language's code. Example: <code>en</code></p> </div> </form> <h1 id="listings">Listings</h1> <h2 id="listings-GETapi-posts">List listings</h2> <p> </p> <span id="example-requests-GETapi-posts"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/posts?op=&postId=&distance=&belongLoggedUser=&pendingApproval=1&archived=&embed=&sort=created_at&perPage=2" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/posts" ); const params = { "op": "", "postId": "", "distance": "", "belongLoggedUser": "0", "pendingApproval": "1", "archived": "0", "embed": "", "sort": "created_at", "perPage": "2", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/posts'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'op' => '', 'postId' => '', 'distance' => '', 'belongLoggedUser' => '0', 'pendingApproval' => '1', 'archived' => '0', 'embed' => '', 'sort' => 'created_at', 'perPage' => '2', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/posts' params = { 'op': '', 'postId': '', 'distance': '', 'belongLoggedUser': '0', 'pendingApproval': '1', 'archived': '0', 'embed': '', 'sort': 'created_at', 'perPage': '2', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-posts"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "id": 2669, "country_code": "US", "user_id": 248, "payment_id": null, "company_id": 462, "company_name": "Batz And Sons", "logo_path": "files/lk/248/53a0ca317cf74b28fd6b193be75ad083.png", "company_description": "Odio cupiditate nobis laboriosam sint. Autem voluptatem similique officia sed. Ut facere et dicta. Quis et qui itaque reprehenderit facilis.", "category_id": 1, "post_type_id": 3, "title": "Line Cook Senior", "excerpt": "Sed cupiditate nemo voluptatum enim. Soluta numquam soluta illum ut et est. Rerum aut rerum aut alia...", "description": "Sed cupiditate nemo voluptatum enim. Soluta numquam soluta illum ut et est. Rerum aut rerum aut alias. Illo nostrum ex beatae. Totam et quis nemo veniam. Porro velit aliquid et facilis sed placeat laborum. Ex consequuntur perferendis quae. Molestiae dolorem at voluptas eos. Dolore autem consequatur sint occaecati ea qui.", "tags": [ "sint", "quo", "quidem" ], "salary_min": "7.00", "salary_max": "1434.00", "salary_type_id": 1, "currency_code": null, "negotiable": 0, "start_date": "2025-04-02", "application_url": null, "contact_name": "Lenny Huels", "address": null, "city_id": 47294, "lat": 42.34, "lon": -83.27, "create_from_ip": "231.191.197.81", "latest_update_ip": null, "visits": 5, "auth_field": "email", "email": "wilkinson.alyson@gmail.com", "phone": "+15693333466", "phone_national": "(569) 333-3466", "phone_country": "US", "email_token": null, "phone_token": "demoFaker", "email_verified_at": "2025-03-26T00:28:14.000000Z", "phone_verified_at": "2025-03-26T00:28:14.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": 0, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": 0, "locked_at": null, "phone_hidden": 0, "accept_terms": 1, "accept_marketing_offers": 1, "featured": 0, "tmp_token": null, "reviewed_at": "2025-03-26T00:28:14.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-22T07:24:57.000000Z", "updated_at": "2025-05-17T08:25:12.999247Z", "reference": "z3YaOYXBdxq", "slug": "line-cook-senior", "url": "https://jobclass.laraclassifier.local/line-cook-senior/z3YaOYXBdxq", "phone_intl": "(569) 333-3466", "created_at_formatted": "Mar 22nd, 2025 at 03:24", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$7 - $1,434", "visits_formatted": "5 views", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/lk/248/thumbnails/320x240-53a0ca317cf74b28fd6b193be75ad083.png", "small": "https://jobclass.laraclassifier.local/storage/files/lk/248/thumbnails/120x90-53a0ca317cf74b28fd6b193be75ad083.png", "medium": "https://jobclass.laraclassifier.local/storage/files/lk/248/thumbnails/320x240-53a0ca317cf74b28fd6b193be75ad083.png", "large": "https://jobclass.laraclassifier.local/storage/files/lk/248/thumbnails/816x460-53a0ca317cf74b28fd6b193be75ad083.png" } }, { "id": 2655, "country_code": "US", "user_id": 32, "payment_id": null, "company_id": 152, "company_name": "Kutch, Hirthe And Pagac", "logo_path": "files/ua/32/8f76d6bce96b27f6d40e29f6f5687f5f.png", "company_description": "Voluptatum consectetur nostrum dolore aliquid. Voluptatem quam facilis corporis. In saepe omnis aut aut et officia architecto.", "category_id": 11, "post_type_id": 1, "title": "Telephone Operator Senior", "excerpt": "Ut quos nostrum rerum tempora doloribus quidem voluptatem. Consectetur neque officia voluptatum dist...", "description": "Ut quos nostrum rerum tempora doloribus quidem voluptatem. Consectetur neque officia voluptatum distinctio dicta aut rerum repudiandae. Qui velit eos quam voluptatum quidem. Ut ipsa illum voluptatum quaerat adipisci nam. Unde sit et nam maxime nemo dolore corrupti. Adipisci sed nulla et. Sequi veniam aut omnis dolorum sed quo dolorem. Maxime molestiae quae cumque. Aliquid laboriosam perspiciatis enim. Et eum est vel excepturi dolorum minima quibusdam. Totam inventore sit quibusdam rerum. Aperiam perspiciatis ut id nam et nostrum quas illo. Qui sit cum iste fuga maiores. Earum architecto unde eligendi dolorem eligendi unde. Et expedita rerum eos nihil necessitatibus sed. Hic recusandae nostrum fugiat provident qui.", "tags": [ "dolor", "sint", "soluta" ], "salary_min": "8.00", "salary_max": "83988.00", "salary_type_id": 1, "currency_code": null, "negotiable": 0, "start_date": "2025-04-02", "application_url": null, "contact_name": "Georgette O'Kon", "address": null, "city_id": 49344, "lat": 36.32, "lon": -121.24, "create_from_ip": "71.105.44.202", "latest_update_ip": null, "visits": 714, "auth_field": "email", "email": "padberg.raymundo@gmail.com", "phone": "+19771208577", "phone_national": "(977) 120-8577", "phone_country": "US", "email_token": null, "phone_token": "demoFaker", "email_verified_at": "2025-02-17T06:25:36.000000Z", "phone_verified_at": "2025-02-17T06:25:36.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": 0, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": 0, "locked_at": null, "phone_hidden": 0, "accept_terms": 1, "accept_marketing_offers": 0, "featured": 1, "tmp_token": null, "reviewed_at": "2025-02-17T06:25:36.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2024-12-29T11:57:09.000000Z", "updated_at": "2025-03-13T18:16:17.000000Z", "reference": "7LDdwpyge1Y", "slug": "telephone-operator-senior", "url": "https://jobclass.laraclassifier.local/telephone-operator-senior/7LDdwpyge1Y", "phone_intl": "(977) 120-8577", "created_at_formatted": "Dec 29th, 2024 at 06:57", "updated_at_formatted": "Mar 13th, 2025 at 14:16", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$8 - $83,988", "visits_formatted": "714 views", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/ua/32/thumbnails/320x240-8f76d6bce96b27f6d40e29f6f5687f5f.png", "small": "https://jobclass.laraclassifier.local/storage/files/ua/32/thumbnails/120x90-8f76d6bce96b27f6d40e29f6f5687f5f.png", "medium": "https://jobclass.laraclassifier.local/storage/files/ua/32/thumbnails/320x240-8f76d6bce96b27f6d40e29f6f5687f5f.png", "large": "https://jobclass.laraclassifier.local/storage/files/ua/32/thumbnails/816x460-8f76d6bce96b27f6d40e29f6f5687f5f.png" } }, { "id": 2641, "country_code": "US", "user_id": 685, "payment_id": null, "company_id": 476, "company_name": "Schumm, Gleason And Schinner", "logo_path": "files/ng/685/594fc805c77a9bed775b806550917622.png", "company_description": "Qui beatae id sed non. Ipsa cum atque assumenda et voluptatem modi. Neque at numquam maiores fugiat ut.", "category_id": 14, "post_type_id": 3, "title": "Looking for Preschool Teacher", "excerpt": "Sapiente totam dolores porro quidem mollitia vel aperiam. Ut fugiat dolorem deserunt voluptatem exce...", "description": "Sapiente totam dolores porro quidem mollitia vel aperiam. Ut fugiat dolorem deserunt voluptatem excepturi omnis. Voluptatem sit dolorum tempora occaecati cumque corrupti est. Labore sint rem vel repellat. Exercitationem accusantium ex quae adipisci dolorem. Qui laborum et blanditiis et dolore. Iste fugiat ad rerum sunt blanditiis quia. Et rerum officia temporibus ut voluptate. Nulla ea natus rerum doloremque. Voluptas nam nisi aut similique. Non repudiandae quam doloribus. Recusandae ipsa ex tenetur sunt voluptatibus nihil. Voluptatem dignissimos aut nostrum excepturi nulla voluptas odio. Voluptas provident officiis pariatur aliquid nesciunt. Saepe est maiores pariatur vel qui. Ut deleniti neque a debitis ut distinctio. Quis nihil qui minus rem ea. Et nobis autem veritatis et. Enim aut eaque accusamus. Ratione iure ut atque et ab labore.", "tags": [ "quia", "corporis", "enim" ], "salary_min": "12.00", "salary_max": "573.00", "salary_type_id": 1, "currency_code": null, "negotiable": 0, "start_date": "2025-04-27", "application_url": null, "contact_name": "Lorine Haag", "address": null, "city_id": 47268, "lat": 43.59, "lon": -83.89, "create_from_ip": "169.130.170.255", "latest_update_ip": null, "visits": 54193, "auth_field": "email", "email": "linwood.sporer@yahoo.com", "phone": "+17803098910", "phone_national": "(780) 309-8910", "phone_country": "US", "email_token": null, "phone_token": "demoFaker", "email_verified_at": "2025-03-26T10:18:04.000000Z", "phone_verified_at": "2025-03-26T10:18:04.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": 0, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": 0, "locked_at": null, "phone_hidden": 0, "accept_terms": 1, "accept_marketing_offers": 1, "featured": 1, "tmp_token": null, "reviewed_at": "2025-03-26T10:18:04.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-11T22:12:42.000000Z", "updated_at": "2025-03-29T16:51:22.000000Z", "reference": "MVyb82z2evA", "slug": "looking-for-preschool-teacher", "url": "https://jobclass.laraclassifier.local/looking-for-preschool-teacher/MVyb82z2evA", "phone_intl": "(780) 309-8910", "created_at_formatted": "Mar 11th, 2025 at 18:12", "updated_at_formatted": "Mar 29th, 2025 at 12:51", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$12 - $573", "visits_formatted": "54.2K views", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/ng/685/thumbnails/320x240-594fc805c77a9bed775b806550917622.png", "small": "https://jobclass.laraclassifier.local/storage/files/ng/685/thumbnails/120x90-594fc805c77a9bed775b806550917622.png", "medium": "https://jobclass.laraclassifier.local/storage/files/ng/685/thumbnails/320x240-594fc805c77a9bed775b806550917622.png", "large": "https://jobclass.laraclassifier.local/storage/files/ng/685/thumbnails/816x460-594fc805c77a9bed775b806550917622.png" } }, { "id": 2593, "country_code": "US", "user_id": 1088, "payment_id": null, "company_id": 520, "company_name": "Hyatt, Torphy And Carter", "logo_path": "files/ma/1088/1a1a20bd7135e7213c453f3e2c72f1bc.png", "company_description": "Dolores molestiae praesentium perspiciatis animi consequuntur similique corporis occaecati. Asperiores voluptatem quis dolores id et molestiae vitae. Velit optio ratione accusamus inventore.", "category_id": 5, "post_type_id": 1, "title": "Immediate: Computer Programmer", "excerpt": "Sit voluptatem odit omnis repudiandae ut. Odio magnam repellendus deleniti dicta praesentium magni t...", "description": "Sit voluptatem odit omnis repudiandae ut. Odio magnam repellendus deleniti dicta praesentium magni temporibus ullam. Minus fuga temporibus aut sunt voluptas amet. Iusto dolore quo odit. Deserunt possimus eius nesciunt earum quia et beatae. Eius nihil ad officia sunt consequatur ut. Ipsum illum labore laborum repellat cum non atque. Consequatur dolorum reiciendis dolore reprehenderit. Ex eligendi maxime facere aut temporibus nam. Ut quae laudantium tempore qui impedit. Ipsam consequuntur dignissimos et optio. Maiores veniam id iure molestiae temporibus.", "tags": [ "architecto", "blanditiis", "sint" ], "salary_min": "76.00", "salary_max": "1631.00", "salary_type_id": 2, "currency_code": null, "negotiable": 0, "start_date": "2025-04-25", "application_url": null, "contact_name": "Brigitte Prohaska", "address": null, "city_id": 45319, "lat": 35.94, "lon": -77.79, "create_from_ip": "64.155.52.117", "latest_update_ip": null, "visits": 53, "auth_field": "email", "email": "franecki.jane@yahoo.com", "phone": "+19921895113", "phone_national": "(992) 189-5113", "phone_country": "US", "email_token": null, "phone_token": "demoFaker", "email_verified_at": "2025-03-21T14:04:29.000000Z", "phone_verified_at": "2025-03-21T14:04:29.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": 0, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": 0, "locked_at": null, "phone_hidden": 0, "accept_terms": 1, "accept_marketing_offers": 1, "featured": 1, "tmp_token": null, "reviewed_at": "2025-03-21T14:04:29.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-14T06:02:46.000000Z", "updated_at": "2025-03-26T15:41:44.000000Z", "reference": "4open56Dd7A", "slug": "immediate-computer-programmer", "url": "https://jobclass.laraclassifier.local/immediate-computer-programmer/4open56Dd7A", "phone_intl": "(992) 189-5113", "created_at_formatted": "Mar 14th, 2025 at 02:02", "updated_at_formatted": "Mar 26th, 2025 at 11:41", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$76 - $1,631", "visits_formatted": "53 views", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/ma/1088/thumbnails/320x240-1a1a20bd7135e7213c453f3e2c72f1bc.png", "small": "https://jobclass.laraclassifier.local/storage/files/ma/1088/thumbnails/120x90-1a1a20bd7135e7213c453f3e2c72f1bc.png", "medium": "https://jobclass.laraclassifier.local/storage/files/ma/1088/thumbnails/320x240-1a1a20bd7135e7213c453f3e2c72f1bc.png", "large": "https://jobclass.laraclassifier.local/storage/files/ma/1088/thumbnails/816x460-1a1a20bd7135e7213c453f3e2c72f1bc.png" } }, { "id": 2582, "country_code": "US", "user_id": 914, "payment_id": null, "company_id": 246, "company_name": "Wuckert, Towne And Casper", "logo_path": "files/ca/914/4611f0e6ad4ab1bc5e4292764618945f.png", "company_description": "Porro molestiae quod aut sequi provident officia libero. Consequuntur voluptatem qui sit nesciunt. Esse officia consequatur voluptatem.", "category_id": 7, "post_type_id": 5, "title": "Cashier", "excerpt": "Voluptatem sapiente numquam repellendus beatae aperiam sunt rerum. Nulla sint molestiae magni sunt d...", "description": "Voluptatem sapiente numquam repellendus beatae aperiam sunt rerum. Nulla sint molestiae magni sunt dolorem voluptatem. Hic sapiente repudiandae exercitationem earum magnam. Doloribus harum molestiae quasi doloremque. Neque aliquam error aliquid fuga. Inventore ad architecto beatae. Velit ipsa facere nihil laboriosam ut soluta. Laudantium debitis cumque et aut. Quas dolores sit ad blanditiis velit molestias quis. Commodi laboriosam sit dolores cumque assumenda. Ea delectus eligendi autem. Doloremque et cum officia deleniti sunt ad architecto consequatur. Sed quia et repellat alias dolor quos. Minus fugiat tempora odio odit nihil.", "tags": [ "rerum", "eaque", "eveniet" ], "salary_min": "4.00", "salary_max": "22623.00", "salary_type_id": 4, "currency_code": null, "negotiable": 0, "start_date": "2025-04-17", "application_url": null, "contact_name": "Hassan Kilback", "address": null, "city_id": 47810, "lat": 40.46, "lon": -74.44, "create_from_ip": "160.15.227.126", "latest_update_ip": null, "visits": 60, "auth_field": "email", "email": "mzieme@gmail.com", "phone": "+18962492012", "phone_national": "(896) 249-2012", "phone_country": "US", "email_token": null, "phone_token": "demoFaker", "email_verified_at": "2025-03-22T02:59:46.000000Z", "phone_verified_at": "2025-03-22T02:59:46.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": 0, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": 0, "locked_at": null, "phone_hidden": 0, "accept_terms": 1, "accept_marketing_offers": 0, "featured": 0, "tmp_token": null, "reviewed_at": "2025-03-22T02:59:46.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-19T19:29:35.000000Z", "updated_at": "2025-05-17T08:25:13.585489Z", "reference": "qM7e5yKZe2v", "slug": "cashier", "url": "https://jobclass.laraclassifier.local/cashier/qM7e5yKZe2v", "phone_intl": "(896) 249-2012", "created_at_formatted": "Mar 19th, 2025 at 15:29", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$4 - $22,623", "visits_formatted": "60 views", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/ca/914/thumbnails/320x240-4611f0e6ad4ab1bc5e4292764618945f.png", "small": "https://jobclass.laraclassifier.local/storage/files/ca/914/thumbnails/120x90-4611f0e6ad4ab1bc5e4292764618945f.png", "medium": "https://jobclass.laraclassifier.local/storage/files/ca/914/thumbnails/320x240-4611f0e6ad4ab1bc5e4292764618945f.png", "large": "https://jobclass.laraclassifier.local/storage/files/ca/914/thumbnails/816x460-4611f0e6ad4ab1bc5e4292764618945f.png" } }, { "id": 2560, "country_code": "US", "user_id": 995, "payment_id": null, "company_id": 158, "company_name": "Howell LLC", "logo_path": "files/ae/995/9643fb5f9224cde7938bea06703dc85a.png", "company_description": "Consequatur explicabo sit perferendis nostrum vero. Blanditiis explicabo officia et nihil voluptate placeat doloremque.", "category_id": 1, "post_type_id": 6, "title": "Barber Junior", "excerpt": "Dolore quia ut accusamus recusandae modi voluptates. Id et non illum consequatur non a. Optio optio...", "description": "Dolore quia ut accusamus recusandae modi voluptates. Id et non illum consequatur non a. Optio optio consequatur saepe odit in quasi quia. Dolores mollitia aut facere quasi ratione. Molestiae quis ex quod ratione. Repudiandae animi nostrum sed similique minima. Aspernatur enim sunt tempore nihil minima voluptas. Illo et molestias eos vel saepe sit ab. Possimus rerum cumque inventore ut ea non quia. Dolor recusandae in ea ipsum. Ipsum quia ut minima explicabo veniam. Eius facere dolores perferendis non quaerat odit qui. Doloribus ut corporis voluptas harum nisi. Accusantium dignissimos perspiciatis similique assumenda cum. Ex quasi voluptatem distinctio laborum necessitatibus sed neque. Odio officia inventore consequatur a veniam perferendis dolor. Sit consequuntur id facilis ipsa ipsam aut.", "tags": [ "tempora", "animi", "nisi" ], "salary_min": "5.00", "salary_max": "683.00", "salary_type_id": 2, "currency_code": null, "negotiable": 0, "start_date": "2025-04-20", "application_url": null, "contact_name": "Cesar Huel", "address": null, "city_id": 49300, "lat": 33.04, "lon": -117.29, "create_from_ip": "162.83.99.234", "latest_update_ip": null, "visits": 85, "auth_field": "email", "email": "ggrady@gmail.com", "phone": "+10761982254", "phone_national": "0761982254", "phone_country": "US", "email_token": null, "phone_token": "demoFaker", "email_verified_at": "2025-03-29T00:26:22.000000Z", "phone_verified_at": "2025-03-29T00:26:22.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": 0, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": 0, "locked_at": null, "phone_hidden": 0, "accept_terms": 1, "accept_marketing_offers": 1, "featured": 0, "tmp_token": null, "reviewed_at": "2025-03-29T00:26:22.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-27T03:57:24.000000Z", "updated_at": "2025-05-17T08:25:13.725776Z", "reference": "X46dBB9nd79", "slug": "barber-junior", "url": "https://jobclass.laraclassifier.local/barber-junior/X46dBB9nd79", "phone_intl": "0761982254", "created_at_formatted": "Mar 26th, 2025 at 23:57", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$5 - $683", "visits_formatted": "85 views", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/ae/995/thumbnails/320x240-9643fb5f9224cde7938bea06703dc85a.png", "small": "https://jobclass.laraclassifier.local/storage/files/ae/995/thumbnails/120x90-9643fb5f9224cde7938bea06703dc85a.png", "medium": "https://jobclass.laraclassifier.local/storage/files/ae/995/thumbnails/320x240-9643fb5f9224cde7938bea06703dc85a.png", "large": "https://jobclass.laraclassifier.local/storage/files/ae/995/thumbnails/816x460-9643fb5f9224cde7938bea06703dc85a.png" } }, { "id": 2474, "country_code": "US", "user_id": 70, "payment_id": null, "company_id": 548, "company_name": "Cummerata, Haley And Leuschke", "logo_path": "files/mx/70/efb277c66cbeaef42c6d2c85d6bf9065.png", "company_description": "Ut rerum adipisci tempora ea dolor sint ratione. Dicta quis sit ad maxime rerum necessitatibus. Temporibus excepturi neque quia vitae quo illum molestiae. Repellendus id dolor et.", "category_id": 3, "post_type_id": 2, "title": "We are hiring a Public Relations", "excerpt": "Assumenda dignissimos esse ut laudantium velit. Ipsa corporis est fugiat ducimus. Temporibus esse ni...", "description": "Assumenda dignissimos esse ut laudantium velit. Ipsa corporis est fugiat ducimus. Temporibus esse nihil recusandae rerum sequi dolores dicta dolorum. In maxime qui quas voluptatem reiciendis. Velit amet alias voluptatem et adipisci rerum ut. Quae excepturi id sit velit. Mollitia eos quia est eos non laborum. Voluptas et fuga placeat similique officia. Aut voluptatem consequatur delectus doloribus. Velit ullam quidem rerum deserunt eos. Atque qui exercitationem voluptatum nihil blanditiis. Et corporis tempore voluptas voluptatem. Architecto iusto sequi deserunt excepturi ut. Assumenda et hic sit hic qui repudiandae laudantium. Voluptatem ex incidunt similique maxime voluptas consequatur ab perferendis.", "tags": [ "sapiente", "est", "et" ], "salary_min": "1.00", "salary_max": "952.00", "salary_type_id": 4, "currency_code": null, "negotiable": 1, "start_date": "2025-04-25", "application_url": null, "contact_name": "Stanton Koss", "address": null, "city_id": 44033, "lat": 26.24, "lon": -80.21, "create_from_ip": "118.33.95.20", "latest_update_ip": null, "visits": 161, "auth_field": "email", "email": "nicolas.veronica@hotmail.com", "phone": "+12740792674", "phone_national": "(274) 079-2674", "phone_country": "US", "email_token": null, "phone_token": "demoFaker", "email_verified_at": "2025-03-26T16:33:10.000000Z", "phone_verified_at": "2025-03-26T16:33:10.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": 0, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": 0, "locked_at": null, "phone_hidden": 0, "accept_terms": 1, "accept_marketing_offers": 0, "featured": 1, "tmp_token": null, "reviewed_at": "2025-03-26T16:33:10.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-25T05:52:22.000000Z", "updated_at": "2025-03-29T16:51:21.000000Z", "reference": "rlNbW6mWayg", "slug": "we-are-hiring-a-public-relations", "url": "https://jobclass.laraclassifier.local/we-are-hiring-a-public-relations/rlNbW6mWayg", "phone_intl": "(274) 079-2674", "created_at_formatted": "Mar 25th, 2025 at 01:52", "updated_at_formatted": "Mar 29th, 2025 at 12:51", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$1 - $952", "visits_formatted": "161 views", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/mx/70/thumbnails/320x240-efb277c66cbeaef42c6d2c85d6bf9065.png", "small": "https://jobclass.laraclassifier.local/storage/files/mx/70/thumbnails/120x90-efb277c66cbeaef42c6d2c85d6bf9065.png", "medium": "https://jobclass.laraclassifier.local/storage/files/mx/70/thumbnails/320x240-efb277c66cbeaef42c6d2c85d6bf9065.png", "large": "https://jobclass.laraclassifier.local/storage/files/mx/70/thumbnails/816x460-efb277c66cbeaef42c6d2c85d6bf9065.png" } }, { "id": 2448, "country_code": "US", "user_id": 2169, "payment_id": null, "company_id": 685, "company_name": "Quitzon, Franecki And Green", "logo_path": "files/ca/2169/ed9f65f617f57c4cb11aba52fa3fa7bd.png", "company_description": "Quaerat voluptas nihil dignissimos illo repudiandae consectetur distinctio. Debitis aut velit autem natus officiis. Sunt sapiente quibusdam reiciendis laborum debitis expedita ut. Atque nisi veniam aperiam perspiciatis. Enim sed deserunt quae repellendus et.", "category_id": 5, "post_type_id": 5, "title": "IT Professional 5 years of experience", "excerpt": "Impedit in ex rem magni. Autem ad accusantium nulla molestiae. Qui nobis repellendus aliquid aperiam...", "description": "Impedit in ex rem magni. Autem ad accusantium nulla molestiae. Qui nobis repellendus aliquid aperiam est maxime. Non quos nesciunt aperiam libero. Rerum sint et quis at amet commodi tempora. Culpa eligendi quidem cupiditate quaerat. Earum doloribus porro magni non dolores. Sed est dolor voluptatum placeat. Alias nihil atque esse sint labore. Dolorem sint accusantium ut vitae corrupti illo. Vel minus eaque assumenda ut nostrum. Omnis et rerum voluptate vitae et odio quo esse. Molestiae explicabo magni dolorem voluptatem enim. Magni necessitatibus occaecati in ut.", "tags": [ "officia", "atque", "non" ], "salary_min": "64.00", "salary_max": "519.00", "salary_type_id": 4, "currency_code": null, "negotiable": 0, "start_date": "2025-04-28", "application_url": null, "contact_name": "Olga Larkin", "address": null, "city_id": 44027, "lat": 30.28, "lon": -82.12, "create_from_ip": "85.135.40.239", "latest_update_ip": null, "visits": 127, "auth_field": "email", "email": "mitchell.haley@hotmail.com", "phone": "+12326382331", "phone_national": "(232) 638-2331", "phone_country": "US", "email_token": null, "phone_token": "demoFaker", "email_verified_at": "2025-03-27T17:02:59.000000Z", "phone_verified_at": "2025-03-27T17:02:59.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": 0, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": 0, "locked_at": null, "phone_hidden": 0, "accept_terms": 1, "accept_marketing_offers": 0, "featured": 1, "tmp_token": null, "reviewed_at": "2025-03-27T17:02:59.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-25T13:04:11.000000Z", "updated_at": "2025-03-29T16:51:29.000000Z", "reference": "wMvbmZMpdYA", "slug": "it-professional-5-years-of-experience", "url": "https://jobclass.laraclassifier.local/it-professional-5-years-of-experience/wMvbmZMpdYA", "phone_intl": "(232) 638-2331", "created_at_formatted": "Mar 25th, 2025 at 09:04", "updated_at_formatted": "Mar 29th, 2025 at 12:51", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$64 - $519", "visits_formatted": "127 views", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/ca/2169/thumbnails/320x240-ed9f65f617f57c4cb11aba52fa3fa7bd.png", "small": "https://jobclass.laraclassifier.local/storage/files/ca/2169/thumbnails/120x90-ed9f65f617f57c4cb11aba52fa3fa7bd.png", "medium": "https://jobclass.laraclassifier.local/storage/files/ca/2169/thumbnails/320x240-ed9f65f617f57c4cb11aba52fa3fa7bd.png", "large": "https://jobclass.laraclassifier.local/storage/files/ca/2169/thumbnails/816x460-ed9f65f617f57c4cb11aba52fa3fa7bd.png" } }, { "id": 2438, "country_code": "US", "user_id": 366, "payment_id": null, "company_id": 407, "company_name": "Koepp, Reichel And Howell", "logo_path": "files/pk/366/48163c98355de7317de218b8438e452f.png", "company_description": "Velit ut ea non occaecati nihil aut cupiditate. Repellat sequi nostrum aliquid alias enim iusto.", "category_id": 5, "post_type_id": 5, "title": "Meeting Planner", "excerpt": "Fugiat assumenda ipsum quo ipsum ea repudiandae distinctio reprehenderit. Quod ea laudantium possimu...", "description": "Fugiat assumenda ipsum quo ipsum ea repudiandae distinctio reprehenderit. Quod ea laudantium possimus voluptas in eos. Necessitatibus inventore rerum voluptas non qui doloremque. Ullam ut impedit non voluptas incidunt. Ipsum voluptas a aut minus. Atque quis modi rem distinctio ut veniam. Totam inventore qui voluptas similique ducimus sint distinctio. Sint qui doloremque et a quo commodi. Quis neque voluptates iure dignissimos velit voluptas quos aliquam. Et provident minima vel adipisci dolor reiciendis ducimus. Quia eaque autem at porro reprehenderit commodi. Nesciunt occaecati voluptas qui eaque velit sed qui. Optio sint rerum quidem quisquam cupiditate esse. Quia inventore autem minima commodi. Et ullam eligendi ad voluptatem velit repellendus deserunt. Et hic ut dolorem ad odit libero unde. Sunt et distinctio id.", "tags": [ "cupiditate", "minima", "sit" ], "salary_min": "9.00", "salary_max": "3309.00", "salary_type_id": 3, "currency_code": null, "negotiable": 0, "start_date": "2025-04-26", "application_url": null, "contact_name": "Jules Schultz", "address": null, "city_id": 50610, "lat": 39.11, "lon": -96.81, "create_from_ip": "190.10.126.62", "latest_update_ip": null, "visits": 7166, "auth_field": "email", "email": "ruecker.reilly@gmail.com", "phone": "+19821567501", "phone_national": "(982) 156-7501", "phone_country": "US", "email_token": null, "phone_token": "demoFaker", "email_verified_at": "2025-03-27T18:36:34.000000Z", "phone_verified_at": "2025-03-27T18:36:34.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": 0, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": 0, "locked_at": null, "phone_hidden": 0, "accept_terms": 1, "accept_marketing_offers": 1, "featured": 1, "tmp_token": null, "reviewed_at": "2025-03-27T18:36:34.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-27T01:07:59.000000Z", "updated_at": "2025-03-27T21:25:56.000000Z", "reference": "qM7e5y1xe2v", "slug": "meeting-planner", "url": "https://jobclass.laraclassifier.local/meeting-planner/qM7e5y1xe2v", "phone_intl": "(982) 156-7501", "created_at_formatted": "Mar 26th, 2025 at 21:07", "updated_at_formatted": "Mar 27th, 2025 at 17:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$9 - $3,309", "visits_formatted": "7.2K views", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/pk/366/thumbnails/320x240-48163c98355de7317de218b8438e452f.png", "small": "https://jobclass.laraclassifier.local/storage/files/pk/366/thumbnails/120x90-48163c98355de7317de218b8438e452f.png", "medium": "https://jobclass.laraclassifier.local/storage/files/pk/366/thumbnails/320x240-48163c98355de7317de218b8438e452f.png", "large": "https://jobclass.laraclassifier.local/storage/files/pk/366/thumbnails/816x460-48163c98355de7317de218b8438e452f.png" } }, { "id": 2434, "country_code": "US", "user_id": 777, "payment_id": null, "company_id": 192, "company_name": "Weissnat, Green And Jaskolski", "logo_path": "files/us/777/14f432f4b9971d1d1ae059ca054f08a6.png", "company_description": "Voluptates sunt totam aut corporis vero tempore et ut. Non ullam est eligendi ut vel voluptatem enim. Eos blanditiis ipsa ea deleniti consequuntur.", "category_id": 13, "post_type_id": 4, "title": "Marketing Consultant Junior", "excerpt": "Ducimus optio qui corrupti quam. Vitae aut optio quia esse sequi. Illum vitae ullam voluptatum quia...", "description": "Ducimus optio qui corrupti quam. Vitae aut optio quia esse sequi. Illum vitae ullam voluptatum quia dicta. Iure nobis consequatur dolores earum impedit ipsa. Velit numquam cum dolorem dolorem. Aut perspiciatis qui exercitationem quia sit et. Repudiandae quia voluptatum quia quae et et dolorem. Dolorem corporis nihil sed sit.", "tags": [ "aperiam", "sint", "quia" ], "salary_min": "52.00", "salary_max": "97.00", "salary_type_id": 4, "currency_code": null, "negotiable": 1, "start_date": "2025-04-07", "application_url": null, "contact_name": "Antonetta Cruickshank", "address": null, "city_id": 48374, "lat": 41.56, "lon": -74.19, "create_from_ip": "109.96.215.116", "latest_update_ip": null, "visits": 3868, "auth_field": "email", "email": "mstrosin@hotmail.com", "phone": "+19694427755", "phone_national": "(969) 442-7755", "phone_country": "US", "email_token": null, "phone_token": "demoFaker", "email_verified_at": "2025-03-29T15:22:12.000000Z", "phone_verified_at": "2025-03-29T15:22:12.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": 0, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": 0, "locked_at": null, "phone_hidden": 0, "accept_terms": 1, "accept_marketing_offers": 1, "featured": 0, "tmp_token": null, "reviewed_at": "2025-03-29T15:22:12.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-29T15:18:43.000000Z", "updated_at": "2025-05-17T08:25:14.288956Z", "reference": "EKQe1wB3bJY", "slug": "marketing-consultant-junior", "url": "https://jobclass.laraclassifier.local/marketing-consultant-junior/EKQe1wB3bJY", "phone_intl": "(969) 442-7755", "created_at_formatted": "Mar 29th, 2025 at 11:18", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$52 - $97", "visits_formatted": "3.9K views", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/777/thumbnails/320x240-14f432f4b9971d1d1ae059ca054f08a6.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/777/thumbnails/120x90-14f432f4b9971d1d1ae059ca054f08a6.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/777/thumbnails/320x240-14f432f4b9971d1d1ae059ca054f08a6.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/777/thumbnails/816x460-14f432f4b9971d1d1ae059ca054f08a6.png" } }, { "id": 2327, "country_code": "US", "user_id": 872, "payment_id": null, "company_id": 568, "company_name": "Kautzer-Marquardt", "logo_path": "files/fr/872/a8a47a616f3727f89f811b4a7267d883.png", "company_description": "Vitae consequatur sapiente sunt reprehenderit eos et sequi qui. Veniam ut suscipit occaecati. Aliquam quasi possimus necessitatibus repellendus enim nisi. Commodi in ut repellat quod ea est. Et voluptatibus hic voluptatem sint quos labore animi.", "category_id": 14, "post_type_id": 4, "title": "Women’s Shelter Jobs", "excerpt": "Voluptas facilis id dicta. Nostrum incidunt facere rerum est. Mollitia doloribus et libero corrupti...", "description": "Voluptas facilis id dicta. Nostrum incidunt facere rerum est. Mollitia doloribus et libero corrupti ut pariatur. Molestias ea unde accusamus qui fugiat. Aspernatur omnis dolore alias ullam iure voluptates. Tempora assumenda quas delectus pariatur minus id vel. Pariatur est dicta qui nam consectetur maiores sunt. Voluptatem impedit adipisci velit adipisci deserunt et. Est nobis occaecati quae odio. Voluptatem vero repellendus est minima quaerat.", "tags": [ "nemo", "debitis", "officiis" ], "salary_min": "40.00", "salary_max": "5925.00", "salary_type_id": 2, "currency_code": null, "negotiable": 1, "start_date": "2025-04-27", "application_url": null, "contact_name": "Janie Runte", "address": null, "city_id": 47369, "lat": 41.92, "lon": -83.4, "create_from_ip": "8.175.168.82", "latest_update_ip": null, "visits": 4256, "auth_field": "email", "email": "abelardo.towne@yahoo.com", "phone": "+10780760501", "phone_national": "0780760501", "phone_country": "US", "email_token": null, "phone_token": "demoFaker", "email_verified_at": "2025-03-27T20:57:08.000000Z", "phone_verified_at": "2025-03-27T20:57:08.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": 0, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": 0, "locked_at": null, "phone_hidden": 0, "accept_terms": 1, "accept_marketing_offers": 1, "featured": 1, "tmp_token": null, "reviewed_at": "2025-03-27T20:57:08.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-23T04:44:41.000000Z", "updated_at": "2025-05-17T08:25:14.437457Z", "reference": "LYqaQWOYdnj", "slug": "womens-shelter-jobs", "url": "https://jobclass.laraclassifier.local/womens-shelter-jobs/LYqaQWOYdnj", "phone_intl": "0780760501", "created_at_formatted": "Mar 23rd, 2025 at 00:44", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$40 - $5,925", "visits_formatted": "4.3K views", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/fr/872/thumbnails/320x240-a8a47a616f3727f89f811b4a7267d883.png", "small": "https://jobclass.laraclassifier.local/storage/files/fr/872/thumbnails/120x90-a8a47a616f3727f89f811b4a7267d883.png", "medium": "https://jobclass.laraclassifier.local/storage/files/fr/872/thumbnails/320x240-a8a47a616f3727f89f811b4a7267d883.png", "large": "https://jobclass.laraclassifier.local/storage/files/fr/872/thumbnails/816x460-a8a47a616f3727f89f811b4a7267d883.png" } }, { "id": 2254, "country_code": "US", "user_id": 287, "payment_id": null, "company_id": 588, "company_name": "Feil, Witting And Bradtke", "logo_path": "files/ca/287/cde9e7ae16971e2349f5fe8446cb36bc.png", "company_description": "Ut magni impedit corrupti totam vel sint. Harum porro officia non quis. Eum deleniti expedita hic nisi error. Odit autem dolor ipsam delectus et iusto iusto.", "category_id": 14, "post_type_id": 7, "title": "Senior Customer Service Manager", "excerpt": "Consectetur corrupti natus vitae non vero est. Est officia quibusdam ut mollitia. Ipsa pariatur volu...", "description": "Consectetur corrupti natus vitae non vero est. Est officia quibusdam ut mollitia. Ipsa pariatur voluptatem libero quia. Ea in eligendi harum et quis dicta molestiae. Recusandae assumenda qui fugit mollitia qui assumenda. Aut dolor aspernatur quas voluptatibus. Consequuntur qui repellendus deserunt aut ut et modi. Aut est incidunt laborum sunt magni omnis molestias. Qui a corporis enim voluptas labore consequatur. Illo ut odio vero pariatur est. Beatae minima ex sit placeat in. Vero accusantium qui quibusdam. Ut odio facere temporibus molestias qui qui asperiores nobis. Exercitationem in illum voluptatibus eligendi et assumenda natus provident.", "tags": [ "et", "voluptas", "soluta" ], "salary_min": "8.00", "salary_max": "160.00", "salary_type_id": 3, "currency_code": null, "negotiable": 1, "start_date": "2025-04-10", "application_url": null, "contact_name": "Willis Zieme", "address": null, "city_id": 44371, "lat": 33.71, "lon": -84.27, "create_from_ip": "47.119.7.214", "latest_update_ip": null, "visits": 80, "auth_field": "email", "email": "awalter@gmail.com", "phone": "+17627702939", "phone_national": "(762) 770-2939", "phone_country": "US", "email_token": null, "phone_token": "demoFaker", "email_verified_at": "2025-03-29T16:21:43.000000Z", "phone_verified_at": "2025-03-29T16:21:43.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": 0, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": 0, "locked_at": null, "phone_hidden": 0, "accept_terms": 1, "accept_marketing_offers": 1, "featured": 0, "tmp_token": null, "reviewed_at": "2025-03-29T16:21:43.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-28T11:19:37.000000Z", "updated_at": "2025-05-17T08:25:14.573859Z", "reference": "gl9av2ZmaG1", "slug": "senior-customer-service-manager", "url": "https://jobclass.laraclassifier.local/senior-customer-service-manager/gl9av2ZmaG1", "phone_intl": "(762) 770-2939", "created_at_formatted": "Mar 28th, 2025 at 07:19", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/app/default/user.png", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$8 - $160", "visits_formatted": "80 views", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/ca/287/thumbnails/320x240-cde9e7ae16971e2349f5fe8446cb36bc.png", "small": "https://jobclass.laraclassifier.local/storage/files/ca/287/thumbnails/120x90-cde9e7ae16971e2349f5fe8446cb36bc.png", "medium": "https://jobclass.laraclassifier.local/storage/files/ca/287/thumbnails/320x240-cde9e7ae16971e2349f5fe8446cb36bc.png", "large": "https://jobclass.laraclassifier.local/storage/files/ca/287/thumbnails/816x460-cde9e7ae16971e2349f5fe8446cb36bc.png" } } ], "links": { "first": "https://jobclass.laraclassifier.local/api/posts?page=1", "last": "https://jobclass.laraclassifier.local/api/posts?page=12", "prev": null, "next": "https://jobclass.laraclassifier.local/api/posts?page=2" }, "meta": { "current_page": 1, "from": 1, "last_page": 12, "links": [ { "url": null, "label": "&laquo; Previous", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/posts?page=1", "label": "1", "active": true }, { "url": "https://jobclass.laraclassifier.local/api/posts?page=2", "label": "2", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/posts?page=3", "label": "3", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/posts?page=4", "label": "4", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/posts?page=5", "label": "5", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/posts?page=6", "label": "6", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/posts?page=7", "label": "7", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/posts?page=8", "label": "8", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/posts?page=9", "label": "9", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/posts?page=10", "label": "10", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/posts?page=11", "label": "11", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/posts?page=12", "label": "12", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/posts?page=2", "label": "Next &raquo;", "active": false } ], "path": "https://jobclass.laraclassifier.local/api/posts", "per_page": 12, "to": 12, "total": 137 } } }</code> </pre> </span> <span id="execution-results-GETapi-posts" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-posts"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-posts" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-posts" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-posts"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-posts" data-method="GET" data-path="api/posts" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-posts', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-posts" onclick="tryItOut('GETapi-posts');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-posts" onclick="cancelTryOut('GETapi-posts');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-posts" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/posts</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-posts" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-posts" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-posts" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-posts" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-posts" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>op</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="op" data-endpoint="GETapi-posts" value="" data-component="query"> <br> <p>Type of listings list (optional) - Possible value: search,premium,latest,free,premiumFirst,similar.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>postId</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="postId" data-endpoint="GETapi-posts" value="" data-component="query"> <br> <p>Base Listing's ID to get similar listings (optional) - Mandatory to get similar listings (when op=similar).</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>distance</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="distance" data-endpoint="GETapi-posts" value="" data-component="query"> <br> <p>Distance to get similar listings (optional) - Also optional when the type of similar listings is based on the current listing's category. Mandatory when the type of similar listings is based on the current listing's location. So, its usage is limited to get similar listings (when op=similar) based on the current listing's location.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>belongLoggedUser</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-posts" style="display: none"> <input type="radio" name="belongLoggedUser" value="1" data-endpoint="GETapi-posts" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-posts" style="display: none"> <input type="radio" name="belongLoggedUser" value="0" data-endpoint="GETapi-posts" data-component="query" > <code>false</code> </label> <br> <p>Force users to be logged to get data that belongs to him. Authentication token needs to be sent in the header, and the "op" parameter needs to be null or unset - Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>pendingApproval</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-posts" style="display: none"> <input type="radio" name="pendingApproval" value="1" data-endpoint="GETapi-posts" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-posts" style="display: none"> <input type="radio" name="pendingApproval" value="0" data-endpoint="GETapi-posts" data-component="query" > <code>false</code> </label> <br> <p>To list a user's listings in pending approval. Authentication token needs to be sent in the header, and the "op" parameter needs to be null or unset - Possible value: 0 or 1. Example: <code>true</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>archived</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-posts" style="display: none"> <input type="radio" name="archived" value="1" data-endpoint="GETapi-posts" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-posts" style="display: none"> <input type="radio" name="archived" value="0" data-endpoint="GETapi-posts" data-component="query" > <code>false</code> </label> <br> <p>To list a user's archived posts. Authentication token needs to be sent in the header, and the "op" parameter need be null or unset - Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-posts" value="" data-component="query"> <br> <p>Comma-separated list of the post relationships for Eager Loading - Possible values: user,category,parent,postType,city,currency,savedByLoggedUser,pictures,payment,package.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-posts" value="created_at" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: created_at. Example: <code>created_at</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-posts" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> </form> <h2 id="listings-GETapi-posts--id-">Get listing</h2> <p> </p> <span id="example-requests-GETapi-posts--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/posts/2?unactivatedIncluded=1&belongLoggedUser=&noCache=&embed=user%2CpostType&detailed=" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/posts/2" ); const params = { "unactivatedIncluded": "1", "belongLoggedUser": "0", "noCache": "0", "embed": "user,postType", "detailed": "0", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/posts/2'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'unactivatedIncluded' => '1', 'belongLoggedUser' => '0', 'noCache' => '0', 'embed' => 'user,postType', 'detailed' => '0', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/posts/2' params = { 'unactivatedIncluded': '1', 'belongLoggedUser': '0', 'noCache': '0', 'embed': 'user,postType', 'detailed': '0', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-posts--id-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "id": 2, "country_code": "US", "user_id": 2, "payment_id": null, "company_id": 3, "company_name": "Kemmer-Wisozk", "logo_path": "files/us/2/911243caabb1abd97ac25945179b068a.png", "company_description": "Velit reprehenderit provident qui sint itaque. Repudiandae qui perferendis officia temporibus. Voluptas saepe aliquid error sapiente. Eveniet sit molestiae quam odit vitae.", "category_id": 2, "post_type_id": 4, "title": "Urgent: Sociologist", "excerpt": "Itaque repellat atque et similique. Voluptas cupiditate ea itaque dolore minus qui. Iure ut omnis ut...", "description": "Itaque repellat atque et similique. Voluptas cupiditate ea itaque dolore minus qui. Iure ut omnis ut fuga quisquam quasi eaque. Sed earum aut nostrum ut sit vel assumenda consectetur. Suscipit et repellendus modi vero ad autem recusandae. Incidunt aliquam consequuntur est quis tempore. Quis odio dolor praesentium nulla fugiat dicta nam. Aliquid sequi assumenda quisquam inventore corrupti. Repudiandae quod sint nemo incidunt harum aut. Eius autem harum voluptatum. Mollitia dolore tempora aut consequuntur voluptatum qui. Praesentium recusandae ut exercitationem saepe alias soluta.", "tags": [ "rem", "consequatur", "quia" ], "salary_min": "7.00", "salary_max": "833.00", "salary_type_id": 2, "currency_code": null, "negotiable": 1, "start_date": "2025-04-18", "application_url": null, "contact_name": "Admin Demo", "address": null, "city_id": 46838, "lat": 41.63, "lon": -88.2, "create_from_ip": "243.63.62.127", "latest_update_ip": null, "visits": 327, "auth_field": "email", "email": "admin@domain.tld", "phone": "+15052088441", "phone_national": "(505) 208-8441", "phone_country": "US", "email_token": null, "phone_token": "demoFaker", "email_verified_at": "2025-03-26T11:42:46.000000Z", "phone_verified_at": "2025-03-26T11:42:46.000000Z", "otp_expires_at": null, "last_otp_sent_at": null, "otp_resend_attempts": 0, "otp_resend_attempts_expires_at": null, "total_otp_resend_attempts": 0, "locked_at": null, "phone_hidden": 0, "accept_terms": 1, "accept_marketing_offers": 1, "featured": 0, "tmp_token": null, "reviewed_at": "2025-03-26T11:42:46.000000Z", "archived_at": null, "archived_manually_at": null, "deletion_mail_sent_at": null, "created_at": "2025-03-05T00:43:53.000000Z", "updated_at": "2025-05-17T08:25:16.000000Z", "reference": "GWpmbk5ezJn", "slug": "urgent-sociologist", "url": "https://jobclass.laraclassifier.local/urgent-sociologist/GWpmbk5ezJn", "phone_intl": "(505) 208-8441", "created_at_formatted": "2 months ago", "updated_at_formatted": "May 17th, 2025 at 04:25", "archived_at_formatted": "", "archived_manually_at_formatted": "", "user_photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/2/thumbnails/800x800-261218ce832faaed6b3a7254f0f4d8df.jpg", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png", "salary_formatted": "$7 - $833", "visits_formatted": "327 views", "distance_info": null, "logo_url": { "full": "https://jobclass.laraclassifier.local/storage/files/us/2/thumbnails/320x240-911243caabb1abd97ac25945179b068a.png", "small": "https://jobclass.laraclassifier.local/storage/files/us/2/thumbnails/120x90-911243caabb1abd97ac25945179b068a.png", "medium": "https://jobclass.laraclassifier.local/storage/files/us/2/thumbnails/320x240-911243caabb1abd97ac25945179b068a.png", "large": "https://jobclass.laraclassifier.local/storage/files/us/2/thumbnails/816x460-911243caabb1abd97ac25945179b068a.png" }, "user": { "id": 2, "name": "Admin Demo", "username": "admin", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2024-10-30T19:20:15.000000Z", "original_updated_at": "2024-10-30 19:20:15", "original_last_activity": null, "created_at_formatted": "8 months ago", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/2/thumbnails/800x800-261218ce832faaed6b3a7254f0f4d8df.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" }, "postType": { "id": 4, "name": "Contract", "active": 1 } } }</code> </pre> </span> <span id="execution-results-GETapi-posts--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-posts--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-posts--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-posts--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-posts--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-posts--id-" data-method="GET" data-path="api/posts/{id}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-posts--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-posts--id-" onclick="tryItOut('GETapi-posts--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-posts--id-" onclick="cancelTryOut('GETapi-posts--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-posts--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/posts/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-posts--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-posts--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-posts--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-posts--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-posts--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-posts--id-" value="2" data-component="url"> <br> <p>The post/listing's ID. Example: <code>2</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>unactivatedIncluded</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-posts--id-" style="display: none"> <input type="radio" name="unactivatedIncluded" value="1" data-endpoint="GETapi-posts--id-" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-posts--id-" style="display: none"> <input type="radio" name="unactivatedIncluded" value="0" data-endpoint="GETapi-posts--id-" data-component="query" > <code>false</code> </label> <br> <p>Include or not unactivated entries - Possible value: 0 or 1. Example: <code>true</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>belongLoggedUser</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-posts--id-" style="display: none"> <input type="radio" name="belongLoggedUser" value="1" data-endpoint="GETapi-posts--id-" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-posts--id-" style="display: none"> <input type="radio" name="belongLoggedUser" value="0" data-endpoint="GETapi-posts--id-" data-component="query" > <code>false</code> </label> <br> <p>Force users to be logged to get data that belongs to him - Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>noCache</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-posts--id-" style="display: none"> <input type="radio" name="noCache" value="1" data-endpoint="GETapi-posts--id-" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-posts--id-" style="display: none"> <input type="radio" name="noCache" value="0" data-endpoint="GETapi-posts--id-" data-component="query" > <code>false</code> </label> <br> <p>Disable the cache for this request - Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-posts--id-" value="user,postType" data-component="query"> <br> <p>Comma-separated list of the listing relationships for Eager Loading - Possible values: user,category,parent,postType,city,currency,savedByLoggedUser,pictures,payment,package. Example: <code>user,postType</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>detailed</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-posts--id-" style="display: none"> <input type="radio" name="detailed" value="1" data-endpoint="GETapi-posts--id-" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-posts--id-" style="display: none"> <input type="radio" name="detailed" value="0" data-endpoint="GETapi-posts--id-" data-component="query" > <code>false</code> </label> <br> <p>Allow getting the listing's details with all its relationships (No need to set the 'embed' parameter). Example: <code>false</code></p> </div> </form> <h2 id="listings-POSTapi-posts">Store listing</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <p>For both types of listing's creation (Single step or Multi steps). Note: The field 'admin_code' is only available when the listing's country's 'admin_type' column is set to 1 or 2.</p> <span id="example-requests-POSTapi-posts"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/posts" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: multipart/form-data" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --form "category_id=1"\ --form "post_type_id=1"\ --form "title=John Doe"\ --form "description=Beatae placeat atque tempore consequatur animi magni omnis."\ --form "salary_type_id=recusandae"\ --form "contact_name=John Doe"\ --form "auth_field=email"\ --form "phone=+17656766467"\ --form "phone_country="\ --form "city_id=13"\ --form "accept_terms="\ --form "email=john.doe@domain.tld"\ --form "company[name]=consequuntur"\ --form "company[description]=qui"\ --form "company[0][name]=Foo Inc"\ --form "company[0][description]=Nostrum quia est aut quas."\ --form "country_code=US"\ --form "company_id=5"\ --form "admin_code=0"\ --form "price=5000"\ --form "negotiable="\ --form "phone_hidden="\ --form "create_from_ip=127.0.0.1"\ --form "accept_marketing_offers="\ --form "is_permanent="\ --form "tags=car,automotive,tesla,cyber,truck"\ --form "package_id=2"\ --form "payment_method_id=5"\ --form "captcha_key=maiores"\ --form "company[][logo]=@/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpAAmrdr" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/posts" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "multipart/form-data", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; const body = new FormData(); body.append('category_id', '1'); body.append('post_type_id', '1'); body.append('title', 'John Doe'); body.append('description', 'Beatae placeat atque tempore consequatur animi magni omnis.'); body.append('salary_type_id', 'recusandae'); body.append('contact_name', 'John Doe'); body.append('auth_field', 'email'); body.append('phone', '+17656766467'); body.append('phone_country', ''); body.append('city_id', '13'); body.append('accept_terms', ''); body.append('email', 'john.doe@domain.tld'); body.append('company[name]', 'consequuntur'); body.append('company[description]', 'qui'); body.append('company[0][name]', 'Foo Inc'); body.append('company[0][description]', 'Nostrum quia est aut quas.'); body.append('country_code', 'US'); body.append('company_id', '5'); body.append('admin_code', '0'); body.append('price', '5000'); body.append('negotiable', ''); body.append('phone_hidden', ''); body.append('create_from_ip', '127.0.0.1'); body.append('accept_marketing_offers', ''); body.append('is_permanent', ''); body.append('tags', 'car,automotive,tesla,cyber,truck'); body.append('package_id', '2'); body.append('payment_method_id', '5'); body.append('captcha_key', 'maiores'); body.append('company[][logo]', document.querySelector('input[name="company[][logo]"]').files[0]); fetch(url, { method: "POST", headers, body, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/posts'; $response = $client->post( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'multipart/form-data', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'multipart' => [ [ 'name' => 'category_id', 'contents' => '1' ], [ 'name' => 'post_type_id', 'contents' => '1' ], [ 'name' => 'title', 'contents' => 'John Doe' ], [ 'name' => 'description', 'contents' => 'Beatae placeat atque tempore consequatur animi magni omnis.' ], [ 'name' => 'salary_type_id', 'contents' => 'recusandae' ], [ 'name' => 'contact_name', 'contents' => 'John Doe' ], [ 'name' => 'auth_field', 'contents' => 'email' ], [ 'name' => 'phone', 'contents' => '+17656766467' ], [ 'name' => 'phone_country', 'contents' => '' ], [ 'name' => 'city_id', 'contents' => '13' ], [ 'name' => 'accept_terms', 'contents' => '' ], [ 'name' => 'email', 'contents' => 'john.doe@domain.tld' ], [ 'name' => 'company[name]', 'contents' => 'consequuntur' ], [ 'name' => 'company[description]', 'contents' => 'qui' ], [ 'name' => 'company[0][name]', 'contents' => 'Foo Inc' ], [ 'name' => 'company[0][description]', 'contents' => 'Nostrum quia est aut quas.' ], [ 'name' => 'country_code', 'contents' => 'US' ], [ 'name' => 'company_id', 'contents' => '5' ], [ 'name' => 'admin_code', 'contents' => '0' ], [ 'name' => 'price', 'contents' => '5000' ], [ 'name' => 'negotiable', 'contents' => '' ], [ 'name' => 'phone_hidden', 'contents' => '' ], [ 'name' => 'create_from_ip', 'contents' => '127.0.0.1' ], [ 'name' => 'accept_marketing_offers', 'contents' => '' ], [ 'name' => 'is_permanent', 'contents' => '' ], [ 'name' => 'tags', 'contents' => 'car,automotive,tesla,cyber,truck' ], [ 'name' => 'package_id', 'contents' => '2' ], [ 'name' => 'payment_method_id', 'contents' => '5' ], [ 'name' => 'captcha_key', 'contents' => 'maiores' ], [ 'name' => 'company[][logo]', 'contents' => fopen('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpAAmrdr', 'r') ], ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/posts' files = { 'category_id': (None, '1'), 'post_type_id': (None, '1'), 'title': (None, 'John Doe'), 'description': (None, 'Beatae placeat atque tempore consequatur animi magni omnis.'), 'salary_type_id': (None, 'recusandae'), 'contact_name': (None, 'John Doe'), 'auth_field': (None, 'email'), 'phone': (None, '+17656766467'), 'phone_country': (None, ''), 'city_id': (None, '13'), 'accept_terms': (None, ''), 'email': (None, 'john.doe@domain.tld'), 'company[name]': (None, 'consequuntur'), 'company[description]': (None, 'qui'), 'company[0][name]': (None, 'Foo Inc'), 'company[0][description]': (None, 'Nostrum quia est aut quas.'), 'country_code': (None, 'US'), 'company_id': (None, '5'), 'admin_code': (None, '0'), 'price': (None, '5000'), 'negotiable': (None, ''), 'phone_hidden': (None, ''), 'create_from_ip': (None, '127.0.0.1'), 'accept_marketing_offers': (None, ''), 'is_permanent': (None, ''), 'tags': (None, 'car,automotive,tesla,cyber,truck'), 'package_id': (None, '2'), 'payment_method_id': (None, '5'), 'captcha_key': (None, 'maiores'), 'company[][logo]': open('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpAAmrdr', 'rb')} payload = { "category_id": 1, "post_type_id": 1, "title": "John Doe", "description": "Beatae placeat atque tempore consequatur animi magni omnis.", "salary_type_id": "recusandae", "contact_name": "John Doe", "auth_field": "email", "phone": "+17656766467", "phone_country": null, "city_id": 13, "accept_terms": false, "email": "john.doe@domain.tld", "company": { "name": "consequuntur", "description": "qui", "0": { "name": "Foo Inc", "description": "Nostrum quia est aut quas." } }, "country_code": "US", "company_id": 5, "admin_code": "0", "price": 5000, "negotiable": false, "phone_hidden": false, "create_from_ip": "127.0.0.1", "accept_marketing_offers": false, "is_permanent": false, "tags": "car,automotive,tesla,cyber,truck", "package_id": 2, "payment_method_id": 5, "captcha_key": "maiores" } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'multipart/form-data', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers, files=files) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-posts"> </span> <span id="execution-results-POSTapi-posts" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-posts"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-posts" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-posts" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-posts"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-posts" data-method="POST" data-path="api/posts" data-authed="1" data-hasfiles="1" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-posts', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-posts" onclick="tryItOut('POSTapi-posts');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-posts" onclick="cancelTryOut('POSTapi-posts');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-posts" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/posts</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="POSTapi-posts" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-posts" value="multipart/form-data" data-component="header"> <br> <p>Example: <code>multipart/form-data</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-posts" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-posts" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-posts" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-posts" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>category_id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="category_id" data-endpoint="POSTapi-posts" value="1" data-component="body"> <br> <p>The category's ID. Example: <code>1</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>post_type_id</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="post_type_id" data-endpoint="POSTapi-posts" value="1" data-component="body"> <br> <p>The listing type's ID. Example: <code>1</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>title</code></b> <small>string</small> <input type="text" style="display: none" name="title" data-endpoint="POSTapi-posts" value="John Doe" data-component="body"> <br> <p>The listing's title. Example: <code>John Doe</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>description</code></b> <small>string</small> <input type="text" style="display: none" name="description" data-endpoint="POSTapi-posts" value="Beatae placeat atque tempore consequatur animi magni omnis." data-component="body"> <br> <p>The listing's description. Example: <code>Beatae placeat atque tempore consequatur animi magni omnis.</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>salary_type_id</code></b> <small>string</small> <input type="text" style="display: none" name="salary_type_id" data-endpoint="POSTapi-posts" value="recusandae" data-component="body"> <br> <p>Must not be one of <code>0</code> The <code>id</code> of an existing record in the salary_types table. Example: <code>recusandae</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>salary_min</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="salary_min" data-endpoint="POSTapi-posts" value="" data-component="body"> <br> <p>This field is required when <code>salary_max</code> is present.</p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>salary_max</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="salary_max" data-endpoint="POSTapi-posts" value="" data-component="body"> <br> <p>This field is required when <code>salary_min</code> is present.</p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>contact_name</code></b> <small>string</small> <input type="text" style="display: none" name="contact_name" data-endpoint="POSTapi-posts" value="John Doe" data-component="body"> <br> <p>The listing's author name. Example: <code>John Doe</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>auth_field</code></b> <small>string</small> <input type="text" style="display: none" name="auth_field" data-endpoint="POSTapi-posts" value="email" data-component="body"> <br> <p>The user's auth field ('email' or 'phone'). Example: <code>email</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="phone" data-endpoint="POSTapi-posts" value="+17656766467" data-component="body"> <br> <p>The post's author mobile number (Required when 'auth_field' value is 'phone'). Example: <code>+17656766467</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone_country</code></b> <small>string</small> <input type="text" style="display: none" name="phone_country" data-endpoint="POSTapi-posts" value="" data-component="body"> <br> <p>The user's phone number's country code (Required when the 'phone' field is filled).</p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>city_id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="city_id" data-endpoint="POSTapi-posts" value="13" data-component="body"> <br> <p>The city's ID. Example: <code>13</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>accept_terms</code></b> <small>boolean</small> <label data-endpoint="POSTapi-posts" style="display: none"> <input type="radio" name="accept_terms" value="true" data-endpoint="POSTapi-posts" data-component="body" > <code>true</code> </label> <label data-endpoint="POSTapi-posts" style="display: none"> <input type="radio" name="accept_terms" value="false" data-endpoint="POSTapi-posts" data-component="body" > <code>false</code> </label> <br> <p>Accept the website terms and conditions. Example: <code>false</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>start_date</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="start_date" data-endpoint="POSTapi-posts" value="" data-component="body"> <br> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>email</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="email" data-endpoint="POSTapi-posts" value="john.doe@domain.tld" data-component="body"> <br> <p>The post's author email address (Required when 'auth_field' value is 'email'). Example: <code>john.doe@domain.tld</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <details> <summary style="padding-bottom: 10px;"> <b style="line-height: 2;"><code>company</code></b> <small>object</small> <i>optional</i> <br> </summary> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>name</code></b> <small>string</small> <input type="text" style="display: none" name="company.0.name" data-endpoint="POSTapi-posts" value="Foo Inc" data-component="body"> <br> <p>The company's name (required when 'company_id' is not set). Example: <code>Foo Inc</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>description</code></b> <small>string</small> <input type="text" style="display: none" name="company.0.description" data-endpoint="POSTapi-posts" value="Nostrum quia est aut quas." data-component="body"> <br> <p>The company's description (required when 'company_id' is not set). Example: <code>Nostrum quia est aut quas.</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>logo</code></b> <small>file</small> <i>optional</i> <input type="file" style="display: none" name="company.0.logo" data-endpoint="POSTapi-posts" value="" data-component="body"> <br> <p>The company's logo (available when 'company_id' is not set). Example: <code>/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpAAmrdr</code></p> </div> </details> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>country_code</code></b> <small>string</small> <input type="text" style="display: none" name="country_code" data-endpoint="POSTapi-posts" value="US" data-component="body"> <br> <p>The code of the user's country. Example: <code>US</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>company_id</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="company_id" data-endpoint="POSTapi-posts" value="5" data-component="body"> <br> <p>The job company's ID. Example: <code>5</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>admin_code</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="admin_code" data-endpoint="POSTapi-posts" value="0" data-component="body"> <br> <p>The administrative division's code. Example: <code>0</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>price</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="price" data-endpoint="POSTapi-posts" value="5000" data-component="body"> <br> <p>The price. Example: <code>5000</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>negotiable</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="POSTapi-posts" style="display: none"> <input type="radio" name="negotiable" value="true" data-endpoint="POSTapi-posts" data-component="body" > <code>true</code> </label> <label data-endpoint="POSTapi-posts" style="display: none"> <input type="radio" name="negotiable" value="false" data-endpoint="POSTapi-posts" data-component="body" > <code>false</code> </label> <br> <p>Negotiable price or no. Example: <code>false</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone_hidden</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="POSTapi-posts" style="display: none"> <input type="radio" name="phone_hidden" value="true" data-endpoint="POSTapi-posts" data-component="body" > <code>true</code> </label> <label data-endpoint="POSTapi-posts" style="display: none"> <input type="radio" name="phone_hidden" value="false" data-endpoint="POSTapi-posts" data-component="body" > <code>false</code> </label> <br> <p>Mobile phone number will be hidden in public or no. Example: <code>false</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>create_from_ip</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="create_from_ip" data-endpoint="POSTapi-posts" value="127.0.0.1" data-component="body"> <br> <p>The post's author IP address. Example: <code>127.0.0.1</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>accept_marketing_offers</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="POSTapi-posts" style="display: none"> <input type="radio" name="accept_marketing_offers" value="true" data-endpoint="POSTapi-posts" data-component="body" > <code>true</code> </label> <label data-endpoint="POSTapi-posts" style="display: none"> <input type="radio" name="accept_marketing_offers" value="false" data-endpoint="POSTapi-posts" data-component="body" > <code>false</code> </label> <br> <p>Accept to receive marketing offers or no. Example: <code>false</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>is_permanent</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="POSTapi-posts" style="display: none"> <input type="radio" name="is_permanent" value="true" data-endpoint="POSTapi-posts" data-component="body" > <code>true</code> </label> <label data-endpoint="POSTapi-posts" style="display: none"> <input type="radio" name="is_permanent" value="false" data-endpoint="POSTapi-posts" data-component="body" > <code>false</code> </label> <br> <p>Is it permanent post or no. Example: <code>false</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>tags</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="tags" data-endpoint="POSTapi-posts" value="car,automotive,tesla,cyber,truck" data-component="body"> <br> <p>Comma-separated tags list. Example: <code>car,automotive,tesla,cyber,truck</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>package_id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="package_id" data-endpoint="POSTapi-posts" value="2" data-component="body"> <br> <p>The package's ID. Example: <code>2</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>payment_method_id</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="payment_method_id" data-endpoint="POSTapi-posts" value="5" data-component="body"> <br> <p>The payment method's ID (required when the selected package's price is > 0). Example: <code>5</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>captcha_key</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="captcha_key" data-endpoint="POSTapi-posts" value="maiores" data-component="body"> <br> <p>Key generated by the CAPTCHA endpoint calling (Required when the CAPTCHA verification is enabled from the Admin panel). Example: <code>maiores</code></p> </div> </form> <h2 id="listings-PUTapi-posts--id-">Update listing</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <p>Note: The fields 'pictures', 'package_id' and 'payment_method_id' are only available with the single step listing edition. The field 'admin_code' is only available when the listing's country's 'admin_type' column is set to 1 or 2.</p> <span id="example-requests-PUTapi-posts--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request PUT \ "https://jobclass.laraclassifier.local/api/posts/20" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --data "{ \"category_id\": 1, \"post_type_id\": 1, \"title\": \"John Doe\", \"description\": \"Beatae placeat atque tempore consequatur animi magni omnis.\", \"salary_type_id\": \"aut\", \"contact_name\": \"John Doe\", \"auth_field\": \"email\", \"phone\": \"+17656766467\", \"phone_country\": null, \"city_id\": 11, \"accept_terms\": false, \"email\": \"john.doe@domain.tld\", \"country_code\": \"US\", \"company_id\": 18, \"admin_code\": \"0\", \"price\": 5000, \"negotiable\": false, \"phone_hidden\": false, \"latest_update_ip\": \"127.0.0.1\", \"accept_marketing_offers\": true, \"is_permanent\": false, \"tags\": \"car,automotive,tesla,cyber,truck\", \"package_id\": 2, \"payment_method_id\": 5 }" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/posts/20" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; let body = { "category_id": 1, "post_type_id": 1, "title": "John Doe", "description": "Beatae placeat atque tempore consequatur animi magni omnis.", "salary_type_id": "aut", "contact_name": "John Doe", "auth_field": "email", "phone": "+17656766467", "phone_country": null, "city_id": 11, "accept_terms": false, "email": "john.doe@domain.tld", "country_code": "US", "company_id": 18, "admin_code": "0", "price": 5000, "negotiable": false, "phone_hidden": false, "latest_update_ip": "127.0.0.1", "accept_marketing_offers": true, "is_permanent": false, "tags": "car,automotive,tesla,cyber,truck", "package_id": 2, "payment_method_id": 5 }; fetch(url, { method: "PUT", headers, body: JSON.stringify(body), }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/posts/20'; $response = $client->put( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'json' => [ 'category_id' => 1, 'post_type_id' => 1, 'title' => 'John Doe', 'description' => 'Beatae placeat atque tempore consequatur animi magni omnis.', 'salary_type_id' => 'aut', 'contact_name' => 'John Doe', 'auth_field' => 'email', 'phone' => '+17656766467', 'phone_country' => null, 'city_id' => 11, 'accept_terms' => false, 'email' => 'john.doe@domain.tld', 'country_code' => 'US', 'company_id' => 18, 'admin_code' => '0', 'price' => 5000, 'negotiable' => false, 'phone_hidden' => false, 'latest_update_ip' => '127.0.0.1', 'accept_marketing_offers' => true, 'is_permanent' => false, 'tags' => 'car,automotive,tesla,cyber,truck', 'package_id' => 2, 'payment_method_id' => 5, ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/posts/20' payload = { "category_id": 1, "post_type_id": 1, "title": "John Doe", "description": "Beatae placeat atque tempore consequatur animi magni omnis.", "salary_type_id": "aut", "contact_name": "John Doe", "auth_field": "email", "phone": "+17656766467", "phone_country": null, "city_id": 11, "accept_terms": false, "email": "john.doe@domain.tld", "country_code": "US", "company_id": 18, "admin_code": "0", "price": 5000, "negotiable": false, "phone_hidden": false, "latest_update_ip": "127.0.0.1", "accept_marketing_offers": true, "is_permanent": false, "tags": "car,automotive,tesla,cyber,truck", "package_id": 2, "payment_method_id": 5 } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('PUT', url, headers=headers, json=payload) response.json()</code></pre></div> </span> <span id="example-responses-PUTapi-posts--id-"> </span> <span id="execution-results-PUTapi-posts--id-" hidden> <blockquote>Received response<span id="execution-response-status-PUTapi-posts--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-PUTapi-posts--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-PUTapi-posts--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-PUTapi-posts--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-PUTapi-posts--id-" data-method="PUT" data-path="api/posts/{id}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('PUTapi-posts--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-PUTapi-posts--id-" onclick="tryItOut('PUTapi-posts--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-PUTapi-posts--id-" onclick="cancelTryOut('PUTapi-posts--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-PUTapi-posts--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-darkblue">PUT</small> <b><code>api/posts/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="PUTapi-posts--id-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="PUTapi-posts--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="PUTapi-posts--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="PUTapi-posts--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="PUTapi-posts--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="PUTapi-posts--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="PUTapi-posts--id-" value="20" data-component="url"> <br> <p>The post/listing's ID. Example: <code>20</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>category_id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="category_id" data-endpoint="PUTapi-posts--id-" value="1" data-component="body"> <br> <p>The category's ID. Example: <code>1</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>post_type_id</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="post_type_id" data-endpoint="PUTapi-posts--id-" value="1" data-component="body"> <br> <p>The listing type's ID. Example: <code>1</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>title</code></b> <small>string</small> <input type="text" style="display: none" name="title" data-endpoint="PUTapi-posts--id-" value="John Doe" data-component="body"> <br> <p>The listing's title. Example: <code>John Doe</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>description</code></b> <small>string</small> <input type="text" style="display: none" name="description" data-endpoint="PUTapi-posts--id-" value="Beatae placeat atque tempore consequatur animi magni omnis." data-component="body"> <br> <p>The listing's description. Example: <code>Beatae placeat atque tempore consequatur animi magni omnis.</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>salary_type_id</code></b> <small>string</small> <input type="text" style="display: none" name="salary_type_id" data-endpoint="PUTapi-posts--id-" value="aut" data-component="body"> <br> <p>Must not be one of <code>0</code> The <code>id</code> of an existing record in the salary_types table. Example: <code>aut</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>salary_min</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="salary_min" data-endpoint="PUTapi-posts--id-" value="" data-component="body"> <br> <p>This field is required when <code>salary_max</code> is present.</p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>salary_max</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="salary_max" data-endpoint="PUTapi-posts--id-" value="" data-component="body"> <br> <p>This field is required when <code>salary_min</code> is present.</p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>contact_name</code></b> <small>string</small> <input type="text" style="display: none" name="contact_name" data-endpoint="PUTapi-posts--id-" value="John Doe" data-component="body"> <br> <p>The listing's author name. Example: <code>John Doe</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>auth_field</code></b> <small>string</small> <input type="text" style="display: none" name="auth_field" data-endpoint="PUTapi-posts--id-" value="email" data-component="body"> <br> <p>The user's auth field ('email' or 'phone'). Example: <code>email</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="phone" data-endpoint="PUTapi-posts--id-" value="+17656766467" data-component="body"> <br> <p>The post's author mobile number (Required when 'auth_field' value is 'phone'). Example: <code>+17656766467</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone_country</code></b> <small>string</small> <input type="text" style="display: none" name="phone_country" data-endpoint="PUTapi-posts--id-" value="" data-component="body"> <br> <p>The user's phone number's country code (Required when the 'phone' field is filled).</p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>city_id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="city_id" data-endpoint="PUTapi-posts--id-" value="11" data-component="body"> <br> <p>The city's ID. Example: <code>11</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>accept_terms</code></b> <small>boolean</small> <label data-endpoint="PUTapi-posts--id-" style="display: none"> <input type="radio" name="accept_terms" value="true" data-endpoint="PUTapi-posts--id-" data-component="body" > <code>true</code> </label> <label data-endpoint="PUTapi-posts--id-" style="display: none"> <input type="radio" name="accept_terms" value="false" data-endpoint="PUTapi-posts--id-" data-component="body" > <code>false</code> </label> <br> <p>Accept the website terms and conditions. Example: <code>false</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>start_date</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="start_date" data-endpoint="PUTapi-posts--id-" value="" data-component="body"> <br> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>email</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="email" data-endpoint="PUTapi-posts--id-" value="john.doe@domain.tld" data-component="body"> <br> <p>The post's author email address (Required when 'auth_field' value is 'email'). Example: <code>john.doe@domain.tld</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>country_code</code></b> <small>string</small> <input type="text" style="display: none" name="country_code" data-endpoint="PUTapi-posts--id-" value="US" data-component="body"> <br> <p>The code of the user's country. Example: <code>US</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>company_id</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="company_id" data-endpoint="PUTapi-posts--id-" value="18" data-component="body"> <br> <p>The job company's ID. Example: <code>18</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <details> <summary style="padding-bottom: 10px;"> <b style="line-height: 2;"><code>company</code></b> <small>object</small> <i>optional</i> <br> </summary> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>name</code></b> <small>string</small> <input type="text" style="display: none" name="company.0.name" data-endpoint="PUTapi-posts--id-" value="Foo Inc" data-component="body"> <br> <p>The company's name (required when 'company_id' is not set). Example: <code>Foo Inc</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>logo</code></b> <small>file</small> <i>optional</i> <input type="file" style="display: none" name="company.0.logo" data-endpoint="PUTapi-posts--id-" value="" data-component="body"> <br> <p>The company's logo (available when 'company_id' is not set). Example: <code>/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpcK4sav</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>description</code></b> <small>string</small> <input type="text" style="display: none" name="company.0.description" data-endpoint="PUTapi-posts--id-" value="Nostrum quia est aut quas." data-component="body"> <br> <p>The company's description (required when 'company_id' is not set). Example: <code>Nostrum quia est aut quas.</code></p> </div> </details> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>admin_code</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="admin_code" data-endpoint="PUTapi-posts--id-" value="0" data-component="body"> <br> <p>The administrative division's code. Example: <code>0</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>price</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="price" data-endpoint="PUTapi-posts--id-" value="5000" data-component="body"> <br> <p>The price. Example: <code>5000</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>negotiable</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="PUTapi-posts--id-" style="display: none"> <input type="radio" name="negotiable" value="true" data-endpoint="PUTapi-posts--id-" data-component="body" > <code>true</code> </label> <label data-endpoint="PUTapi-posts--id-" style="display: none"> <input type="radio" name="negotiable" value="false" data-endpoint="PUTapi-posts--id-" data-component="body" > <code>false</code> </label> <br> <p>Negotiable price or no. Example: <code>false</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone_hidden</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="PUTapi-posts--id-" style="display: none"> <input type="radio" name="phone_hidden" value="true" data-endpoint="PUTapi-posts--id-" data-component="body" > <code>true</code> </label> <label data-endpoint="PUTapi-posts--id-" style="display: none"> <input type="radio" name="phone_hidden" value="false" data-endpoint="PUTapi-posts--id-" data-component="body" > <code>false</code> </label> <br> <p>Mobile phone number will be hidden in public or no. Example: <code>false</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>latest_update_ip</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="latest_update_ip" data-endpoint="PUTapi-posts--id-" value="127.0.0.1" data-component="body"> <br> <p>The post's author IP address. Example: <code>127.0.0.1</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>accept_marketing_offers</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="PUTapi-posts--id-" style="display: none"> <input type="radio" name="accept_marketing_offers" value="true" data-endpoint="PUTapi-posts--id-" data-component="body" > <code>true</code> </label> <label data-endpoint="PUTapi-posts--id-" style="display: none"> <input type="radio" name="accept_marketing_offers" value="false" data-endpoint="PUTapi-posts--id-" data-component="body" > <code>false</code> </label> <br> <p>Accept to receive marketing offers or no. Example: <code>true</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>is_permanent</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="PUTapi-posts--id-" style="display: none"> <input type="radio" name="is_permanent" value="true" data-endpoint="PUTapi-posts--id-" data-component="body" > <code>true</code> </label> <label data-endpoint="PUTapi-posts--id-" style="display: none"> <input type="radio" name="is_permanent" value="false" data-endpoint="PUTapi-posts--id-" data-component="body" > <code>false</code> </label> <br> <p>Is it permanent post or no. Example: <code>false</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>tags</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="tags" data-endpoint="PUTapi-posts--id-" value="car,automotive,tesla,cyber,truck" data-component="body"> <br> <p>Comma-separated tags list. Example: <code>car,automotive,tesla,cyber,truck</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>package_id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="package_id" data-endpoint="PUTapi-posts--id-" value="2" data-component="body"> <br> <p>The package's ID. Example: <code>2</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>payment_method_id</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="payment_method_id" data-endpoint="PUTapi-posts--id-" value="5" data-component="body"> <br> <p>The payment method's ID (required when the selected package's price is > 0). Example: <code>5</code></p> </div> </form> <h2 id="listings-DELETEapi-posts--ids-">Delete listing(s)</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-DELETEapi-posts--ids-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request DELETE \ "https://jobclass.laraclassifier.local/api/posts/recusandae" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/posts/recusandae" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "DELETE", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/posts/recusandae'; $response = $client->delete( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/posts/recusandae' headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('DELETE', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-DELETEapi-posts--ids-"> </span> <span id="execution-results-DELETEapi-posts--ids-" hidden> <blockquote>Received response<span id="execution-response-status-DELETEapi-posts--ids-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-DELETEapi-posts--ids-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-DELETEapi-posts--ids-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-DELETEapi-posts--ids-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-DELETEapi-posts--ids-" data-method="DELETE" data-path="api/posts/{ids}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('DELETEapi-posts--ids-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-DELETEapi-posts--ids-" onclick="tryItOut('DELETEapi-posts--ids-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-DELETEapi-posts--ids-" onclick="cancelTryOut('DELETEapi-posts--ids-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-DELETEapi-posts--ids-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-red">DELETE</small> <b><code>api/posts/{ids}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="DELETEapi-posts--ids-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="DELETEapi-posts--ids-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="DELETEapi-posts--ids-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="DELETEapi-posts--ids-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="DELETEapi-posts--ids-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="DELETEapi-posts--ids-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>ids</code></b> <small>string</small> <input type="text" style="display: none" name="ids" data-endpoint="DELETEapi-posts--ids-" value="recusandae" data-component="url"> <br> <p>The ID or comma-separated IDs list of listing(s). Example: <code>recusandae</code></p> </div> </form> <h1 id="packages">Packages</h1> <h2 id="packages-GETapi-packages-promotion">List packages</h2> <p> </p> <span id="example-requests-GETapi-packages-promotion"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/packages/promotion?embed=&sort=-lft" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/packages/promotion" ); const params = { "embed": "", "sort": "-lft", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/packages/promotion'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', 'sort' => '-lft', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/packages/promotion' params = { 'embed': '', 'sort': '-lft', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-packages-promotion"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "id": 3, "type": "promotion", "name": "Premium Listing (+)", "short_name": "Premium+", "ribbon": null, "has_badge": 0, "price": "129.00", "currency_code": "USD", "promotion_time": 30, "interval": null, "listings_limit": null, "expiration_time": 120, "description": "Featured on the Homepage\nFeatured in the Category", "facebook_ads_duration": 0, "google_ads_duration": 0, "twitter_ads_duration": 0, "linkedin_ads_duration": 0, "recommended": 0, "active": 1, "parent_id": null, "lft": 6, "rgt": 7, "depth": 0, "period_start": "2025-05-17T00:00:00.000000Z", "period_end": "2025-06-16T23:59:59.999999Z", "description_array": [ "30 days of promotion", "Featured on the Homepage", "Featured in the Category", "Keep online for 120 days" ], "description_string": "30 days of promotion. \nFeatured on the Homepage. \nFeatured in the Category. \nKeep online for 120 days", "price_formatted": "$129" }, { "id": 2, "type": "promotion", "name": "Premium Listing", "short_name": "Premium", "ribbon": null, "has_badge": 0, "price": "99.00", "currency_code": "USD", "promotion_time": 7, "interval": null, "listings_limit": null, "expiration_time": 60, "description": "Featured on the Homepage\nFeatured in the Category", "facebook_ads_duration": 0, "google_ads_duration": 0, "twitter_ads_duration": 0, "linkedin_ads_duration": 0, "recommended": 1, "active": 1, "parent_id": null, "lft": 4, "rgt": 5, "depth": 0, "period_start": "2025-05-17T00:00:00.000000Z", "period_end": "2025-05-24T23:59:59.999999Z", "description_array": [ "7 days of promotion", "Featured on the Homepage", "Featured in the Category", "Keep online for 60 days" ], "description_string": "7 days of promotion. \nFeatured on the Homepage. \nFeatured in the Category. \nKeep online for 60 days", "price_formatted": "$99" }, { "id": 1, "type": "promotion", "name": "Free", "short_name": "Free", "ribbon": null, "has_badge": 0, "price": "0.00", "currency_code": "USD", "promotion_time": null, "interval": null, "listings_limit": null, "expiration_time": null, "description": "", "facebook_ads_duration": 0, "google_ads_duration": 0, "twitter_ads_duration": 0, "linkedin_ads_duration": 0, "recommended": 0, "active": 1, "parent_id": null, "lft": 2, "rgt": 3, "depth": 0, "period_start": "2025-05-17T00:00:00.000000Z", "period_end": "2025-06-16T23:59:59.999999Z", "description_array": [ "Keep online for 30 days" ], "description_string": "Keep online for 30 days", "price_formatted": "$0" } ] } }</code> </pre> </span> <span id="execution-results-GETapi-packages-promotion" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-packages-promotion"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-packages-promotion" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-packages-promotion" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-packages-promotion"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-packages-promotion" data-method="GET" data-path="api/packages/promotion" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-packages-promotion', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-packages-promotion" onclick="tryItOut('GETapi-packages-promotion');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-packages-promotion" onclick="cancelTryOut('GETapi-packages-promotion');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-packages-promotion" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/packages/promotion</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-packages-promotion" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-packages-promotion" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-packages-promotion" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-packages-promotion" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-packages-promotion" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-packages-promotion" value="" data-component="query"> <br> <p>Comma-separated list of the package relationships for Eager Loading - Possible values: currency.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-packages-promotion" value="-lft" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: lft. Example: <code>-lft</code></p> </div> </form> <h2 id="packages-GETapi-packages-subscription">List packages</h2> <p> </p> <span id="example-requests-GETapi-packages-subscription"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/packages/subscription?embed=&sort=-lft" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/packages/subscription" ); const params = { "embed": "", "sort": "-lft", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/packages/subscription'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', 'sort' => '-lft', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/packages/subscription' params = { 'embed': '', 'sort': '-lft', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-packages-subscription"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "id": 5, "type": "subscription", "name": "Premium", "short_name": "Premium", "ribbon": null, "has_badge": 0, "price": "9.00", "currency_code": "USD", "promotion_time": null, "interval": "month", "listings_limit": 100, "expiration_time": 90, "description": "", "facebook_ads_duration": 0, "google_ads_duration": 0, "twitter_ads_duration": 0, "linkedin_ads_duration": 0, "recommended": 1, "active": 1, "parent_id": null, "lft": 10, "rgt": 11, "depth": 0, "period_start": "2025-05-17T00:00:00.000000Z", "period_end": "2025-06-17T23:59:59.999999Z", "description_array": [ "Publish up to 100 listings per month", "Keep listings online for 90 days" ], "description_string": "Publish up to 100 listings per month. \nKeep listings online for 90 days", "price_formatted": "$9" }, { "id": 4, "type": "subscription", "name": "Basic", "short_name": "Basic", "ribbon": null, "has_badge": 0, "price": "0.00", "currency_code": "USD", "promotion_time": null, "interval": "month", "listings_limit": null, "expiration_time": null, "description": "", "facebook_ads_duration": 0, "google_ads_duration": 0, "twitter_ads_duration": 0, "linkedin_ads_duration": 0, "recommended": 0, "active": 1, "parent_id": null, "lft": 8, "rgt": 9, "depth": 0, "period_start": "2025-05-17T00:00:00.000000Z", "period_end": "2025-06-17T23:59:59.999999Z", "description_array": [ "Up to 50 listings allowed", "Keep listings online for 30 days" ], "description_string": "Up to 50 listings allowed. \nKeep listings online for 30 days", "price_formatted": "$0" } ] } }</code> </pre> </span> <span id="execution-results-GETapi-packages-subscription" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-packages-subscription"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-packages-subscription" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-packages-subscription" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-packages-subscription"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-packages-subscription" data-method="GET" data-path="api/packages/subscription" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-packages-subscription', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-packages-subscription" onclick="tryItOut('GETapi-packages-subscription');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-packages-subscription" onclick="cancelTryOut('GETapi-packages-subscription');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-packages-subscription" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/packages/subscription</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-packages-subscription" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-packages-subscription" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-packages-subscription" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-packages-subscription" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-packages-subscription" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-packages-subscription" value="" data-component="query"> <br> <p>Comma-separated list of the package relationships for Eager Loading - Possible values: currency.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-packages-subscription" value="-lft" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: lft. Example: <code>-lft</code></p> </div> </form> <h2 id="packages-GETapi-packages--id-">Get package</h2> <p> </p> <span id="example-requests-GETapi-packages--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/packages/2?embed=currency" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/packages/2" ); const params = { "embed": "currency", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/packages/2'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => 'currency', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/packages/2' params = { 'embed': 'currency', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-packages--id-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "id": 2, "type": "promotion", "name": "Premium Listing", "short_name": "Premium", "ribbon": null, "has_badge": 0, "price": "99.00", "currency_code": "USD", "promotion_time": 7, "interval": null, "listings_limit": null, "expiration_time": 60, "description": "Featured on the Homepage\nFeatured in the Category", "facebook_ads_duration": 0, "google_ads_duration": 0, "twitter_ads_duration": 0, "linkedin_ads_duration": 0, "recommended": 1, "active": 1, "parent_id": null, "lft": 4, "rgt": 5, "depth": 0, "period_start": "2025-05-17T00:00:00.000000Z", "period_end": "2025-05-24T23:59:59.999999Z", "description_array": [ "7 days of promotion", "Featured on the Homepage", "Featured in the Category", "Keep online for 60 days" ], "description_string": "7 days of promotion. \nFeatured on the Homepage. \nFeatured in the Category. \nKeep online for 60 days", "price_formatted": "$99", "currency": { "code": "USD", "name": "United States Dollar", "symbol": "$", "html_entities": "&#36;", "in_left": 1, "decimal_places": 2, "decimal_separator": ".", "thousand_separator": "," } } }</code> </pre> </span> <span id="execution-results-GETapi-packages--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-packages--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-packages--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-packages--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-packages--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-packages--id-" data-method="GET" data-path="api/packages/{id}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-packages--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-packages--id-" onclick="tryItOut('GETapi-packages--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-packages--id-" onclick="cancelTryOut('GETapi-packages--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-packages--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/packages/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-packages--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-packages--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-packages--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-packages--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-packages--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-packages--id-" value="2" data-component="url"> <br> <p>The package's ID. Example: <code>2</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-packages--id-" value="currency" data-component="query"> <br> <p>Comma-separated list of the package relationships for Eager Loading - Possible values: currency. Example: <code>currency</code></p> </div> </form> <h1 id="pages">Pages</h1> <h2 id="pages-GETapi-pages">List pages</h2> <p> </p> <span id="example-requests-GETapi-pages"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/pages?excludedFromFooter=&sort=-lft&perPage=2" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/pages" ); const params = { "excludedFromFooter": "0", "sort": "-lft", "perPage": "2", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/pages'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'excludedFromFooter' => '0', 'sort' => '-lft', 'perPage' => '2', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/pages' params = { 'excludedFromFooter': '0', 'sort': '-lft', 'perPage': '2', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-pages"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "id": 4, "parent_id": null, "type": "standard", "name": "FAQ", "slug": "faq", "image_path": null, "title": "Frequently Asked Questions", "content": "<p><b>How do I place an ad?</b></p><p>It's very easy to place an ad: click on the button \"Post free Ads\" above right.</p><p><b>What does it cost to advertise?</b></p><p>The publication is 100% free throughout the website.</p><p><b>If I post an ad, will I also get more spam e-mails?</b></p><p>Absolutely not because your email address is not visible on the website.</p><p><b>How long will my ad remain on the website?</b></p><p>In general, an ad is automatically deactivated from the website after 3 months. You will receive an email a week before D-Day and another on the day of deactivation. You have the ability to put them online in the following month by logging into your account on the site. After this delay, your ad will be automatically removed permanently from the website.</p><p><b>I sold my item. How do I delete my ad?</b></p><p>Once your product is sold or leased, log in to your account to remove your ad.</p>", "external_link": null, "name_color": null, "title_color": null, "target_blank": 0, "seo_title": "", "seo_description": "", "seo_keywords": "", "excluded_from_footer": 0, "active": 1, "lft": 2, "rgt": 3, "depth": 1, "image_url": null }, { "id": 3, "parent_id": null, "type": "standard", "name": "Anti-Scam", "slug": "anti-scam", "image_path": null, "title": "Anti-Scam", "content": "<p><b>Protect yourself against Internet fraud!</b></p><p>The vast majority of ads are posted by honest people and trust. So you can do excellent business. Despite this, it is important to follow a few common sense rules following to prevent any attempt to scam.</p><p><b>Our advices</b></p><ul><li>Doing business with people you can meet in person.</li><li>Never send money by Western Union, MoneyGram or other anonymous payment systems.</li><li>Never send money or products abroad.</li><li>Do not accept checks.</li><li>Ask about the person you're dealing with another confirming source name, address and telephone number.</li><li>Keep copies of all correspondence (emails, ads, letters, etc.) and details of the person.</li><li>If a deal seems too good to be true, there is every chance that this is the case. Refrain.</li></ul><p><b>Recognize attempted scam</b></p><ul><li>The majority of scams have one or more of these characteristics:</li><li>The person is abroad or traveling abroad.</li><li>The person refuses to meet you in person.</li><li>Payment is made through Western Union, Money Gram or check.</li><li>The messages are in broken language (English or French or ...).</li><li>The texts seem to be copied and pasted.</li><li>The deal seems to be too good to be true.</li></ul>", "external_link": null, "name_color": null, "title_color": null, "target_blank": 0, "seo_title": "", "seo_description": "", "seo_keywords": "", "excluded_from_footer": 0, "active": 1, "lft": 4, "rgt": 5, "depth": 1, "image_url": null } ], "links": { "first": "https://jobclass.laraclassifier.local/api/pages?page=1", "last": "https://jobclass.laraclassifier.local/api/pages?page=2", "prev": null, "next": "https://jobclass.laraclassifier.local/api/pages?page=2" }, "meta": { "current_page": 1, "from": 1, "last_page": 2, "links": [ { "url": null, "label": "&laquo; Previous", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/pages?page=1", "label": "1", "active": true }, { "url": "https://jobclass.laraclassifier.local/api/pages?page=2", "label": "2", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/pages?page=2", "label": "Next &raquo;", "active": false } ], "path": "https://jobclass.laraclassifier.local/api/pages", "per_page": 2, "to": 2, "total": 4 } } }</code> </pre> </span> <span id="execution-results-GETapi-pages" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-pages"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-pages" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-pages" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-pages"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-pages" data-method="GET" data-path="api/pages" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-pages', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-pages" onclick="tryItOut('GETapi-pages');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-pages" onclick="cancelTryOut('GETapi-pages');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-pages" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/pages</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-pages" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-pages" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-pages" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-pages" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-pages" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>excludedFromFooter</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-pages" style="display: none"> <input type="radio" name="excludedFromFooter" value="1" data-endpoint="GETapi-pages" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-pages" style="display: none"> <input type="radio" name="excludedFromFooter" value="0" data-endpoint="GETapi-pages" data-component="query" > <code>false</code> </label> <br> <p>Select or unselect pages that can list in footer. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-pages" value="-lft" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: lft, created_at. Example: <code>-lft</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-pages" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> </form> <h2 id="pages-GETapi-pages--slugOrId-">Get page</h2> <p> </p> <span id="example-requests-GETapi-pages--slugOrId-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/pages/terms" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/pages/terms" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/pages/terms'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/pages/terms' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-pages--slugOrId-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "id": 1, "parent_id": null, "type": "terms", "name": "Terms", "slug": "terms", "image_path": null, "title": "Terms & Conditions", "content": "<h4><b>Definitions</b></h4><p>Each of the terms mentioned below have in these Conditions of Sale JobClass Service (hereinafter the \"Conditions\") the following meanings:</p><ol><li>Announcement&nbsp;: refers to all the elements and data (visual, textual, sound, photographs, drawings), presented by an Advertiser editorial under his sole responsibility, in order to buy, rent or sell a product or service and broadcast on the Website and Mobile Site.</li><li>Advertiser&nbsp;: means any natural or legal person, a major, established in France, holds an account and having submitted an announcement, from it, on the Website. Any Advertiser must be connected to the Personal Account for deposit and or manage its ads. Ad first deposit automatically entails the establishment of a Personal Account to the Advertiser.</li><li>Personal Account&nbsp;: refers to the free space than any Advertiser must create and which it should connect from the Website to disseminate, manage and view its ads.</li><li>JobClass&nbsp;: means the company that publishes and operates the Website and Mobile Site {YourCompany}, registered at the Trade and Companies Register of {YourCity} under the number {YourCompany Registration Number} whose registered office is at {YourCompany Address}.</li><li>Customer Service&nbsp;: JobClass means the department to which the Advertiser may obtain further information. This service can be contacted via email by clicking the link on the Website and Mobile Site.</li><li>JobClass Service&nbsp;: JobClass means the services made available to Users and Advertisers on the Website and Mobile Site.</li><li>Website&nbsp;: means the website operated by JobClass accessed mainly from the URL <a href=\"https://bedigit.com\">https://bedigit.com</a> and allowing Users and Advertisers to access the Service via internet JobClass.</li><li>Mobile Site&nbsp;: is the mobile site operated by JobClass accessible from the URL <a href=\"https://bedigit.com\">https://bedigit.com</a> and allowing Users and Advertisers to access via their mobile phone service {YourSiteName}.</li><li>User&nbsp;: any visitor with access to JobClass Service via the Website and Mobile Site and Consultant Service JobClass accessible from different media.</li></ol><h4><b>Subject</b></h4><p>These Terms and Conditions Of Use establish the contractual conditions applicable to any subscription by an Advertiser connected to its Personal Account from the Website and Mobile Site.<br></p><h4><b>Acceptance</b></h4><p>Any use of the website by an Advertiser is full acceptance of the current Terms.<br></p><h4><b>Responsibility</b></h4><p>Responsibility for JobClass can not be held liable for non-performance or improper performance of due control, either because of the Advertiser, or a case of major force.<br></p><h4><b>Modification of these terms</b></h4><p>JobClass reserves the right, at any time, to modify all or part of the Terms and Conditions.</p><p>Advertisers are advised to consult the Terms to be aware of the changes.</p><h4><b>Miscellaneous</b></h4><p>If part of the Terms should be illegal, invalid or unenforceable for any reason whatsoever, the provisions in question would be deemed unwritten, without questioning the validity of the remaining provisions will continue to apply between Advertisers and JobClass.</p><p>Any complaints should be addressed to Customer Service JobClass.</p>", "external_link": null, "name_color": null, "title_color": null, "target_blank": 0, "seo_title": "", "seo_description": "", "seo_keywords": "", "excluded_from_footer": 0, "active": 1, "lft": 6, "rgt": 7, "depth": 1, "image_url": null } }</code> </pre> </span> <span id="execution-results-GETapi-pages--slugOrId-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-pages--slugOrId-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-pages--slugOrId-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-pages--slugOrId-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-pages--slugOrId-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-pages--slugOrId-" data-method="GET" data-path="api/pages/{slugOrId}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-pages--slugOrId-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-pages--slugOrId-" onclick="tryItOut('GETapi-pages--slugOrId-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-pages--slugOrId-" onclick="cancelTryOut('GETapi-pages--slugOrId-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-pages--slugOrId-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/pages/{slugOrId}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-pages--slugOrId-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-pages--slugOrId-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-pages--slugOrId-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-pages--slugOrId-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-pages--slugOrId-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>slugOrId</code></b> <small>string</small> <input type="text" style="display: none" name="slugOrId" data-endpoint="GETapi-pages--slugOrId-" value="terms" data-component="url"> <br> <p>The slug or ID of the page. Example: <code>terms</code></p> </div> </form> <h1 id="payment-methods">Payment Methods</h1> <h2 id="payment-methods-GETapi-paymentMethods">List payment methods</h2> <p> </p> <span id="example-requests-GETapi-paymentMethods"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/paymentMethods?countryCode=US&sort=-lft" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/paymentMethods" ); const params = { "countryCode": "US", "sort": "-lft", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/paymentMethods'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'countryCode' => 'US', 'sort' => '-lft', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/paymentMethods' params = { 'countryCode': 'US', 'sort': '-lft', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-paymentMethods"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": "No payment methods found", "result": { "data": [] } }</code> </pre> </span> <span id="execution-results-GETapi-paymentMethods" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-paymentMethods"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-paymentMethods" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-paymentMethods" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-paymentMethods"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-paymentMethods" data-method="GET" data-path="api/paymentMethods" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-paymentMethods', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-paymentMethods" onclick="tryItOut('GETapi-paymentMethods');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-paymentMethods" onclick="cancelTryOut('GETapi-paymentMethods');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-paymentMethods" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/paymentMethods</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-paymentMethods" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-paymentMethods" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-paymentMethods" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-paymentMethods" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-paymentMethods" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>countryCode</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="countryCode" data-endpoint="GETapi-paymentMethods" value="US" data-component="query"> <br> <p>Country code. Select only the payment methods related to a country. Example: <code>US</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-paymentMethods" value="-lft" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: lft. Example: <code>-lft</code></p> </div> </form> <h2 id="payment-methods-GETapi-paymentMethods--id-">Get payment method</h2> <p> </p> <span id="example-requests-GETapi-paymentMethods--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/paymentMethods/1" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/paymentMethods/1" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/paymentMethods/1'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/paymentMethods/1' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-paymentMethods--id-"> <blockquote> <p>Example response (404):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Payment method not found", "result": null, "error": "Payment method not found" }</code> </pre> </span> <span id="execution-results-GETapi-paymentMethods--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-paymentMethods--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-paymentMethods--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-paymentMethods--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-paymentMethods--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-paymentMethods--id-" data-method="GET" data-path="api/paymentMethods/{id}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-paymentMethods--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-paymentMethods--id-" onclick="tryItOut('GETapi-paymentMethods--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-paymentMethods--id-" onclick="cancelTryOut('GETapi-paymentMethods--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-paymentMethods--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/paymentMethods/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-paymentMethods--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-paymentMethods--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-paymentMethods--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-paymentMethods--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-paymentMethods--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-paymentMethods--id-" value="1" data-component="url"> <br> <p>Can be the ID (int) or name (string) of the payment method. Example: <code>1</code></p> </div> </form> <h1 id="payments">Payments</h1> <h2 id="payments-GETapi-payments-promotion">List payments</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-GETapi-payments-promotion"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/payments/promotion?embed=&valid=&active=&sort=created_at&perPage=2" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/payments/promotion" ); const params = { "embed": "", "valid": "0", "active": "0", "sort": "created_at", "perPage": "2", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/payments/promotion'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', 'valid' => '0', 'active' => '0', 'sort' => 'created_at', 'perPage' => '2', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/payments/promotion' params = { 'embed': '', 'valid': '0', 'active': '0', 'sort': 'created_at', 'perPage': '2', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-payments-promotion"> <blockquote> <p>Example response (401):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Unauthenticated or Token Expired, Please Login.", "result": null, "error": "Unauthenticated or Token Expired, Please Login." }</code> </pre> </span> <span id="execution-results-GETapi-payments-promotion" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-payments-promotion"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-payments-promotion" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-payments-promotion" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-payments-promotion"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-payments-promotion" data-method="GET" data-path="api/payments/promotion" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-payments-promotion', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-payments-promotion" onclick="tryItOut('GETapi-payments-promotion');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-payments-promotion" onclick="cancelTryOut('GETapi-payments-promotion');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-payments-promotion" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/payments/promotion</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-payments-promotion" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-payments-promotion" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-payments-promotion" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-payments-promotion" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-payments-promotion" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-payments-promotion" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-payments-promotion" value="" data-component="query"> <br> <p>Comma-separated list of the payment relationships for Eager Loading - Possible values: payable,paymentMethod,package,currency.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>valid</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-payments-promotion" style="display: none"> <input type="radio" name="valid" value="1" data-endpoint="GETapi-payments-promotion" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-payments-promotion" style="display: none"> <input type="radio" name="valid" value="0" data-endpoint="GETapi-payments-promotion" data-component="query" > <code>false</code> </label> <br> <p>Allow getting the valid payment list. Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>active</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-payments-promotion" style="display: none"> <input type="radio" name="active" value="1" data-endpoint="GETapi-payments-promotion" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-payments-promotion" style="display: none"> <input type="radio" name="active" value="0" data-endpoint="GETapi-payments-promotion" data-component="query" > <code>false</code> </label> <br> <p>Allow getting the active payment list. Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-payments-promotion" value="created_at" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: created_at. Example: <code>created_at</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-payments-promotion" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> </form> <h2 id="payments-GETapi-payments-subscription">List payments</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-GETapi-payments-subscription"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/payments/subscription?embed=&valid=&active=&sort=created_at&perPage=2" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/payments/subscription" ); const params = { "embed": "", "valid": "0", "active": "0", "sort": "created_at", "perPage": "2", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/payments/subscription'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', 'valid' => '0', 'active' => '0', 'sort' => 'created_at', 'perPage' => '2', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/payments/subscription' params = { 'embed': '', 'valid': '0', 'active': '0', 'sort': 'created_at', 'perPage': '2', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-payments-subscription"> <blockquote> <p>Example response (401):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Unauthenticated or Token Expired, Please Login.", "result": null, "error": "Unauthenticated or Token Expired, Please Login." }</code> </pre> </span> <span id="execution-results-GETapi-payments-subscription" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-payments-subscription"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-payments-subscription" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-payments-subscription" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-payments-subscription"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-payments-subscription" data-method="GET" data-path="api/payments/subscription" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-payments-subscription', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-payments-subscription" onclick="tryItOut('GETapi-payments-subscription');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-payments-subscription" onclick="cancelTryOut('GETapi-payments-subscription');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-payments-subscription" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/payments/subscription</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-payments-subscription" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-payments-subscription" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-payments-subscription" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-payments-subscription" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-payments-subscription" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-payments-subscription" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-payments-subscription" value="" data-component="query"> <br> <p>Comma-separated list of the payment relationships for Eager Loading - Possible values: payable,paymentMethod,package,currency.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>valid</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-payments-subscription" style="display: none"> <input type="radio" name="valid" value="1" data-endpoint="GETapi-payments-subscription" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-payments-subscription" style="display: none"> <input type="radio" name="valid" value="0" data-endpoint="GETapi-payments-subscription" data-component="query" > <code>false</code> </label> <br> <p>Allow getting the valid payment list. Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>active</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-payments-subscription" style="display: none"> <input type="radio" name="active" value="1" data-endpoint="GETapi-payments-subscription" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-payments-subscription" style="display: none"> <input type="radio" name="active" value="0" data-endpoint="GETapi-payments-subscription" data-component="query" > <code>false</code> </label> <br> <p>Allow getting the active payment list. Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-payments-subscription" value="created_at" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: created_at. Example: <code>created_at</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-payments-subscription" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> </form> <h2 id="payments-GETapi-payments-subscription-users--userId--payments">List payments</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-GETapi-payments-subscription-users--userId--payments"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/payments/subscription/users/1/payments?embed=&valid=&active=&sort=created_at&perPage=2" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/payments/subscription/users/1/payments" ); const params = { "embed": "", "valid": "0", "active": "0", "sort": "created_at", "perPage": "2", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/payments/subscription/users/1/payments'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', 'valid' => '0', 'active' => '0', 'sort' => 'created_at', 'perPage' => '2', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/payments/subscription/users/1/payments' params = { 'embed': '', 'valid': '0', 'active': '0', 'sort': 'created_at', 'perPage': '2', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-payments-subscription-users--userId--payments"> <blockquote> <p>Example response (401):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Unauthenticated or Token Expired, Please Login.", "result": null, "error": "Unauthenticated or Token Expired, Please Login." }</code> </pre> </span> <span id="execution-results-GETapi-payments-subscription-users--userId--payments" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-payments-subscription-users--userId--payments"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-payments-subscription-users--userId--payments" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-payments-subscription-users--userId--payments" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-payments-subscription-users--userId--payments"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-payments-subscription-users--userId--payments" data-method="GET" data-path="api/payments/subscription/users/{userId}/payments" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-payments-subscription-users--userId--payments', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-payments-subscription-users--userId--payments" onclick="tryItOut('GETapi-payments-subscription-users--userId--payments');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-payments-subscription-users--userId--payments" onclick="cancelTryOut('GETapi-payments-subscription-users--userId--payments');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-payments-subscription-users--userId--payments" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/payments/subscription/users/{userId}/payments</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-payments-subscription-users--userId--payments" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-payments-subscription-users--userId--payments" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-payments-subscription-users--userId--payments" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-payments-subscription-users--userId--payments" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-payments-subscription-users--userId--payments" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-payments-subscription-users--userId--payments" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>userId</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="userId" data-endpoint="GETapi-payments-subscription-users--userId--payments" value="1" data-component="url"> <br> <p>Example: <code>1</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-payments-subscription-users--userId--payments" value="" data-component="query"> <br> <p>Comma-separated list of the payment relationships for Eager Loading - Possible values: payable,paymentMethod,package,currency.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>valid</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-payments-subscription-users--userId--payments" style="display: none"> <input type="radio" name="valid" value="1" data-endpoint="GETapi-payments-subscription-users--userId--payments" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-payments-subscription-users--userId--payments" style="display: none"> <input type="radio" name="valid" value="0" data-endpoint="GETapi-payments-subscription-users--userId--payments" data-component="query" > <code>false</code> </label> <br> <p>Allow getting the valid payment list. Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>active</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-payments-subscription-users--userId--payments" style="display: none"> <input type="radio" name="active" value="1" data-endpoint="GETapi-payments-subscription-users--userId--payments" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-payments-subscription-users--userId--payments" style="display: none"> <input type="radio" name="active" value="0" data-endpoint="GETapi-payments-subscription-users--userId--payments" data-component="query" > <code>false</code> </label> <br> <p>Allow getting the active payment list. Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-payments-subscription-users--userId--payments" value="created_at" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: created_at. Example: <code>created_at</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-payments-subscription-users--userId--payments" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> </form> <h2 id="payments-GETapi-payments--id-">Get payment</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-GETapi-payments--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/payments/2?embed=" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/payments/2" ); const params = { "embed": "", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/payments/2'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/payments/2' params = { 'embed': '', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-payments--id-"> <blockquote> <p>Example response (401):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Unauthenticated or Token Expired, Please Login.", "result": null, "error": "Unauthenticated or Token Expired, Please Login." }</code> </pre> </span> <span id="execution-results-GETapi-payments--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-payments--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-payments--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-payments--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-payments--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-payments--id-" data-method="GET" data-path="api/payments/{id}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-payments--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-payments--id-" onclick="tryItOut('GETapi-payments--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-payments--id-" onclick="cancelTryOut('GETapi-payments--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-payments--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/payments/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-payments--id-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-payments--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-payments--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-payments--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-payments--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-payments--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-payments--id-" value="2" data-component="url"> <br> <p>The payment's ID. Example: <code>2</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-payments--id-" value="" data-component="query"> <br> <p>Comma-separated list of the payment relationships for Eager Loading - Possible values: payable,paymentMethod,package,currency.</p> </div> </form> <h2 id="payments-POSTapi-payments">Store payment</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <p>Note: This endpoint is only available for the multi steps form edition.</p> <span id="example-requests-POSTapi-payments"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/payments?package=4" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --data "{ \"country_code\": \"US\", \"payable_id\": 2, \"payable_type\": \"Post\", \"package_id\": 6, \"payment_method_id\": 5 }" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/payments" ); const params = { "package": "4", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; let body = { "country_code": "US", "payable_id": 2, "payable_type": "Post", "package_id": 6, "payment_method_id": 5 }; fetch(url, { method: "POST", headers, body: JSON.stringify(body), }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/payments'; $response = $client->post( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'package' => '4', ], 'json' => [ 'country_code' => 'US', 'payable_id' => 2, 'payable_type' => 'Post', 'package_id' => 6, 'payment_method_id' => 5, ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/payments' payload = { "country_code": "US", "payable_id": 2, "payable_type": "Post", "package_id": 6, "payment_method_id": 5 } params = { 'package': '4', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers, json=payload, params=params) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-payments"> </span> <span id="execution-results-POSTapi-payments" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-payments"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-payments" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-payments" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-payments"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-payments" data-method="POST" data-path="api/payments" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-payments', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-payments" onclick="tryItOut('POSTapi-payments');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-payments" onclick="cancelTryOut('POSTapi-payments');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-payments" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/payments</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="POSTapi-payments" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-payments" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-payments" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-payments" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-payments" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-payments" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>package</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="package" data-endpoint="POSTapi-payments" value="4" data-component="query"> <br> <p>Selected package ID. Example: <code>4</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>country_code</code></b> <small>string</small> <input type="text" style="display: none" name="country_code" data-endpoint="POSTapi-payments" value="US" data-component="body"> <br> <p>The code of the user's country. Example: <code>US</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>payable_id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="payable_id" data-endpoint="POSTapi-payments" value="2" data-component="body"> <br> <p>The payable's ID (ID of the listing or user). Example: <code>2</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>payable_type</code></b> <small>string</small> <input type="text" style="display: none" name="payable_type" data-endpoint="POSTapi-payments" value="Post" data-component="body"> <br> <p>The payable model's name - Possible values: Post,User. Example: <code>Post</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>package_id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="package_id" data-endpoint="POSTapi-payments" value="6" data-component="body"> <br> <p>The package's ID (Auto filled when the query parameter 'package' is set). Example: <code>6</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>payment_method_id</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="payment_method_id" data-endpoint="POSTapi-payments" value="5" data-component="body"> <br> <p>The payment method's ID (required when the selected package's price is > 0). Example: <code>5</code></p> </div> </form> <h1 id="posts">Posts</h1> <h2 id="posts-GETapi-postTypes">List post types</h2> <p> </p> <span id="example-requests-GETapi-postTypes"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/postTypes" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/postTypes" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/postTypes'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/postTypes' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-postTypes"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "id": 7, "name": "Optional", "active": 1 }, { "id": 6, "name": "Permanent", "active": 1 }, { "id": 5, "name": "Internship", "active": 1 }, { "id": 4, "name": "Contract", "active": 1 }, { "id": 3, "name": "Temporary", "active": 1 }, { "id": 2, "name": "Part-time", "active": 1 }, { "id": 1, "name": "Full-time", "active": 1 } ] } }</code> </pre> </span> <span id="execution-results-GETapi-postTypes" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-postTypes"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-postTypes" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-postTypes" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-postTypes"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-postTypes" data-method="GET" data-path="api/postTypes" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-postTypes', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-postTypes" onclick="tryItOut('GETapi-postTypes');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-postTypes" onclick="cancelTryOut('GETapi-postTypes');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-postTypes" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/postTypes</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-postTypes" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-postTypes" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-postTypes" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-postTypes" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-postTypes" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> </form> <h2 id="posts-GETapi-postTypes--id-">Get post type</h2> <p> </p> <span id="example-requests-GETapi-postTypes--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/postTypes/1" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/postTypes/1" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/postTypes/1'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/postTypes/1' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-postTypes--id-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "id": 1, "name": "Full-time", "active": 1 } }</code> </pre> </span> <span id="execution-results-GETapi-postTypes--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-postTypes--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-postTypes--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-postTypes--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-postTypes--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-postTypes--id-" data-method="GET" data-path="api/postTypes/{id}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-postTypes--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-postTypes--id-" onclick="tryItOut('GETapi-postTypes--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-postTypes--id-" onclick="cancelTryOut('GETapi-postTypes--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-postTypes--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/postTypes/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-postTypes--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-postTypes--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-postTypes--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-postTypes--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-postTypes--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-postTypes--id-" value="1" data-component="url"> <br> <p>The post type's ID. Example: <code>1</code></p> </div> </form> <h2 id="posts-GETapi-reportTypes">List report types</h2> <p> </p> <span id="example-requests-GETapi-reportTypes"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/reportTypes" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/reportTypes" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/reportTypes'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/reportTypes' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-reportTypes"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "id": 5, "name": "Other" }, { "id": 4, "name": "Wrong category" }, { "id": 3, "name": "Spam" }, { "id": 2, "name": "Duplicate" }, { "id": 1, "name": "Fraud" } ] } }</code> </pre> </span> <span id="execution-results-GETapi-reportTypes" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-reportTypes"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-reportTypes" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-reportTypes" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-reportTypes"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-reportTypes" data-method="GET" data-path="api/reportTypes" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-reportTypes', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-reportTypes" onclick="tryItOut('GETapi-reportTypes');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-reportTypes" onclick="cancelTryOut('GETapi-reportTypes');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-reportTypes" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/reportTypes</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-reportTypes" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-reportTypes" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-reportTypes" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-reportTypes" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-reportTypes" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> </form> <h2 id="posts-GETapi-reportTypes--id-">Get report type</h2> <p> </p> <span id="example-requests-GETapi-reportTypes--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/reportTypes/1" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/reportTypes/1" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/reportTypes/1'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/reportTypes/1' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-reportTypes--id-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "id": 1, "name": "Fraud" } }</code> </pre> </span> <span id="execution-results-GETapi-reportTypes--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-reportTypes--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-reportTypes--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-reportTypes--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-reportTypes--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-reportTypes--id-" data-method="GET" data-path="api/reportTypes/{id}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-reportTypes--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-reportTypes--id-" onclick="tryItOut('GETapi-reportTypes--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-reportTypes--id-" onclick="cancelTryOut('GETapi-reportTypes--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-reportTypes--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/reportTypes/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-reportTypes--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-reportTypes--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-reportTypes--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-reportTypes--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-reportTypes--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-reportTypes--id-" value="1" data-component="url"> <br> <p>The report type's ID. Example: <code>1</code></p> </div> </form> <h2 id="posts-GETapi-salaryTypes">List salary types</h2> <p> </p> <span id="example-requests-GETapi-salaryTypes"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/salaryTypes" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/salaryTypes" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/salaryTypes'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/salaryTypes' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-salaryTypes"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "id": 4, "name": "year", "active": 1, "lft": null, "rgt": null, "depth": null }, { "id": 3, "name": "month", "active": 1, "lft": null, "rgt": null, "depth": null }, { "id": 2, "name": "day", "active": 1, "lft": null, "rgt": null, "depth": null }, { "id": 1, "name": "hour", "active": 1, "lft": null, "rgt": null, "depth": null } ] } }</code> </pre> </span> <span id="execution-results-GETapi-salaryTypes" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-salaryTypes"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-salaryTypes" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-salaryTypes" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-salaryTypes"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-salaryTypes" data-method="GET" data-path="api/salaryTypes" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-salaryTypes', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-salaryTypes" onclick="tryItOut('GETapi-salaryTypes');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-salaryTypes" onclick="cancelTryOut('GETapi-salaryTypes');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-salaryTypes" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/salaryTypes</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-salaryTypes" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-salaryTypes" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-salaryTypes" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-salaryTypes" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-salaryTypes" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> </form> <h2 id="posts-GETapi-salaryTypes--id-">Get salary type</h2> <p> </p> <span id="example-requests-GETapi-salaryTypes--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/salaryTypes/1" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/salaryTypes/1" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/salaryTypes/1'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/salaryTypes/1' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-salaryTypes--id-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "id": 1, "name": "hour", "active": 1, "lft": null, "rgt": null, "depth": null } }</code> </pre> </span> <span id="execution-results-GETapi-salaryTypes--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-salaryTypes--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-salaryTypes--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-salaryTypes--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-salaryTypes--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-salaryTypes--id-" data-method="GET" data-path="api/salaryTypes/{id}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-salaryTypes--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-salaryTypes--id-" onclick="tryItOut('GETapi-salaryTypes--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-salaryTypes--id-" onclick="cancelTryOut('GETapi-salaryTypes--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-salaryTypes--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/salaryTypes/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-salaryTypes--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-salaryTypes--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-salaryTypes--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-salaryTypes--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-salaryTypes--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-salaryTypes--id-" value="1" data-component="url"> <br> <p>The salary type's ID. Example: <code>1</code></p> </div> </form> <h1 id="resumes">Resumes</h1> <h2 id="resumes-GETapi-resumes">List resumes</h2> <p> </p> <span id="example-requests-GETapi-resumes"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/resumes?q=&belongLoggedUser=&sort=created_at&perPage=2" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/resumes" ); const params = { "q": "", "belongLoggedUser": "0", "sort": "created_at", "perPage": "2", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/resumes'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'q' => '', 'belongLoggedUser' => '0', 'sort' => 'created_at', 'perPage' => '2', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/resumes' params = { 'q': '', 'belongLoggedUser': '0', 'sort': 'created_at', 'perPage': '2', } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-resumes"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "data": [ { "id": 451, "country_code": "FR", "name": "Reprehenderit dicta quo dolor", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/fr.png" }, { "id": 450, "country_code": "MX", "name": "Quod sapiente delectus facere", "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/mx.png" } ], "links": { "first": "https://jobclass.laraclassifier.local/api/resumes?page=1", "last": "https://jobclass.laraclassifier.local/api/resumes?page=226", "prev": null, "next": "https://jobclass.laraclassifier.local/api/resumes?page=2" }, "meta": { "current_page": 1, "from": 1, "last_page": 226, "links": [ { "url": null, "label": "&laquo; Previous", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/resumes?page=1", "label": "1", "active": true }, { "url": "https://jobclass.laraclassifier.local/api/resumes?page=2", "label": "2", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/resumes?page=3", "label": "3", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/resumes?page=4", "label": "4", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/resumes?page=5", "label": "5", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/resumes?page=6", "label": "6", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/resumes?page=7", "label": "7", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/resumes?page=8", "label": "8", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/resumes?page=9", "label": "9", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/resumes?page=10", "label": "10", "active": false }, { "url": null, "label": "...", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/resumes?page=225", "label": "225", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/resumes?page=226", "label": "226", "active": false }, { "url": "https://jobclass.laraclassifier.local/api/resumes?page=2", "label": "Next &raquo;", "active": false } ], "path": "https://jobclass.laraclassifier.local/api/resumes", "per_page": 2, "to": 2, "total": 451 } } }</code> </pre> </span> <span id="execution-results-GETapi-resumes" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-resumes"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-resumes" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-resumes" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-resumes"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-resumes" data-method="GET" data-path="api/resumes" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-resumes', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-resumes" onclick="tryItOut('GETapi-resumes');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-resumes" onclick="cancelTryOut('GETapi-resumes');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-resumes" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/resumes</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-resumes" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-resumes" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-resumes" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-resumes" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-resumes" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>q</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="q" data-endpoint="GETapi-resumes" value="" data-component="query"> <br> <p>Get the resume list related to the entered keyword.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>belongLoggedUser</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-resumes" style="display: none"> <input type="radio" name="belongLoggedUser" value="1" data-endpoint="GETapi-resumes" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-resumes" style="display: none"> <input type="radio" name="belongLoggedUser" value="0" data-endpoint="GETapi-resumes" data-component="query" > <code>false</code> </label> <br> <p>Force users to be logged to get data that belongs to him. Resume file and other column can be retrieved - Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-resumes" value="created_at" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: created_at, name. Example: <code>created_at</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-resumes" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> </form> <h2 id="resumes-GETapi-resumes--id-">Get resume</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-GETapi-resumes--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/resumes/269?belongLoggedUser=&embed=user" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/resumes/269" ); const params = { "belongLoggedUser": "0", "embed": "user", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/resumes/269'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'belongLoggedUser' => '0', 'embed' => 'user', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/resumes/269' params = { 'belongLoggedUser': '0', 'embed': 'user', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-resumes--id-"> <blockquote> <p>Example response (500):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Some tables of the database are absent.\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'jobclass.jc_user_id' doesn't exist (Connection: mysql, SQL: select `jc_users`.*, `jc_user_id`.`id` as `pivot_id`, `jc_user_id`.`user_id` as `pivot_user_id` from `jc_users` inner join `jc_user_id` on `jc_users`.`id` = `jc_user_id`.`user_id` where `jc_user_id`.`id` in (269))\n1/ Remove all tables from the database (if existing)\n2/ Delete the /.env file (required before re-installation)\n3/ and reload this page -or- go to install URL: https://jobclass.laraclassifier.local/install.\nBE CAREFUL: If your site is already in production, you will lose all your data in both cases.\n", "result": null, "error": "Some tables of the database are absent.\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'jobclass.jc_user_id' doesn't exist (Connection: mysql, SQL: select `jc_users`.*, `jc_user_id`.`id` as `pivot_id`, `jc_user_id`.`user_id` as `pivot_user_id` from `jc_users` inner join `jc_user_id` on `jc_users`.`id` = `jc_user_id`.`user_id` where `jc_user_id`.`id` in (269))\n1/ Remove all tables from the database (if existing)\n2/ Delete the <code>/.env</code> file (required before re-installation)\n3/ and reload this page -or- go to install URL: <a href=\"https://jobclass.laraclassifier.local/install\">https://jobclass.laraclassifier.local/install</a>.\nBE CAREFUL: If your site is already in production, you will lose all your data in both cases.\n" }</code> </pre> </span> <span id="execution-results-GETapi-resumes--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-resumes--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-resumes--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-resumes--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-resumes--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-resumes--id-" data-method="GET" data-path="api/resumes/{id}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-resumes--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-resumes--id-" onclick="tryItOut('GETapi-resumes--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-resumes--id-" onclick="cancelTryOut('GETapi-resumes--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-resumes--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/resumes/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-resumes--id-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-resumes--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-resumes--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-resumes--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-resumes--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-resumes--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-resumes--id-" value="269" data-component="url"> <br> <p>The resume's ID. Example: <code>269</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>belongLoggedUser</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="GETapi-resumes--id-" style="display: none"> <input type="radio" name="belongLoggedUser" value="1" data-endpoint="GETapi-resumes--id-" data-component="query" > <code>true</code> </label> <label data-endpoint="GETapi-resumes--id-" style="display: none"> <input type="radio" name="belongLoggedUser" value="0" data-endpoint="GETapi-resumes--id-" data-component="query" > <code>false</code> </label> <br> <p>Force users to be logged to get data that belongs to him - Possible value: 0 or 1. Example: <code>false</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-resumes--id-" value="user" data-component="query"> <br> <p>The Comma-separated list of the company relationships for Eager Loading - Possible values: user. Example: <code>user</code></p> </div> </form> <h2 id="resumes-POSTapi-resumes">Store resume</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-POSTapi-resumes"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/resumes" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/resumes" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "POST", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/resumes'; $response = $client->post( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/resumes' headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-resumes"> </span> <span id="execution-results-POSTapi-resumes" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-resumes"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-resumes" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-resumes" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-resumes"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-resumes" data-method="POST" data-path="api/resumes" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-resumes', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-resumes" onclick="tryItOut('POSTapi-resumes');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-resumes" onclick="cancelTryOut('POSTapi-resumes');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-resumes" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/resumes</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="POSTapi-resumes" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-resumes" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-resumes" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-resumes" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-resumes" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-resumes" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <details> <summary style="padding-bottom: 10px;"> <b style="line-height: 2;"><code>resume</code></b> <small>object</small> <i>optional</i> <br> </summary> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>country_code</code></b> <small>string</small> <input type="text" style="display: none" name="resume.0.country_code" data-endpoint="POSTapi-resumes" value="US" data-component="body"> <br> <p>The code of the user's country. Example: <code>US</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>name</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="resume.0.name" data-endpoint="POSTapi-resumes" value="Software Engineer" data-component="body"> <br> <p>The resume's name. Example: <code>Software Engineer</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>filename</code></b> <small>file</small> <input type="file" style="display: none" name="resume.0.filename" data-endpoint="POSTapi-resumes" value="" data-component="body"> <br> <p>The resume's attached file. Example: <code>/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpE05L7n</code></p> </div> </details> </div> </form> <h2 id="resumes-PUTapi-resumes--id-">Update resume</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-PUTapi-resumes--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request PUT \ "https://jobclass.laraclassifier.local/api/resumes/111111" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/resumes/111111" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "PUT", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/resumes/111111'; $response = $client->put( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/resumes/111111' headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('PUT', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-PUTapi-resumes--id-"> </span> <span id="execution-results-PUTapi-resumes--id-" hidden> <blockquote>Received response<span id="execution-response-status-PUTapi-resumes--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-PUTapi-resumes--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-PUTapi-resumes--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-PUTapi-resumes--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-PUTapi-resumes--id-" data-method="PUT" data-path="api/resumes/{id}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('PUTapi-resumes--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-PUTapi-resumes--id-" onclick="tryItOut('PUTapi-resumes--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-PUTapi-resumes--id-" onclick="cancelTryOut('PUTapi-resumes--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-PUTapi-resumes--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-darkblue">PUT</small> <b><code>api/resumes/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="PUTapi-resumes--id-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="PUTapi-resumes--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="PUTapi-resumes--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="PUTapi-resumes--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="PUTapi-resumes--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="PUTapi-resumes--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="PUTapi-resumes--id-" value="111111" data-component="url"> <br> <p>The resume's ID. Example: <code>111111</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <details> <summary style="padding-bottom: 10px;"> <b style="line-height: 2;"><code>resume</code></b> <small>object</small> <i>optional</i> <br> </summary> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>name</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="resume.0.name" data-endpoint="PUTapi-resumes--id-" value="Software Engineer" data-component="body"> <br> <p>The resume's name. Example: <code>Software Engineer</code></p> </div> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>filename</code></b> <small>file</small> <input type="file" style="display: none" name="resume.0.filename" data-endpoint="PUTapi-resumes--id-" value="" data-component="body"> <br> <p>The resume's attached file. Example: <code>/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/php1AeZWh</code></p> </div> </details> </div> </form> <h2 id="resumes-DELETEapi-resumes--ids-">Delete resume(s)</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-DELETEapi-resumes--ids-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request DELETE \ "https://jobclass.laraclassifier.local/api/resumes/111111,222222,333333" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/resumes/111111,222222,333333" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "DELETE", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/resumes/111111,222222,333333'; $response = $client->delete( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/resumes/111111,222222,333333' headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('DELETE', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-DELETEapi-resumes--ids-"> </span> <span id="execution-results-DELETEapi-resumes--ids-" hidden> <blockquote>Received response<span id="execution-response-status-DELETEapi-resumes--ids-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-DELETEapi-resumes--ids-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-DELETEapi-resumes--ids-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-DELETEapi-resumes--ids-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-DELETEapi-resumes--ids-" data-method="DELETE" data-path="api/resumes/{ids}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('DELETEapi-resumes--ids-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-DELETEapi-resumes--ids-" onclick="tryItOut('DELETEapi-resumes--ids-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-DELETEapi-resumes--ids-" onclick="cancelTryOut('DELETEapi-resumes--ids-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-DELETEapi-resumes--ids-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-red">DELETE</small> <b><code>api/resumes/{ids}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="DELETEapi-resumes--ids-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="DELETEapi-resumes--ids-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="DELETEapi-resumes--ids-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="DELETEapi-resumes--ids-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="DELETEapi-resumes--ids-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="DELETEapi-resumes--ids-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>ids</code></b> <small>string</small> <input type="text" style="display: none" name="ids" data-endpoint="DELETEapi-resumes--ids-" value="111111,222222,333333" data-component="url"> <br> <p>The ID or comma-separated IDs list of resume(s). Example: <code>111111,222222,333333</code></p> </div> </form> <h1 id="saved-posts">Saved Posts</h1> <h2 id="saved-posts-POSTapi-savedPosts">Store/Delete saved post</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <p>Save a post in favorite, or remove it from favorite.</p> <span id="example-requests-POSTapi-savedPosts"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/savedPosts" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --data "{ \"post_id\": 2 }" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/savedPosts" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; let body = { "post_id": 2 }; fetch(url, { method: "POST", headers, body: JSON.stringify(body), }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/savedPosts'; $response = $client->post( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'json' => [ 'post_id' => 2, ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/savedPosts' payload = { "post_id": 2 } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers, json=payload) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-savedPosts"> </span> <span id="execution-results-POSTapi-savedPosts" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-savedPosts"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-savedPosts" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-savedPosts" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-savedPosts"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-savedPosts" data-method="POST" data-path="api/savedPosts" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-savedPosts', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-savedPosts" onclick="tryItOut('POSTapi-savedPosts');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-savedPosts" onclick="cancelTryOut('POSTapi-savedPosts');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-savedPosts" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/savedPosts</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="POSTapi-savedPosts" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-savedPosts" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-savedPosts" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-savedPosts" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-savedPosts" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-savedPosts" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>post_id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="post_id" data-endpoint="POSTapi-savedPosts" value="2" data-component="body"> <br> <p>The post's ID. Example: <code>2</code></p> </div> </form> <h2 id="saved-posts-GETapi-savedPosts">List saved posts</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-GETapi-savedPosts"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/savedPosts?country_code=US&embed=&sort=created_at&perPage=2" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/savedPosts" ); const params = { "country_code": "US", "embed": "", "sort": "created_at", "perPage": "2", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/savedPosts'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'country_code' => 'US', 'embed' => '', 'sort' => 'created_at', 'perPage' => '2', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/savedPosts' params = { 'country_code': 'US', 'embed': '', 'sort': 'created_at', 'perPage': '2', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-savedPosts"> <blockquote> <p>Example response (401):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Unauthenticated or Token Expired, Please Login.", "result": null, "error": "Unauthenticated or Token Expired, Please Login." }</code> </pre> </span> <span id="execution-results-GETapi-savedPosts" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-savedPosts"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-savedPosts" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-savedPosts" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-savedPosts"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-savedPosts" data-method="GET" data-path="api/savedPosts" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-savedPosts', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-savedPosts" onclick="tryItOut('GETapi-savedPosts');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-savedPosts" onclick="cancelTryOut('GETapi-savedPosts');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-savedPosts" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/savedPosts</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-savedPosts" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-savedPosts" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-savedPosts" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-savedPosts" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-savedPosts" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-savedPosts" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>country_code</code></b> <small>string</small> <input type="text" style="display: none" name="country_code" data-endpoint="GETapi-savedPosts" value="US" data-component="query"> <br> <p>The code of the user's country. Example: <code>US</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-savedPosts" value="" data-component="query"> <br> <p>The Comma-separated list of the category relationships for Eager Loading - Possible values: post,city,pictures,user.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-savedPosts" value="created_at" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: created_at. Example: <code>created_at</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-savedPosts" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> </form> <h2 id="saved-posts-DELETEapi-savedPosts--ids-">Delete saved post(s)</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-DELETEapi-savedPosts--ids-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request DELETE \ "https://jobclass.laraclassifier.local/api/savedPosts/1,2,3" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/savedPosts/1,2,3" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "DELETE", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/savedPosts/1,2,3'; $response = $client->delete( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/savedPosts/1,2,3' headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('DELETE', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-DELETEapi-savedPosts--ids-"> </span> <span id="execution-results-DELETEapi-savedPosts--ids-" hidden> <blockquote>Received response<span id="execution-response-status-DELETEapi-savedPosts--ids-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-DELETEapi-savedPosts--ids-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-DELETEapi-savedPosts--ids-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-DELETEapi-savedPosts--ids-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-DELETEapi-savedPosts--ids-" data-method="DELETE" data-path="api/savedPosts/{ids}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('DELETEapi-savedPosts--ids-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-DELETEapi-savedPosts--ids-" onclick="tryItOut('DELETEapi-savedPosts--ids-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-DELETEapi-savedPosts--ids-" onclick="cancelTryOut('DELETEapi-savedPosts--ids-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-DELETEapi-savedPosts--ids-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-red">DELETE</small> <b><code>api/savedPosts/{ids}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="DELETEapi-savedPosts--ids-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="DELETEapi-savedPosts--ids-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="DELETEapi-savedPosts--ids-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="DELETEapi-savedPosts--ids-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="DELETEapi-savedPosts--ids-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="DELETEapi-savedPosts--ids-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>ids</code></b> <small>string</small> <input type="text" style="display: none" name="ids" data-endpoint="DELETEapi-savedPosts--ids-" value="1,2,3" data-component="url"> <br> <p>The ID or comma-separated IDs list of saved post(s). Example: <code>1,2,3</code></p> </div> </form> <h1 id="saved-searches">Saved Searches</h1> <h2 id="saved-searches-POSTapi-savedSearches">Store/Delete saved search</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <p>Save a search result in favorite, or remove it from favorite.</p> <span id="example-requests-POSTapi-savedSearches"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/savedSearches" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --data "{ \"url\": \"https:\\/\\/demo.laraclassifier.com\\/search\\/?q=test&l=\", \"count_posts\": 29 }" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/savedSearches" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; let body = { "url": "https:\/\/demo.laraclassifier.com\/search\/?q=test&l=", "count_posts": 29 }; fetch(url, { method: "POST", headers, body: JSON.stringify(body), }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/savedSearches'; $response = $client->post( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'json' => [ 'url' => 'https://demo.laraclassifier.com/search/?q=test&l=', 'count_posts' => 29, ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/savedSearches' payload = { "url": "https:\/\/demo.laraclassifier.com\/search\/?q=test&l=", "count_posts": 29 } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers, json=payload) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-savedSearches"> </span> <span id="execution-results-POSTapi-savedSearches" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-savedSearches"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-savedSearches" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-savedSearches" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-savedSearches"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-savedSearches" data-method="POST" data-path="api/savedSearches" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-savedSearches', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-savedSearches" onclick="tryItOut('POSTapi-savedSearches');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-savedSearches" onclick="cancelTryOut('POSTapi-savedSearches');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-savedSearches" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/savedSearches</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="POSTapi-savedSearches" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-savedSearches" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-savedSearches" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-savedSearches" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-savedSearches" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-savedSearches" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>url</code></b> <small>string</small> <input type="text" style="display: none" name="url" data-endpoint="POSTapi-savedSearches" value="https://demo.laraclassifier.com/search/?q=test&l=" data-component="body"> <br> <p>Search URL to save. Example: <code>https://demo.laraclassifier.com/search/?q=test&l=</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>count_posts</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="count_posts" data-endpoint="POSTapi-savedSearches" value="29" data-component="body"> <br> <p>The number of posts found for the URL. Example: <code>29</code></p> </div> </form> <h2 id="saved-searches-GETapi-savedSearches">List saved searches</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-GETapi-savedSearches"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/savedSearches?embed=&sort=created_at&perPage=2" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/savedSearches" ); const params = { "embed": "", "sort": "created_at", "perPage": "2", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/savedSearches'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', 'sort' => 'created_at', 'perPage' => '2', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/savedSearches' params = { 'embed': '', 'sort': 'created_at', 'perPage': '2', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-savedSearches"> <blockquote> <p>Example response (401):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Unauthenticated or Token Expired, Please Login.", "result": null, "error": "Unauthenticated or Token Expired, Please Login." }</code> </pre> </span> <span id="execution-results-GETapi-savedSearches" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-savedSearches"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-savedSearches" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-savedSearches" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-savedSearches"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-savedSearches" data-method="GET" data-path="api/savedSearches" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-savedSearches', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-savedSearches" onclick="tryItOut('GETapi-savedSearches');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-savedSearches" onclick="cancelTryOut('GETapi-savedSearches');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-savedSearches" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/savedSearches</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-savedSearches" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-savedSearches" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-savedSearches" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-savedSearches" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-savedSearches" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-savedSearches" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-savedSearches" value="" data-component="query"> <br> <p>The Comma-separated list of the category relationships for Eager Loading - Possible values: user,country.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-savedSearches" value="created_at" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: created_at. Example: <code>created_at</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-savedSearches" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> </form> <h2 id="saved-searches-GETapi-savedSearches--id-">Get saved search</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-GETapi-savedSearches--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/savedSearches/1?embed=" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/savedSearches/1" ); const params = { "embed": "", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/savedSearches/1'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/savedSearches/1' params = { 'embed': '', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-savedSearches--id-"> <blockquote> <p>Example response (401):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Unauthenticated or Token Expired, Please Login.", "result": null, "error": "Unauthenticated or Token Expired, Please Login." }</code> </pre> </span> <span id="execution-results-GETapi-savedSearches--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-savedSearches--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-savedSearches--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-savedSearches--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-savedSearches--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-savedSearches--id-" data-method="GET" data-path="api/savedSearches/{id}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-savedSearches--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-savedSearches--id-" onclick="tryItOut('GETapi-savedSearches--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-savedSearches--id-" onclick="cancelTryOut('GETapi-savedSearches--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-savedSearches--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/savedSearches/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-savedSearches--id-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-savedSearches--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-savedSearches--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-savedSearches--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-savedSearches--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-savedSearches--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-savedSearches--id-" value="1" data-component="url"> <br> <p>The ID of the saved search. Example: <code>1</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-savedSearches--id-" value="" data-component="query"> <br> <p>The Comma-separated list of the category relationships for Eager Loading - Possible values: user,country,postType,category,city,country.</p> </div> </form> <h2 id="saved-searches-DELETEapi-savedSearches--ids-">Delete saved search(es)</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-DELETEapi-savedSearches--ids-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request DELETE \ "https://jobclass.laraclassifier.local/api/savedSearches/1,2,3" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/savedSearches/1,2,3" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "DELETE", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/savedSearches/1,2,3'; $response = $client->delete( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/savedSearches/1,2,3' headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('DELETE', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-DELETEapi-savedSearches--ids-"> </span> <span id="execution-results-DELETEapi-savedSearches--ids-" hidden> <blockquote>Received response<span id="execution-response-status-DELETEapi-savedSearches--ids-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-DELETEapi-savedSearches--ids-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-DELETEapi-savedSearches--ids-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-DELETEapi-savedSearches--ids-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-DELETEapi-savedSearches--ids-" data-method="DELETE" data-path="api/savedSearches/{ids}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('DELETEapi-savedSearches--ids-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-DELETEapi-savedSearches--ids-" onclick="tryItOut('DELETEapi-savedSearches--ids-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-DELETEapi-savedSearches--ids-" onclick="cancelTryOut('DELETEapi-savedSearches--ids-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-DELETEapi-savedSearches--ids-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-red">DELETE</small> <b><code>api/savedSearches/{ids}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="DELETEapi-savedSearches--ids-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="DELETEapi-savedSearches--ids-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="DELETEapi-savedSearches--ids-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="DELETEapi-savedSearches--ids-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="DELETEapi-savedSearches--ids-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="DELETEapi-savedSearches--ids-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>ids</code></b> <small>string</small> <input type="text" style="display: none" name="ids" data-endpoint="DELETEapi-savedSearches--ids-" value="1,2,3" data-component="url"> <br> <p>The ID or comma-separated IDs list of saved search(es). Example: <code>1,2,3</code></p> </div> </form> <h1 id="settings">Settings</h1> <h2 id="settings-GETapi-settings">List settings</h2> <p> </p> <span id="example-requests-GETapi-settings"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/settings" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/settings" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/settings'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/settings' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-settings"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "app": { "name": "JobClass", "slogan": "Job Board Web Application", "dark_theme_enabled": "1", "system_theme_enabled": "1", "logo": "app/default/logo.png", "favicon": "app/default/ico/favicon.png", "logo_dark": "app/default/logo-dark.png", "logo_light": "app/default/logo-light.png", "date_format": "YYYY-MM-DD", "datetime_format": "YYYY-MM-DD HH:mm", "date_from_now_modifier": "DIFF_RELATIVE_TO_NOW", "vector_charts_type": "morris_bar", "vector_charts_limit": "7", "show_countries_charts": "1", "countries_charts_limit": "5", "latest_entries_limit": "10", "general_settings_as_submenu_in_sidebar": "1", "logo_url": "https://jobclass.laraclassifier.local/storage/app/default/logo.png", "logo_dark_url": "https://jobclass.laraclassifier.local/storage/app/default/logo-dark.png", "logo_light_url": "https://jobclass.laraclassifier.local/storage/app/default/logo-light.png", "favicon_url": "https://jobclass.laraclassifier.local/storage/app/default/ico/favicon.png" }, "style": { "skin": "blueIzis", "page_width": "1200", "header_sticky": "1", "header_height": "70", "logo_width": 216, "logo_height": 40, "logo_aspect_ratio": "1", "admin_logo_bg": "skin4", "admin_navbar_bg": "skin6", "admin_sidebar_type": "full", "admin_sidebar_bg": "skin5", "admin_sidebar_position": "1", "admin_header_position": "1" }, "listing_form": { "publication_form_type": "multi-steps-form", "city_selection": "modal", "title_min_length": "2", "title_max_length": "150", "description_min_length": "5", "description_max_length": "12000", "listings_limit": "50", "tags_limit": "15", "tags_min_length": "2", "tags_max_length": "30", "guest_can_submit_listings": "1", "multi_companies_per_user": "1", "pricing_page_enabled": "2", "default_package_type": "promotion", "utf8mb4_enabled": "1", "enable_post_uniqueness": "1", "cat_display_type": "c_border_list", "wysiwyg_editor": "tinymce", "remove_url_before": "1", "remove_url_after": "1", "remove_email_after": "1", "remove_phone_after": "1" }, "listings_list": { "display_browse_jobs_link": "1", "items_per_page": "16", "show_cats_in_top": "1", "show_listings_tags": "1", "fake_locations_results": "1", "date_from_now": "1", "cities_extended_searches": "1", "search_distance_max": "500", "search_distance_default": "50", "search_distance_interval": "100", "max_salary": "10000", "salary_slider_step": "50", "show_category_icon": "7", "enable_cities_autocompletion": "1", "distance_calculation_formula": "ST_Distance_Sphere", "premium_first_category": "1", "premium_first_location": "1" }, "listing_page": { "hide_phone_number": "1", "date_from_now": "1", "guests_can_contact_authors": "1", "similar_listings": "1", "show_listing_on_googlemap": "1", "activation_facebook_comments": "1" }, "mail": { "driver": "smtp", "sendmail_path": "/usr/sbin/sendmail -bs", "sendmail_email_sender": "noreply@laraclassifier.com", "smtp_host": "127.0.0.1", "smtp_port": "1025", "smtp_email_sender": "noreply@laraclassifier.com", "mailgun_email_sender": "noreply@laraclassifier.com", "postmark_email_sender": "noreply@laraclassifier.com", "ses_email_sender": "noreply@laraclassifier.com", "mandrill_email_sender": "noreply@laraclassifier.com", "sparkpost_email_sender": "noreply@laraclassifier.com", "email_verification": "1", "confirmation": "1" }, "sms": { "enable_phone_as_auth_field": "1", "default_auth_field": "email", "phone_of_countries": "all", "phone_validator": "isPossiblePhoneNumber", "driver": "twilio", "sms_to": "+15656566764", "phone_verification": "1" }, "upload": { "file_types": "pdf,doc,docx,word,rtf,rtx,ppt,pptx,odt,odp,wps,jpeg,jpg,bmp,png", "max_file_size": 1500, "image_types": "jpg,jpeg,gif,png", "image_quality": "90", "max_image_size": 1500, "img_resize_width": 1500, "img_resize_height": 1500, "img_resize_ratio": "1", "img_resize_logo_width": 250, "img_resize_logo_height": 50, "img_resize_logo_ratio": "1", "img_resize_cat_width": 70, "img_resize_cat_height": 70, "img_resize_cat_ratio": "1", "img_resize_picture_sm_method": "resizeCanvas", "img_resize_picture_sm_width": 120, "img_resize_picture_sm_height": 90, "img_resize_picture_sm_ratio": "1", "img_resize_picture_sm_position": "center", "img_resize_picture_sm_bg_color": "#FFFFFF", "img_resize_picture_md_method": "resizeCanvas", "img_resize_picture_md_width": 320, "img_resize_picture_md_height": 240, "img_resize_picture_md_ratio": "1", "img_resize_picture_md_position": "center", "img_resize_picture_md_bg_color": "#FFFFFF", "img_resize_picture_lg_method": "resize", "img_resize_picture_lg_width": 816, "img_resize_picture_lg_height": 460, "img_resize_picture_lg_ratio": "1", "img_resize_picture_lg_upsize": "1", "img_resize_picture_lg_position": "center", "img_resize_picture_lg_bg_color": "#FFFFFF", "client_image_types": "jpg,png", "img_resize_default_method": "resize", "img_resize_default_width": 1500, "img_resize_default_height": 1500, "img_resize_default_ratio": "1", "img_resize_default_position": "center", "img_resize_default_bgColor": "ffffff", "img_resize_logo_method": "resize", "img_resize_logo_position": "center", "img_resize_logo_bgColor": "rgba(0, 0, 0, 0)", "img_resize_logo_max_method": "resize", "img_resize_logo_max_width": 430, "img_resize_logo_max_height": 80, "img_resize_logo_max_ratio": "1", "img_resize_logo_max_position": "center", "img_resize_logo_max_bgColor": "rgba(0, 0, 0, 0)", "img_resize_favicon_method": "resize", "img_resize_favicon_width": 32, "img_resize_favicon_height": 32, "img_resize_favicon_ratio": "1", "img_resize_favicon_position": "center", "img_resize_favicon_bgColor": "rgba(0, 0, 0, 0)", "img_resize_cat_method": "resize", "img_resize_cat_position": "center", "img_resize_cat_bgColor": "rgba(0, 0, 0, 0)", "img_resize_bg_header_method": "resize", "img_resize_bg_header_width": 2000, "img_resize_bg_header_height": 1000, "img_resize_bg_header_ratio": "1", "img_resize_bg_header_position": "center", "img_resize_bg_header_bgColor": "ffffff", "img_resize_bg_body_method": "resize", "img_resize_bg_body_width": 2500, "img_resize_bg_body_height": 2500, "img_resize_bg_body_ratio": "1", "img_resize_bg_body_position": "center", "img_resize_bg_body_bgColor": "ffffff", "img_resize_picture_sm_bgColor": "ffffff", "img_resize_picture_md_bgColor": "ffffff", "img_resize_picture_lg_bgColor": "ffffff", "img_resize_avatar_method": "resize", "img_resize_avatar_width": 800, "img_resize_avatar_height": 800, "img_resize_avatar_ratio": "1", "img_resize_avatar_position": "center", "img_resize_avatar_bgColor": "ffffff", "img_resize_company_logo_method": "resize", "img_resize_company_logo_width": 800, "img_resize_company_logo_height": 800, "img_resize_company_logo_ratio": "1", "img_resize_company_logo_position": "center", "img_resize_company_logo_bgColor": "rgba(0, 0, 0, 0)" }, "localization": { "geoip_driver": "ipinfo", "default_country_code": "US", "show_country_spoken_languages": "disabled", "auto_detect_language": "disabled", "show_country_flag": "in_next_logo", "country_flag_shape": "circle" }, "security": { "csrf_protection": "1", "honeypot_enabled": "1", "honeypot_name_field_name": "entity_field", "honeypot_respond_to_spam_with": "blank_page", "honeypot_valid_from_field_name": "valid_field", "honeypot_amount_of_seconds": "3", "captcha": "recaptcha", "captcha_delay": "1500", "recaptcha_version": "v2" }, "auth": { "login_max_attempts": "5", "login_decay_minutes": "15", "password_min_length": "6", "password_max_length": "30", "email_validator_rfc": "1", "2fa_with_mail": "1", "2fa_with_sms": "1", "otp_length": "4", "otp_expire_time_seconds": "300", "otp_cooldown_seconds": "60", "otp_max_attempts": "3", "otp_decay_minutes": "60", "max_resend_lockout_attempts": "15", "lockout_duration_minutes": "1440", "send_notification_on_user_suspension": "none", "send_notification_on_user_ban": "none", "open_login_in_modal": "1", "hero_image_path": "app/default/auth/login-bg-blurred.jpg", "hero_image_url": "https://jobclass.laraclassifier.local/storage/app/default/auth/thumbnails/2500x2500-login-bg-blurred.jpg" }, "social_auth": { "social_login_activation": "1", "social_auth_enabled": true, "button_type": "loginWithDefault", "facebook_enabled": true, "linkedin_enabled": true, "twitter_oauth_1_enabled": true, "google_enabled": true }, "social_link": { "facebook_page_url": "#", "twitter_url": "#", "linkedin_url": "#", "pinterest_url": "#", "instagram_url": "#", "tiktok_url": "#", "youtube_url": "#", "vimeo_url": "#", "vk_url": "#" }, "social_share": { "facebook": "1", "twitter": "1", "linkedin": "1", "whatsapp": "1", "telegram": "1", "og_image_width": "1200", "og_image_height": "630" }, "optimization": { "cache_driver": "file", "cache_expiration": "86400", "memcached_servers_1_host": "127.0.0.1", "memcached_servers_1_port": "11211", "redis_client": "predis", "redis_cluster": "predis", "redis_host": "127.0.0.1", "redis_port": "6379", "queue_driver": "sync" }, "seo": { "robots_txt": "User-agent: *\nDisallow: /", "no_index_all": "1", "listing_permalink": "{slug}/{hashableId}", "listing_hashed_id_enabled": "1", "listing_hashed_id_seo_redirection": "1" }, "pagination": { "similar_posts_limit": 8, "categories_limit": 50, "cities_limit": 50, "per_page": 10, "categories_per_page": 12, "cities_per_page": 40, "companies_per_page": 20, "payments_per_page": 10, "posts_per_page": 12, "resumes_per_page": 20, "saved_posts_per_page": 10, "saved_search_per_page": 20, "subadmin1_per_page": 39, "subadmin2_per_page": 38, "subscriptions_per_page": 10, "threads_per_page": 20, "threads_messages_per_page": 10, "auto_complete_cities_limit": 25, "subadmin1_select_limit": 200, "subadmin2_select_limit": 5000, "cities_select_limit": 25 }, "other": { "cookie_consent_enabled": "1", "show_tips_messages": "1", "googlemaps_key": "AIzaSyC-GKYqCD5Bwy1SZ5kOL9JCdcNLRsZzPoQ", "simditor_wysiwyg": "1", "cookie_expiration": "86400", "account_closure_enabled": "1", "wysiwyg_editor": "tinymce" }, "cron": { "unactivated_listings_expiration": "30", "activated_listings_expiration": "30", "archived_listings_expiration": "7", "manually_archived_listings_expiration": "90" }, "footer": { "show_powered_by": "1", "hide_payment_plugins_logos": "1" }, "backup": { "disable_notifications": "1", "keep_all_backups_for_days": "7", "keep_daily_backups_for_days": "16", "keep_weekly_backups_for_weeks": "8", "keep_monthly_backups_for_months": "4", "keep_yearly_backups_for_years": "2", "maximum_storage_in_megabytes": "5000" } } }</code> </pre> </span> <span id="execution-results-GETapi-settings" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-settings"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-settings" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-settings" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-settings"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-settings" data-method="GET" data-path="api/settings" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-settings', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-settings" onclick="tryItOut('GETapi-settings');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-settings" onclick="cancelTryOut('GETapi-settings');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-settings" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/settings</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-settings" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-settings" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-settings" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-settings" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-settings" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> </form> <h2 id="settings-GETapi-settings--key-">Get setting</h2> <p> </p> <span id="example-requests-GETapi-settings--key-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/settings/app" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/settings/app" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/settings/app'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/settings/app' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-settings--key-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "name": "JobClass", "slogan": "Job Board Web Application", "dark_theme_enabled": "1", "system_theme_enabled": "1", "logo": "app/default/logo.png", "favicon": "app/default/ico/favicon.png", "logo_dark": "app/default/logo-dark.png", "logo_light": "app/default/logo-light.png", "date_format": "YYYY-MM-DD", "datetime_format": "YYYY-MM-DD HH:mm", "date_from_now_modifier": "DIFF_RELATIVE_TO_NOW", "vector_charts_type": "morris_bar", "vector_charts_limit": "7", "show_countries_charts": "1", "countries_charts_limit": "5", "latest_entries_limit": "10", "general_settings_as_submenu_in_sidebar": "1", "logo_url": "https://jobclass.laraclassifier.local/storage/app/default/logo.png", "logo_dark_url": "https://jobclass.laraclassifier.local/storage/app/default/logo-dark.png", "logo_light_url": "https://jobclass.laraclassifier.local/storage/app/default/logo-light.png", "favicon_url": "https://jobclass.laraclassifier.local/storage/app/default/ico/favicon.png" } }</code> </pre> </span> <span id="execution-results-GETapi-settings--key-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-settings--key-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-settings--key-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-settings--key-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-settings--key-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-settings--key-" data-method="GET" data-path="api/settings/{key}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-settings--key-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-settings--key-" onclick="tryItOut('GETapi-settings--key-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-settings--key-" onclick="cancelTryOut('GETapi-settings--key-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-settings--key-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/settings/{key}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-settings--key-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-settings--key-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-settings--key-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-settings--key-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-settings--key-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>key</code></b> <small>string</small> <input type="text" style="display: none" name="key" data-endpoint="GETapi-settings--key-" value="app" data-component="url"> <br> <p>The settings key. Example: <code>app</code></p> </div> </form> <h1 id="social-auth">Social Auth</h1> <h2 id="social-auth-GETapi-auth--provider-">Get target URL</h2> <p> </p> <span id="example-requests-GETapi-auth--provider-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/auth/" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/auth/" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/auth/'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/auth/' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-auth--provider-"> <blockquote> <p>Example response (404):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">cache-control: no-cache, private content-type: application/json vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "API endpoint not found." }</code> </pre> </span> <span id="execution-results-GETapi-auth--provider-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-auth--provider-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-auth--provider-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-auth--provider-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-auth--provider-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-auth--provider-" data-method="GET" data-path="api/auth/{provider}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-auth--provider-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-auth--provider-" onclick="tryItOut('GETapi-auth--provider-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-auth--provider-" onclick="cancelTryOut('GETapi-auth--provider-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-auth--provider-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/auth/{provider}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-auth--provider-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-auth--provider-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-auth--provider-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-auth--provider-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-auth--provider-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>provider</code></b> <small>string</small> <input type="text" style="display: none" name="provider" data-endpoint="GETapi-auth--provider-" value="" data-component="url"> <br> <p>The provider's name - Possible values: facebook, linkedin, or google.</p> </div> </form> <h2 id="social-auth-GETapi-auth--provider--callback">Get user info</h2> <p> </p> <span id="example-requests-GETapi-auth--provider--callback"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/auth//callback" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/auth//callback" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/auth//callback'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/auth//callback' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-auth--provider--callback"> <blockquote> <p>Example response (404):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">cache-control: no-cache, private content-type: application/json vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "API endpoint not found." }</code> </pre> </span> <span id="execution-results-GETapi-auth--provider--callback" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-auth--provider--callback"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-auth--provider--callback" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-auth--provider--callback" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-auth--provider--callback"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-auth--provider--callback" data-method="GET" data-path="api/auth/{provider}/callback" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-auth--provider--callback', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-auth--provider--callback" onclick="tryItOut('GETapi-auth--provider--callback');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-auth--provider--callback" onclick="cancelTryOut('GETapi-auth--provider--callback');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-auth--provider--callback" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/auth/{provider}/callback</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-auth--provider--callback" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-auth--provider--callback" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-auth--provider--callback" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-auth--provider--callback" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-auth--provider--callback" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>provider</code></b> <small>string</small> <input type="text" style="display: none" name="provider" data-endpoint="GETapi-auth--provider--callback" value="" data-component="url"> <br> <p>The provider's name - Possible values: facebook, linkedin, or google.</p> </div> </form> <h1 id="threads">Threads</h1> <h2 id="threads-POSTapi-threads">Store thread</h2> <p> </p> <p>Start a conversation. Creation of a new thread.</p> <span id="example-requests-POSTapi-threads"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/threads" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: multipart/form-data" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --form "name=John Doe"\ --form "auth_field=email"\ --form "email=john.doe@domain.tld"\ --form "phone=velit"\ --form "phone_country="\ --form "body=Modi temporibus voluptas expedita voluptatibus voluptas veniam."\ --form "post_id=2"\ --form "resume[file_path]=ebgcngzuudnpdrkuq"\ --form "captcha_key=tenetur"\ --form "file_path=@/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpBV0Owv" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/threads" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "multipart/form-data", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; const body = new FormData(); body.append('name', 'John Doe'); body.append('auth_field', 'email'); body.append('email', 'john.doe@domain.tld'); body.append('phone', 'velit'); body.append('phone_country', ''); body.append('body', 'Modi temporibus voluptas expedita voluptatibus voluptas veniam.'); body.append('post_id', '2'); body.append('resume[file_path]', 'ebgcngzuudnpdrkuq'); body.append('captcha_key', 'tenetur'); body.append('file_path', document.querySelector('input[name="file_path"]').files[0]); fetch(url, { method: "POST", headers, body, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/threads'; $response = $client->post( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'multipart/form-data', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'multipart' => [ [ 'name' => 'name', 'contents' => 'John Doe' ], [ 'name' => 'auth_field', 'contents' => 'email' ], [ 'name' => 'email', 'contents' => 'john.doe@domain.tld' ], [ 'name' => 'phone', 'contents' => 'velit' ], [ 'name' => 'phone_country', 'contents' => '' ], [ 'name' => 'body', 'contents' => 'Modi temporibus voluptas expedita voluptatibus voluptas veniam.' ], [ 'name' => 'post_id', 'contents' => '2' ], [ 'name' => 'resume[file_path]', 'contents' => 'ebgcngzuudnpdrkuq' ], [ 'name' => 'captcha_key', 'contents' => 'tenetur' ], [ 'name' => 'file_path', 'contents' => fopen('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpBV0Owv', 'r') ], ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/threads' files = { 'name': (None, 'John Doe'), 'auth_field': (None, 'email'), 'email': (None, 'john.doe@domain.tld'), 'phone': (None, 'velit'), 'phone_country': (None, ''), 'body': (None, 'Modi temporibus voluptas expedita voluptatibus voluptas veniam.'), 'post_id': (None, '2'), 'resume[file_path]': (None, 'ebgcngzuudnpdrkuq'), 'captcha_key': (None, 'tenetur'), 'file_path': open('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpBV0Owv', 'rb')} payload = { "name": "John Doe", "auth_field": "email", "email": "john.doe@domain.tld", "phone": "velit", "phone_country": null, "body": "Modi temporibus voluptas expedita voluptatibus voluptas veniam.", "post_id": 2, "resume": { "file_path": "ebgcngzuudnpdrkuq" }, "captcha_key": "tenetur" } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'multipart/form-data', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers, files=files) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-threads"> </span> <span id="execution-results-POSTapi-threads" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-threads"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-threads" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-threads" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-threads"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-threads" data-method="POST" data-path="api/threads" data-authed="0" data-hasfiles="1" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-threads', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-threads" onclick="tryItOut('POSTapi-threads');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-threads" onclick="cancelTryOut('POSTapi-threads');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-threads" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/threads</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" data-endpoint="POSTapi-threads" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-threads" value="multipart/form-data" data-component="header"> <br> <p>Example: <code>multipart/form-data</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-threads" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-threads" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-threads" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-threads" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>name</code></b> <small>string</small> <input type="text" style="display: none" name="name" data-endpoint="POSTapi-threads" value="John Doe" data-component="body"> <br> <p>The thread's creator name. Example: <code>John Doe</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>auth_field</code></b> <small>string</small> <input type="text" style="display: none" name="auth_field" data-endpoint="POSTapi-threads" value="email" data-component="body"> <br> <p>The user's auth field ('email' or 'phone'). Example: <code>email</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>email</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="email" data-endpoint="POSTapi-threads" value="john.doe@domain.tld" data-component="body"> <br> <p>The thread's creator email address (Required when 'auth_field' value is 'email'). Example: <code>john.doe@domain.tld</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="phone" data-endpoint="POSTapi-threads" value="velit" data-component="body"> <br> <p>The thread's creator mobile phone number (Required when 'auth_field' value is 'phone'). Example: <code>velit</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone_country</code></b> <small>string</small> <input type="text" style="display: none" name="phone_country" data-endpoint="POSTapi-threads" value="" data-component="body"> <br> <p>The user's phone number's country code (Required when the 'phone' field is filled).</p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>body</code></b> <small>string</small> <input type="text" style="display: none" name="body" data-endpoint="POSTapi-threads" value="Modi temporibus voluptas expedita voluptatibus voluptas veniam." data-component="body"> <br> <p>The name of the user. Example: <code>Modi temporibus voluptas expedita voluptatibus voluptas veniam.</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>post_id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="post_id" data-endpoint="POSTapi-threads" value="2" data-component="body"> <br> <p>The related post ID. Example: <code>2</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <details> <summary style="padding-bottom: 10px;"> <b style="line-height: 2;"><code>resume</code></b> <small>object</small> <i>optional</i> <br> </summary> <div style="margin-left: 14px; clear: unset;"> <b style="line-height: 2;"><code>file_path</code></b> <small>string</small> <input type="text" style="display: none" name="resume.file_path" data-endpoint="POSTapi-threads" value="ebgcngzuudnpdrkuq" data-component="body"> <br> <p>Must be at least 0 characters. Must not be greater than 1500 characters. Example: <code>ebgcngzuudnpdrkuq</code></p> </div> </details> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>file_path</code></b> <small>file</small> <i>optional</i> <input type="file" style="display: none" name="file_path" data-endpoint="POSTapi-threads" value="" data-component="body"> <br> <p>The thread attached file. Example: <code>/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpBV0Owv</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>captcha_key</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="captcha_key" data-endpoint="POSTapi-threads" value="tenetur" data-component="body"> <br> <p>Key generated by the CAPTCHA endpoint calling (Required when the CAPTCHA verification is enabled from the Admin panel). Example: <code>tenetur</code></p> </div> </form> <h2 id="threads-GETapi-threads">List threads</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <p>Get all logged user's threads Filters:</p> <ul> <li>unread: Get the logged user's unread threads</li> <li>started: Get the logged user's started threads</li> <li>important: Get the logged user's make as important threads</li> </ul> <span id="example-requests-GETapi-threads"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/threads?filter=unread&embed=&perPage=2" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/threads" ); const params = { "filter": "unread", "embed": "", "perPage": "2", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/threads'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'filter' => 'unread', 'embed' => '', 'perPage' => '2', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/threads' params = { 'filter': 'unread', 'embed': '', 'perPage': '2', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-threads"> <blockquote> <p>Example response (401):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Unauthenticated or Token Expired, Please Login.", "result": null, "error": "Unauthenticated or Token Expired, Please Login." }</code> </pre> </span> <span id="execution-results-GETapi-threads" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-threads"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-threads" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-threads" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-threads"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-threads" data-method="GET" data-path="api/threads" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-threads', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-threads" onclick="tryItOut('GETapi-threads');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-threads" onclick="cancelTryOut('GETapi-threads');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-threads" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/threads</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-threads" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-threads" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-threads" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-threads" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-threads" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-threads" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>filter</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="filter" data-endpoint="GETapi-threads" value="unread" data-component="query"> <br> <p>Filter for the list - Possible value: unread, started or important. Example: <code>unread</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-threads" value="" data-component="query"> <br> <p>Comma-separated list of the post relationships for Eager Loading - Possible values: post.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-threads" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> </form> <h2 id="threads-GETapi-threads--id-">Get thread</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <p>Get a thread (owned by the logged user) details</p> <span id="example-requests-GETapi-threads--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/threads/2?embed=" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/threads/2" ); const params = { "embed": "", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/threads/2'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/threads/2' params = { 'embed': '', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-threads--id-"> <blockquote> <p>Example response (401):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Unauthenticated or Token Expired, Please Login.", "result": null, "error": "Unauthenticated or Token Expired, Please Login." }</code> </pre> </span> <span id="execution-results-GETapi-threads--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-threads--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-threads--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-threads--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-threads--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-threads--id-" data-method="GET" data-path="api/threads/{id}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-threads--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-threads--id-" onclick="tryItOut('GETapi-threads--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-threads--id-" onclick="cancelTryOut('GETapi-threads--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-threads--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/threads/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-threads--id-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-threads--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-threads--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-threads--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-threads--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-threads--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-threads--id-" value="2" data-component="url"> <br> <p>The thread ID. Example: <code>2</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-threads--id-" value="" data-component="query"> <br> <p>Comma-separated list of the post relationships for Eager Loading - Possible values: user,post,messages,participants.</p> </div> </form> <h2 id="threads-PUTapi-threads--id-">Update thread</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-PUTapi-threads--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request PUT \ "https://jobclass.laraclassifier.local/api/threads/111111" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: multipart/form-data" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --form "body=Modi temporibus voluptas expedita voluptatibus voluptas veniam."\ --form "file_path=@/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpmPf387" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/threads/111111" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "multipart/form-data", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; const body = new FormData(); body.append('body', 'Modi temporibus voluptas expedita voluptatibus voluptas veniam.'); body.append('file_path', document.querySelector('input[name="file_path"]').files[0]); fetch(url, { method: "PUT", headers, body, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/threads/111111'; $response = $client->put( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'multipart/form-data', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'multipart' => [ [ 'name' => 'body', 'contents' => 'Modi temporibus voluptas expedita voluptatibus voluptas veniam.' ], [ 'name' => 'file_path', 'contents' => fopen('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpmPf387', 'r') ], ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/threads/111111' files = { 'body': (None, 'Modi temporibus voluptas expedita voluptatibus voluptas veniam.'), 'file_path': open('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpmPf387', 'rb')} payload = { "body": "Modi temporibus voluptas expedita voluptatibus voluptas veniam." } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'multipart/form-data', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('PUT', url, headers=headers, files=files) response.json()</code></pre></div> </span> <span id="example-responses-PUTapi-threads--id-"> </span> <span id="execution-results-PUTapi-threads--id-" hidden> <blockquote>Received response<span id="execution-response-status-PUTapi-threads--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-PUTapi-threads--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-PUTapi-threads--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-PUTapi-threads--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-PUTapi-threads--id-" data-method="PUT" data-path="api/threads/{id}" data-authed="1" data-hasfiles="1" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('PUTapi-threads--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-PUTapi-threads--id-" onclick="tryItOut('PUTapi-threads--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-PUTapi-threads--id-" onclick="cancelTryOut('PUTapi-threads--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-PUTapi-threads--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-darkblue">PUT</small> <b><code>api/threads/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="PUTapi-threads--id-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="PUTapi-threads--id-" value="multipart/form-data" data-component="header"> <br> <p>Example: <code>multipart/form-data</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="PUTapi-threads--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="PUTapi-threads--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="PUTapi-threads--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="PUTapi-threads--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="PUTapi-threads--id-" value="111111" data-component="url"> <br> <p>The thread's ID. Example: <code>111111</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>body</code></b> <small>string</small> <input type="text" style="display: none" name="body" data-endpoint="PUTapi-threads--id-" value="Modi temporibus voluptas expedita voluptatibus voluptas veniam." data-component="body"> <br> <p>The name of the user. Example: <code>Modi temporibus voluptas expedita voluptatibus voluptas veniam.</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>file_path</code></b> <small>file</small> <i>optional</i> <input type="file" style="display: none" name="file_path" data-endpoint="PUTapi-threads--id-" value="" data-component="body"> <br> <p>The thread attached file. Example: <code>/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpmPf387</code></p> </div> </form> <h2 id="threads-DELETEapi-threads--ids-">Delete thread(s)</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-DELETEapi-threads--ids-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request DELETE \ "https://jobclass.laraclassifier.local/api/threads/111111,222222,333333" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/threads/111111,222222,333333" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "DELETE", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/threads/111111,222222,333333'; $response = $client->delete( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/threads/111111,222222,333333' headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('DELETE', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-DELETEapi-threads--ids-"> </span> <span id="execution-results-DELETEapi-threads--ids-" hidden> <blockquote>Received response<span id="execution-response-status-DELETEapi-threads--ids-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-DELETEapi-threads--ids-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-DELETEapi-threads--ids-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-DELETEapi-threads--ids-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-DELETEapi-threads--ids-" data-method="DELETE" data-path="api/threads/{ids}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('DELETEapi-threads--ids-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-DELETEapi-threads--ids-" onclick="tryItOut('DELETEapi-threads--ids-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-DELETEapi-threads--ids-" onclick="cancelTryOut('DELETEapi-threads--ids-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-DELETEapi-threads--ids-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-red">DELETE</small> <b><code>api/threads/{ids}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="DELETEapi-threads--ids-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="DELETEapi-threads--ids-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="DELETEapi-threads--ids-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="DELETEapi-threads--ids-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="DELETEapi-threads--ids-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="DELETEapi-threads--ids-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>ids</code></b> <small>string</small> <input type="text" style="display: none" name="ids" data-endpoint="DELETEapi-threads--ids-" value="111111,222222,333333" data-component="url"> <br> <p>The ID or comma-separated IDs list of thread(s). Example: <code>111111,222222,333333</code></p> </div> </form> <h2 id="threads-POSTapi-threads-bulkUpdate--ids--">Bulk updates</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-POSTapi-threads-bulkUpdate--ids--"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/threads/bulkUpdate/111111,222222,333333?type=sapiente" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/threads/bulkUpdate/111111,222222,333333" ); const params = { "type": "sapiente", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "POST", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/threads/bulkUpdate/111111,222222,333333'; $response = $client->post( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'type' => 'sapiente', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/threads/bulkUpdate/111111,222222,333333' params = { 'type': 'sapiente', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-threads-bulkUpdate--ids--"> </span> <span id="execution-results-POSTapi-threads-bulkUpdate--ids--" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-threads-bulkUpdate--ids--"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-threads-bulkUpdate--ids--" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-threads-bulkUpdate--ids--" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-threads-bulkUpdate--ids--"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-threads-bulkUpdate--ids--" data-method="POST" data-path="api/threads/bulkUpdate/{ids?}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-threads-bulkUpdate--ids--', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-threads-bulkUpdate--ids--" onclick="tryItOut('POSTapi-threads-bulkUpdate--ids--');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-threads-bulkUpdate--ids--" onclick="cancelTryOut('POSTapi-threads-bulkUpdate--ids--');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-threads-bulkUpdate--ids--" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/threads/bulkUpdate/{ids?}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="POSTapi-threads-bulkUpdate--ids--" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-threads-bulkUpdate--ids--" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-threads-bulkUpdate--ids--" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-threads-bulkUpdate--ids--" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-threads-bulkUpdate--ids--" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-threads-bulkUpdate--ids--" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>ids</code></b> <small>string</small> <input type="text" style="display: none" name="ids" data-endpoint="POSTapi-threads-bulkUpdate--ids--" value="111111,222222,333333" data-component="url"> <br> <p>The ID or comma-separated IDs list of thread(s). Example: <code>111111,222222,333333</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>type</code></b> <small>string</small> <input type="text" style="display: none" name="type" data-endpoint="POSTapi-threads-bulkUpdate--ids--" value="sapiente" data-component="query"> <br> <p>The type of action to execute (markAsRead, markAsUnread, markAsImportant, markAsNotImportant or markAllAsRead). Example: <code>sapiente</code></p> </div> </form> <h2 id="threads-GETapi-threads--threadId--messages">List messages</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <p>Get all thread's messages</p> <span id="example-requests-GETapi-threads--threadId--messages"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/threads/293/messages?embed=&sort=created_at&perPage=2" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/threads/293/messages" ); const params = { "embed": "", "sort": "created_at", "perPage": "2", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/threads/293/messages'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', 'sort' => 'created_at', 'perPage' => '2', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/threads/293/messages' params = { 'embed': '', 'sort': 'created_at', 'perPage': '2', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-threads--threadId--messages"> <blockquote> <p>Example response (401):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Unauthenticated or Token Expired, Please Login.", "result": null, "error": "Unauthenticated or Token Expired, Please Login." }</code> </pre> </span> <span id="execution-results-GETapi-threads--threadId--messages" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-threads--threadId--messages"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-threads--threadId--messages" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-threads--threadId--messages" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-threads--threadId--messages"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-threads--threadId--messages" data-method="GET" data-path="api/threads/{threadId}/messages" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-threads--threadId--messages', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-threads--threadId--messages" onclick="tryItOut('GETapi-threads--threadId--messages');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-threads--threadId--messages" onclick="cancelTryOut('GETapi-threads--threadId--messages');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-threads--threadId--messages" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/threads/{threadId}/messages</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-threads--threadId--messages" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-threads--threadId--messages" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-threads--threadId--messages" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-threads--threadId--messages" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-threads--threadId--messages" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-threads--threadId--messages" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>threadId</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="threadId" data-endpoint="GETapi-threads--threadId--messages" value="293" data-component="url"> <br> <p>The thread's ID. Example: <code>293</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-threads--threadId--messages" value="" data-component="query"> <br> <p>Comma-separated list of the post relationships for Eager Loading - Possible values: user.</p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>sort</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="sort" data-endpoint="GETapi-threads--threadId--messages" value="created_at" data-component="query"> <br> <p>The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: created_at. Example: <code>created_at</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>perPage</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="perPage" data-endpoint="GETapi-threads--threadId--messages" value="2" data-component="query"> <br> <p>Items per page. Can be defined globally from the admin settings. Cannot be exceeded 100. Example: <code>2</code></p> </div> </form> <h2 id="threads-GETapi-threads--threadId--messages--id-">Get message</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <p>Get a thread's message (owned by the logged user) details</p> <span id="example-requests-GETapi-threads--threadId--messages--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/threads/293/messages/3545?embed=" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/threads/293/messages/3545" ); const params = { "embed": "", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/threads/293/messages/3545'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/threads/293/messages/3545' params = { 'embed': '', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-threads--threadId--messages--id-"> <blockquote> <p>Example response (401):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Unauthenticated or Token Expired, Please Login.", "result": null, "error": "Unauthenticated or Token Expired, Please Login." }</code> </pre> </span> <span id="execution-results-GETapi-threads--threadId--messages--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-threads--threadId--messages--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-threads--threadId--messages--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-threads--threadId--messages--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-threads--threadId--messages--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-threads--threadId--messages--id-" data-method="GET" data-path="api/threads/{threadId}/messages/{id}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-threads--threadId--messages--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-threads--threadId--messages--id-" onclick="tryItOut('GETapi-threads--threadId--messages--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-threads--threadId--messages--id-" onclick="cancelTryOut('GETapi-threads--threadId--messages--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-threads--threadId--messages--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/threads/{threadId}/messages/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-threads--threadId--messages--id-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-threads--threadId--messages--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-threads--threadId--messages--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-threads--threadId--messages--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-threads--threadId--messages--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-threads--threadId--messages--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>threadId</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="threadId" data-endpoint="GETapi-threads--threadId--messages--id-" value="293" data-component="url"> <br> <p>The thread's ID. Example: <code>293</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-threads--threadId--messages--id-" value="3545" data-component="url"> <br> <p>The thread's message's ID. Example: <code>3545</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-threads--threadId--messages--id-" value="" data-component="query"> <br> <p>Comma-separated list of the post relationships for Eager Loading - Possible values: thread,user.</p> </div> </form> <h1 id="users">Users</h1> <h2 id="users-GETapi-genders">List genders</h2> <p> </p> <span id="example-requests-GETapi-genders"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/genders" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/genders" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/genders'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/genders' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-genders"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "2": { "id": 2, "name": "FEMALE", "label": "Female", "title": "Mrs" }, "1": { "id": 1, "name": "MALE", "label": "Male", "title": "Mr." } } }</code> </pre> </span> <span id="execution-results-GETapi-genders" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-genders"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-genders" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-genders" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-genders"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-genders" data-method="GET" data-path="api/genders" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-genders', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-genders" onclick="tryItOut('GETapi-genders');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-genders" onclick="cancelTryOut('GETapi-genders');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-genders" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/genders</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-genders" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-genders" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-genders" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-genders" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-genders" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> </form> <h2 id="users-GETapi-genders--id-">Get gender</h2> <p> </p> <span id="example-requests-GETapi-genders--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/genders/1" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/genders/1" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/genders/1'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/genders/1' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-genders--id-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "id": 1, "name": "MALE", "label": "Male", "title": "Mr." } }</code> </pre> </span> <span id="execution-results-GETapi-genders--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-genders--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-genders--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-genders--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-genders--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-genders--id-" data-method="GET" data-path="api/genders/{id}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-genders--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-genders--id-" onclick="tryItOut('GETapi-genders--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-genders--id-" onclick="cancelTryOut('GETapi-genders--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-genders--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/genders/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-genders--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-genders--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-genders--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-genders--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-genders--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-genders--id-" value="1" data-component="url"> <br> <p>The gender's ID. Example: <code>1</code></p> </div> </form> <h2 id="users-GETapi-userTypes">List user types</h2> <p> </p> <span id="example-requests-GETapi-userTypes"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/userTypes" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/userTypes" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/userTypes'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/userTypes' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-userTypes"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": "No user types found", "result": { "1": { "id": 1, "name": "EMPLOYER", "label": "Employer" }, "2": { "id": 2, "name": "JOB_SEEKER", "label": "Job seeker" } } }</code> </pre> </span> <span id="execution-results-GETapi-userTypes" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-userTypes"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-userTypes" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-userTypes" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-userTypes"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-userTypes" data-method="GET" data-path="api/userTypes" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-userTypes', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-userTypes" onclick="tryItOut('GETapi-userTypes');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-userTypes" onclick="cancelTryOut('GETapi-userTypes');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-userTypes" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/userTypes</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-userTypes" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-userTypes" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-userTypes" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-userTypes" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-userTypes" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> </form> <h2 id="users-GETapi-userTypes--id-">Get user type</h2> <p> </p> <span id="example-requests-GETapi-userTypes--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/userTypes/1" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/userTypes/1" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/userTypes/1'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/userTypes/1' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-userTypes--id-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "id": 1, "name": "EMPLOYER", "label": "Employer" } }</code> </pre> </span> <span id="execution-results-GETapi-userTypes--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-userTypes--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-userTypes--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-userTypes--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-userTypes--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-userTypes--id-" data-method="GET" data-path="api/userTypes/{id}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-userTypes--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-userTypes--id-" onclick="tryItOut('GETapi-userTypes--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-userTypes--id-" onclick="cancelTryOut('GETapi-userTypes--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-userTypes--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/userTypes/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-userTypes--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-userTypes--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-userTypes--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-userTypes--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-userTypes--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-userTypes--id-" value="1" data-component="url"> <br> <p>The user type's ID. Example: <code>1</code></p> </div> </form> <h2 id="users-GETapi-users">List users</h2> <p> </p> <span id="example-requests-GETapi-users"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/users" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/users" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/users'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/users' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-users"> <blockquote> <p>Example response (403):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Forbidden", "result": null }</code> </pre> </span> <span id="execution-results-GETapi-users" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-users"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-users" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-users" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-users"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-users" data-method="GET" data-path="api/users" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-users', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-users" onclick="tryItOut('GETapi-users');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-users" onclick="cancelTryOut('GETapi-users');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-users" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/users</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-users" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-users" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-users" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-users" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-users" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> </form> <h2 id="users-GETapi-users--id-">Get user</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-GETapi-users--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/users/3?embed=" \ --header "Authorization: Bearer {YOUR_AUTH_KEY}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/users/3" ); const params = { "embed": "", }; Object.keys(params) .forEach(key => url.searchParams.append(key, params[key])); const headers = { "Authorization": "Bearer {YOUR_AUTH_KEY}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/users/3'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_KEY}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'query' => [ 'embed' => '', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/users/3' params = { 'embed': '', } headers = { 'Authorization': 'Bearer {YOUR_AUTH_KEY}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers, params=params) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-users--id-"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": true, "message": null, "result": { "id": 3, "name": "Company Demo", "username": "democompany", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2024-11-09T13:16:13.000000Z", "original_updated_at": "2024-11-09 13:16:13", "original_last_activity": null, "created_at_formatted": "Oct 13th, 2024 at 00:28", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/3/thumbnails/800x800-34a23fca2c8025c1b78e15d41e2617df.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" } }</code> </pre> </span> <span id="execution-results-GETapi-users--id-" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-users--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-users--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-users--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-users--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-users--id-" data-method="GET" data-path="api/users/{id}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-users--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-users--id-" onclick="tryItOut('GETapi-users--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-users--id-" onclick="cancelTryOut('GETapi-users--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-users--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/users/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-users--id-" value="Bearer {YOUR_AUTH_KEY}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_KEY}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-users--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-users--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-users--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-users--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-users--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-users--id-" value="3" data-component="url"> <br> <p>The user's ID. Example: <code>3</code></p> </div> <h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>embed</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="embed" data-endpoint="GETapi-users--id-" value="" data-component="query"> <br> <p>Comma-separated list of the post relationships for Eager Loading - Possible values: country,userType,gender,countPostsViews,countPosts,countSavedPosts.</p> </div> </form> <h2 id="users-POSTapi-users">Store user</h2> <p> </p> <span id="example-requests-POSTapi-users"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request POST \ "https://jobclass.laraclassifier.local/api/users" \ --header "Content-Type: multipart/form-data" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --form "name=John Doe"\ --form "user_type_id=1"\ --form "country_code=US"\ --form "auth_field=email"\ --form "phone=+17656766467"\ --form "phone_country="\ --form "password=js!X07$z61hLA"\ --form "accept_terms=1"\ --form "email=john.doe@domain.tld"\ --form "language_code=en"\ --form "gender_id=1"\ --form "phone_hidden="\ --form "username=john_doe"\ --form "password_confirmation=js!X07$z61hLA"\ --form "disable_comments=1"\ --form "create_from_ip=127.0.0.1"\ --form "accept_marketing_offers="\ --form "time_zone=America/New_York"\ --form "captcha_key=repellendus"\ --form "photo_path=@/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/php5URbFh" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/users" ); const headers = { "Content-Type": "multipart/form-data", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; const body = new FormData(); body.append('name', 'John Doe'); body.append('user_type_id', '1'); body.append('country_code', 'US'); body.append('auth_field', 'email'); body.append('phone', '+17656766467'); body.append('phone_country', ''); body.append('password', 'js!X07$z61hLA'); body.append('accept_terms', '1'); body.append('email', 'john.doe@domain.tld'); body.append('language_code', 'en'); body.append('gender_id', '1'); body.append('phone_hidden', ''); body.append('username', 'john_doe'); body.append('password_confirmation', 'js!X07$z61hLA'); body.append('disable_comments', '1'); body.append('create_from_ip', '127.0.0.1'); body.append('accept_marketing_offers', ''); body.append('time_zone', 'America/New_York'); body.append('captcha_key', 'repellendus'); body.append('photo_path', document.querySelector('input[name="photo_path"]').files[0]); fetch(url, { method: "POST", headers, body, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/users'; $response = $client->post( $url, [ 'headers' => [ 'Content-Type' => 'multipart/form-data', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'multipart' => [ [ 'name' => 'name', 'contents' => 'John Doe' ], [ 'name' => 'user_type_id', 'contents' => '1' ], [ 'name' => 'country_code', 'contents' => 'US' ], [ 'name' => 'auth_field', 'contents' => 'email' ], [ 'name' => 'phone', 'contents' => '+17656766467' ], [ 'name' => 'phone_country', 'contents' => '' ], [ 'name' => 'password', 'contents' => 'js!X07$z61hLA' ], [ 'name' => 'accept_terms', 'contents' => '1' ], [ 'name' => 'email', 'contents' => 'john.doe@domain.tld' ], [ 'name' => 'language_code', 'contents' => 'en' ], [ 'name' => 'gender_id', 'contents' => '1' ], [ 'name' => 'phone_hidden', 'contents' => '' ], [ 'name' => 'username', 'contents' => 'john_doe' ], [ 'name' => 'password_confirmation', 'contents' => 'js!X07$z61hLA' ], [ 'name' => 'disable_comments', 'contents' => '1' ], [ 'name' => 'create_from_ip', 'contents' => '127.0.0.1' ], [ 'name' => 'accept_marketing_offers', 'contents' => '' ], [ 'name' => 'time_zone', 'contents' => 'America/New_York' ], [ 'name' => 'captcha_key', 'contents' => 'repellendus' ], [ 'name' => 'photo_path', 'contents' => fopen('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/php5URbFh', 'r') ], ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/users' files = { 'name': (None, 'John Doe'), 'user_type_id': (None, '1'), 'country_code': (None, 'US'), 'auth_field': (None, 'email'), 'phone': (None, '+17656766467'), 'phone_country': (None, ''), 'password': (None, 'js!X07$z61hLA'), 'accept_terms': (None, '1'), 'email': (None, 'john.doe@domain.tld'), 'language_code': (None, 'en'), 'gender_id': (None, '1'), 'phone_hidden': (None, ''), 'username': (None, 'john_doe'), 'password_confirmation': (None, 'js!X07$z61hLA'), 'disable_comments': (None, '1'), 'create_from_ip': (None, '127.0.0.1'), 'accept_marketing_offers': (None, ''), 'time_zone': (None, 'America/New_York'), 'captcha_key': (None, 'repellendus'), 'photo_path': open('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/php5URbFh', 'rb')} payload = { "name": "John Doe", "user_type_id": 1, "country_code": "US", "auth_field": "email", "phone": "+17656766467", "phone_country": null, "password": "js!X07$z61hLA", "accept_terms": true, "email": "john.doe@domain.tld", "language_code": "en", "gender_id": 1, "phone_hidden": false, "username": "john_doe", "password_confirmation": "js!X07$z61hLA", "disable_comments": true, "create_from_ip": "127.0.0.1", "accept_marketing_offers": false, "time_zone": "America\/New_York", "captcha_key": "repellendus" } headers = { 'Content-Type': 'multipart/form-data', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('POST', url, headers=headers, files=files) response.json()</code></pre></div> </span> <span id="example-responses-POSTapi-users"> </span> <span id="execution-results-POSTapi-users" hidden> <blockquote>Received response<span id="execution-response-status-POSTapi-users"></span>: </blockquote> <pre class="json"><code id="execution-response-content-POSTapi-users" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-POSTapi-users" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-POSTapi-users"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-POSTapi-users" data-method="POST" data-path="api/users" data-authed="0" data-hasfiles="1" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('POSTapi-users', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTapi-users" onclick="tryItOut('POSTapi-users');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTapi-users" onclick="cancelTryOut('POSTapi-users');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTapi-users" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-black">POST</small> <b><code>api/users</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="POSTapi-users" value="multipart/form-data" data-component="header"> <br> <p>Example: <code>multipart/form-data</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="POSTapi-users" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="POSTapi-users" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="POSTapi-users" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="POSTapi-users" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>name</code></b> <small>string</small> <input type="text" style="display: none" name="name" data-endpoint="POSTapi-users" value="John Doe" data-component="body"> <br> <p>The name of the user. Example: <code>John Doe</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>user_type_id</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="user_type_id" data-endpoint="POSTapi-users" value="1" data-component="body"> <br> <p>The ID of user type. Example: <code>1</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>country_code</code></b> <small>string</small> <input type="text" style="display: none" name="country_code" data-endpoint="POSTapi-users" value="US" data-component="body"> <br> <p>The code of the user's country. Example: <code>US</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>auth_field</code></b> <small>string</small> <input type="text" style="display: none" name="auth_field" data-endpoint="POSTapi-users" value="email" data-component="body"> <br> <p>The user's auth field ('email' or 'phone'). Example: <code>email</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="phone" data-endpoint="POSTapi-users" value="+17656766467" data-component="body"> <br> <p>The mobile phone number of the user (Required when 'auth_field' value is 'phone'). Example: <code>+17656766467</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone_country</code></b> <small>string</small> <input type="text" style="display: none" name="phone_country" data-endpoint="POSTapi-users" value="" data-component="body"> <br> <p>The user's phone number's country code (Required when the 'phone' field is filled).</p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>password</code></b> <small>string</small> <input type="text" style="display: none" name="password" data-endpoint="POSTapi-users" value="js!X07$z61hLA" data-component="body"> <br> <p>The user's password. Example: <code>js!X07$z61hLA</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>accept_terms</code></b> <small>boolean</small> <label data-endpoint="POSTapi-users" style="display: none"> <input type="radio" name="accept_terms" value="true" data-endpoint="POSTapi-users" data-component="body" > <code>true</code> </label> <label data-endpoint="POSTapi-users" style="display: none"> <input type="radio" name="accept_terms" value="false" data-endpoint="POSTapi-users" data-component="body" > <code>false</code> </label> <br> <p>Field to allow user to accept or not the website terms. Example: <code>true</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>email</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="email" data-endpoint="POSTapi-users" value="john.doe@domain.tld" data-component="body"> <br> <p>The user's email address (Required when 'auth_field' value is 'email'). Example: <code>john.doe@domain.tld</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>language_code</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="language_code" data-endpoint="POSTapi-users" value="en" data-component="body"> <br> <p>The code of the user's spoken language. Example: <code>en</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>gender_id</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="gender_id" data-endpoint="POSTapi-users" value="1" data-component="body"> <br> <p>The ID of gender. Example: <code>1</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>photo_path</code></b> <small>file</small> <i>optional</i> <input type="file" style="display: none" name="photo_path" data-endpoint="POSTapi-users" value="" data-component="body"> <br> <p>The file of user photo. Example: <code>/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/php5URbFh</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone_hidden</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="POSTapi-users" style="display: none"> <input type="radio" name="phone_hidden" value="true" data-endpoint="POSTapi-users" data-component="body" > <code>true</code> </label> <label data-endpoint="POSTapi-users" style="display: none"> <input type="radio" name="phone_hidden" value="false" data-endpoint="POSTapi-users" data-component="body" > <code>false</code> </label> <br> <p>Field to hide or show the user phone number in public. Example: <code>false</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>username</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="username" data-endpoint="POSTapi-users" value="john_doe" data-component="body"> <br> <p>The user's username. Example: <code>john_doe</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>password_confirmation</code></b> <small>string</small> <input type="text" style="display: none" name="password_confirmation" data-endpoint="POSTapi-users" value="js!X07$z61hLA" data-component="body"> <br> <p>The confirmation of the user's password. Example: <code>js!X07$z61hLA</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>disable_comments</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="POSTapi-users" style="display: none"> <input type="radio" name="disable_comments" value="true" data-endpoint="POSTapi-users" data-component="body" > <code>true</code> </label> <label data-endpoint="POSTapi-users" style="display: none"> <input type="radio" name="disable_comments" value="false" data-endpoint="POSTapi-users" data-component="body" > <code>false</code> </label> <br> <p>Field to disable or enable comments on the user's posts. Example: <code>true</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>create_from_ip</code></b> <small>string</small> <input type="text" style="display: none" name="create_from_ip" data-endpoint="POSTapi-users" value="127.0.0.1" data-component="body"> <br> <p>The user's IP address. Example: <code>127.0.0.1</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>accept_marketing_offers</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="POSTapi-users" style="display: none"> <input type="radio" name="accept_marketing_offers" value="true" data-endpoint="POSTapi-users" data-component="body" > <code>true</code> </label> <label data-endpoint="POSTapi-users" style="display: none"> <input type="radio" name="accept_marketing_offers" value="false" data-endpoint="POSTapi-users" data-component="body" > <code>false</code> </label> <br> <p>Field to allow user to accept or not marketing offers sending. Example: <code>false</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>time_zone</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="time_zone" data-endpoint="POSTapi-users" value="America/New_York" data-component="body"> <br> <p>The user's time zone. Example: <code>America/New_York</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>captcha_key</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="captcha_key" data-endpoint="POSTapi-users" value="repellendus" data-component="body"> <br> <p>Key generated by the CAPTCHA endpoint calling (Required when the CAPTCHA verification is enabled from the Admin panel). Example: <code>repellendus</code></p> </div> </form> <h2 id="users-GETapi-users--id--stats">User's mini stats</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-GETapi-users--id--stats"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/users/3/stats" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/users/3/stats" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/users/3/stats'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/users/3/stats' headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-users--id--stats"> <blockquote> <p>Example response (401):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Unauthenticated or Token Expired, Please Login.", "result": null, "error": "Unauthenticated or Token Expired, Please Login." }</code> </pre> </span> <span id="execution-results-GETapi-users--id--stats" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-users--id--stats"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-users--id--stats" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-users--id--stats" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-users--id--stats"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-users--id--stats" data-method="GET" data-path="api/users/{id}/stats" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-users--id--stats', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-users--id--stats" onclick="tryItOut('GETapi-users--id--stats');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-users--id--stats" onclick="cancelTryOut('GETapi-users--id--stats');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-users--id--stats" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/users/{id}/stats</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-users--id--stats" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-users--id--stats" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-users--id--stats" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-users--id--stats" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-users--id--stats" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-users--id--stats" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-users--id--stats" value="3" data-component="url"> <br> <p>The user's ID. Example: <code>3</code></p> </div> </form> <h2 id="users-GETapi-users--id--photo-delete">Delete user's photo</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-GETapi-users--id--photo-delete"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/users/1/photo/delete" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/users/1/photo/delete" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/users/1/photo/delete'; $response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/users/1/photo/delete' headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-users--id--photo-delete"> <blockquote> <p>Example response (401):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Unauthenticated or Token Expired, Please Login.", "result": null, "error": "Unauthenticated or Token Expired, Please Login." }</code> </pre> </span> <span id="execution-results-GETapi-users--id--photo-delete" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-users--id--photo-delete"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-users--id--photo-delete" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-users--id--photo-delete" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-users--id--photo-delete"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-users--id--photo-delete" data-method="GET" data-path="api/users/{id}/photo/delete" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-users--id--photo-delete', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-users--id--photo-delete" onclick="tryItOut('GETapi-users--id--photo-delete');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-users--id--photo-delete" onclick="cancelTryOut('GETapi-users--id--photo-delete');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-users--id--photo-delete" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/users/{id}/photo/delete</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="GETapi-users--id--photo-delete" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-users--id--photo-delete" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-users--id--photo-delete" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-users--id--photo-delete" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-users--id--photo-delete" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-users--id--photo-delete" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="GETapi-users--id--photo-delete" value="1" data-component="url"> <br> <p>The ID of the user. Example: <code>1</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>userId</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="userId" data-endpoint="GETapi-users--id--photo-delete" value="999999" data-component="url"> <br> <p>The user's ID. Example: <code>999999</code></p> </div> </form> <h2 id="users-PUTapi-users--id--photo">Update user's photo</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-PUTapi-users--id--photo"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request PUT \ "https://jobclass.laraclassifier.local/api/users/999999/photo" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: multipart/form-data" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --form "latest_update_ip=127.0.0.1"\ --form "photo_path=@/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpX0h5w9" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/users/999999/photo" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "multipart/form-data", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; const body = new FormData(); body.append('latest_update_ip', '127.0.0.1'); body.append('photo_path', document.querySelector('input[name="photo_path"]').files[0]); fetch(url, { method: "PUT", headers, body, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/users/999999/photo'; $response = $client->put( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'multipart/form-data', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'multipart' => [ [ 'name' => 'latest_update_ip', 'contents' => '127.0.0.1' ], [ 'name' => 'photo_path', 'contents' => fopen('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpX0h5w9', 'r') ], ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/users/999999/photo' files = { 'latest_update_ip': (None, '127.0.0.1'), 'photo_path': open('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpX0h5w9', 'rb')} payload = { "latest_update_ip": "127.0.0.1" } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'multipart/form-data', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('PUT', url, headers=headers, files=files) response.json()</code></pre></div> </span> <span id="example-responses-PUTapi-users--id--photo"> </span> <span id="execution-results-PUTapi-users--id--photo" hidden> <blockquote>Received response<span id="execution-response-status-PUTapi-users--id--photo"></span>: </blockquote> <pre class="json"><code id="execution-response-content-PUTapi-users--id--photo" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-PUTapi-users--id--photo" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-PUTapi-users--id--photo"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-PUTapi-users--id--photo" data-method="PUT" data-path="api/users/{id}/photo" data-authed="1" data-hasfiles="1" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('PUTapi-users--id--photo', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-PUTapi-users--id--photo" onclick="tryItOut('PUTapi-users--id--photo');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-PUTapi-users--id--photo" onclick="cancelTryOut('PUTapi-users--id--photo');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-PUTapi-users--id--photo" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-darkblue">PUT</small> <b><code>api/users/{id}/photo</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="PUTapi-users--id--photo" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="PUTapi-users--id--photo" value="multipart/form-data" data-component="header"> <br> <p>Example: <code>multipart/form-data</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="PUTapi-users--id--photo" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="PUTapi-users--id--photo" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="PUTapi-users--id--photo" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="PUTapi-users--id--photo" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="PUTapi-users--id--photo" value="999999" data-component="url"> <br> <p>The user's ID. Example: <code>999999</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>photo_path</code></b> <small>file</small> <input type="file" style="display: none" name="photo_path" data-endpoint="PUTapi-users--id--photo" value="" data-component="body"> <br> <p>Must be a file. Must be at least 0 kilobytes. Must not be greater than 1500 kilobytes. Example: <code>/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpX0h5w9</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>latest_update_ip</code></b> <small>string</small> <input type="text" style="display: none" name="latest_update_ip" data-endpoint="PUTapi-users--id--photo" value="127.0.0.1" data-component="body"> <br> <p>The user's IP address. Example: <code>127.0.0.1</code></p> </div> </form> <h2 id="users-PUTapi-users--id--save-theme-preference">Update the user's theme preference</h2> <p> </p> <span id="example-requests-PUTapi-users--id--save-theme-preference"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request PUT \ "https://jobclass.laraclassifier.local/api/users/999999/save-theme-preference" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --data "{ \"theme\": \"light, dark or system\" }" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/users/999999/save-theme-preference" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; let body = { "theme": "light, dark or system" }; fetch(url, { method: "PUT", headers, body: JSON.stringify(body), }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/users/999999/save-theme-preference'; $response = $client->put( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'json' => [ 'theme' => 'light, dark or system', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/users/999999/save-theme-preference' payload = { "theme": "light, dark or system" } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('PUT', url, headers=headers, json=payload) response.json()</code></pre></div> </span> <span id="example-responses-PUTapi-users--id--save-theme-preference"> </span> <span id="execution-results-PUTapi-users--id--save-theme-preference" hidden> <blockquote>Received response<span id="execution-response-status-PUTapi-users--id--save-theme-preference"></span>: </blockquote> <pre class="json"><code id="execution-response-content-PUTapi-users--id--save-theme-preference" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-PUTapi-users--id--save-theme-preference" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-PUTapi-users--id--save-theme-preference"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-PUTapi-users--id--save-theme-preference" data-method="PUT" data-path="api/users/{id}/save-theme-preference" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('PUTapi-users--id--save-theme-preference', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-PUTapi-users--id--save-theme-preference" onclick="tryItOut('PUTapi-users--id--save-theme-preference');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-PUTapi-users--id--save-theme-preference" onclick="cancelTryOut('PUTapi-users--id--save-theme-preference');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-PUTapi-users--id--save-theme-preference" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-darkblue">PUT</small> <b><code>api/users/{id}/save-theme-preference</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="PUTapi-users--id--save-theme-preference" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="PUTapi-users--id--save-theme-preference" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="PUTapi-users--id--save-theme-preference" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="PUTapi-users--id--save-theme-preference" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="PUTapi-users--id--save-theme-preference" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="PUTapi-users--id--save-theme-preference" value="999999" data-component="url"> <br> <p>The user's ID. Example: <code>999999</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>theme</code></b> <small>string</small> <input type="text" style="display: none" name="theme" data-endpoint="PUTapi-users--id--save-theme-preference" value="light, dark or system" data-component="body"> <br> <p>The user's theme preference value. Example: <code>light, dark or system</code></p> </div> </form> <h2 id="users-PUTapi-users--id-">Update user</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-PUTapi-users--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request PUT \ "https://jobclass.laraclassifier.local/api/users/999999" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: multipart/form-data" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs" \ --form "user_type_id=1"\ --form "country_code=US"\ --form "language_code=en"\ --form "gender_id=1"\ --form "name=John Doe"\ --form "remove_photo=0"\ --form "auth_field=email"\ --form "email=john.doe@domain.tld"\ --form "phone=+17656766467"\ --form "phone_country="\ --form "phone_hidden="\ --form "username=john_doe"\ --form "password=js!X07$z61hLA"\ --form "password_confirmation=js!X07$z61hLA"\ --form "disable_comments=1"\ --form "latest_update_ip=127.0.0.1"\ --form "accept_terms=1"\ --form "accept_marketing_offers="\ --form "time_zone=America/New_York"\ --form "photo_path=@/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpFaboHp" </code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/users/999999" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "multipart/form-data", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; const body = new FormData(); body.append('user_type_id', '1'); body.append('country_code', 'US'); body.append('language_code', 'en'); body.append('gender_id', '1'); body.append('name', 'John Doe'); body.append('remove_photo', '0'); body.append('auth_field', 'email'); body.append('email', 'john.doe@domain.tld'); body.append('phone', '+17656766467'); body.append('phone_country', ''); body.append('phone_hidden', ''); body.append('username', 'john_doe'); body.append('password', 'js!X07$z61hLA'); body.append('password_confirmation', 'js!X07$z61hLA'); body.append('disable_comments', '1'); body.append('latest_update_ip', '127.0.0.1'); body.append('accept_terms', '1'); body.append('accept_marketing_offers', ''); body.append('time_zone', 'America/New_York'); body.append('photo_path', document.querySelector('input[name="photo_path"]').files[0]); fetch(url, { method: "PUT", headers, body, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/users/999999'; $response = $client->put( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'multipart/form-data', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], 'multipart' => [ [ 'name' => 'user_type_id', 'contents' => '1' ], [ 'name' => 'country_code', 'contents' => 'US' ], [ 'name' => 'language_code', 'contents' => 'en' ], [ 'name' => 'gender_id', 'contents' => '1' ], [ 'name' => 'name', 'contents' => 'John Doe' ], [ 'name' => 'remove_photo', 'contents' => '0' ], [ 'name' => 'auth_field', 'contents' => 'email' ], [ 'name' => 'email', 'contents' => 'john.doe@domain.tld' ], [ 'name' => 'phone', 'contents' => '+17656766467' ], [ 'name' => 'phone_country', 'contents' => '' ], [ 'name' => 'phone_hidden', 'contents' => '' ], [ 'name' => 'username', 'contents' => 'john_doe' ], [ 'name' => 'password', 'contents' => 'js!X07$z61hLA' ], [ 'name' => 'password_confirmation', 'contents' => 'js!X07$z61hLA' ], [ 'name' => 'disable_comments', 'contents' => '1' ], [ 'name' => 'latest_update_ip', 'contents' => '127.0.0.1' ], [ 'name' => 'accept_terms', 'contents' => '1' ], [ 'name' => 'accept_marketing_offers', 'contents' => '' ], [ 'name' => 'time_zone', 'contents' => 'America/New_York' ], [ 'name' => 'photo_path', 'contents' => fopen('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpFaboHp', 'r') ], ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/users/999999' files = { 'user_type_id': (None, '1'), 'country_code': (None, 'US'), 'language_code': (None, 'en'), 'gender_id': (None, '1'), 'name': (None, 'John Doe'), 'remove_photo': (None, '0'), 'auth_field': (None, 'email'), 'email': (None, 'john.doe@domain.tld'), 'phone': (None, '+17656766467'), 'phone_country': (None, ''), 'phone_hidden': (None, ''), 'username': (None, 'john_doe'), 'password': (None, 'js!X07$z61hLA'), 'password_confirmation': (None, 'js!X07$z61hLA'), 'disable_comments': (None, '1'), 'latest_update_ip': (None, '127.0.0.1'), 'accept_terms': (None, '1'), 'accept_marketing_offers': (None, ''), 'time_zone': (None, 'America/New_York'), 'photo_path': open('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpFaboHp', 'rb')} payload = { "user_type_id": 1, "country_code": "US", "language_code": "en", "gender_id": 1, "name": "John Doe", "remove_photo": 0, "auth_field": "email", "email": "john.doe@domain.tld", "phone": "+17656766467", "phone_country": null, "phone_hidden": false, "username": "john_doe", "password": "js!X07$z61hLA", "password_confirmation": "js!X07$z61hLA", "disable_comments": true, "latest_update_ip": "127.0.0.1", "accept_terms": true, "accept_marketing_offers": false, "time_zone": "America\/New_York" } headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'multipart/form-data', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('PUT', url, headers=headers, files=files) response.json()</code></pre></div> </span> <span id="example-responses-PUTapi-users--id-"> </span> <span id="execution-results-PUTapi-users--id-" hidden> <blockquote>Received response<span id="execution-response-status-PUTapi-users--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-PUTapi-users--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-PUTapi-users--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-PUTapi-users--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-PUTapi-users--id-" data-method="PUT" data-path="api/users/{id}" data-authed="1" data-hasfiles="1" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('PUTapi-users--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-PUTapi-users--id-" onclick="tryItOut('PUTapi-users--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-PUTapi-users--id-" onclick="cancelTryOut('PUTapi-users--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-PUTapi-users--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-darkblue">PUT</small> <b><code>api/users/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="PUTapi-users--id-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="PUTapi-users--id-" value="multipart/form-data" data-component="header"> <br> <p>Example: <code>multipart/form-data</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="PUTapi-users--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="PUTapi-users--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="PUTapi-users--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="PUTapi-users--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="PUTapi-users--id-" value="999999" data-component="url"> <br> <p>The user's ID. Example: <code>999999</code></p> </div> <h4 class="fancy-heading-panel"><b>Body Parameters</b></h4> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>user_type_id</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="user_type_id" data-endpoint="PUTapi-users--id-" value="1" data-component="body"> <br> <p>The ID of user type. Example: <code>1</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>country_code</code></b> <small>string</small> <input type="text" style="display: none" name="country_code" data-endpoint="PUTapi-users--id-" value="US" data-component="body"> <br> <p>The code of the user's country. Example: <code>US</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>language_code</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="language_code" data-endpoint="PUTapi-users--id-" value="en" data-component="body"> <br> <p>The code of the user's spoken language. Example: <code>en</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>gender_id</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="gender_id" data-endpoint="PUTapi-users--id-" value="1" data-component="body"> <br> <p>The ID of gender. Example: <code>1</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>name</code></b> <small>string</small> <input type="text" style="display: none" name="name" data-endpoint="PUTapi-users--id-" value="John Doe" data-component="body"> <br> <p>The name of the user. Example: <code>John Doe</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>photo_path</code></b> <small>file</small> <i>optional</i> <input type="file" style="display: none" name="photo_path" data-endpoint="PUTapi-users--id-" value="" data-component="body"> <br> <p>The file of user photo. Example: <code>/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpFaboHp</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>remove_photo</code></b> <small>integer</small> <i>optional</i> <input type="number" style="display: none" step="any" name="remove_photo" data-endpoint="PUTapi-users--id-" value="0" data-component="body"> <br> <p>Enable the user photo removal ('0' or '1'). When its value is '1' the user's photo file will be removed and the 'photo_path' column will be empty. Example: <code>0</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>auth_field</code></b> <small>string</small> <input type="text" style="display: none" name="auth_field" data-endpoint="PUTapi-users--id-" value="email" data-component="body"> <br> <p>The user's auth field ('email' or 'phone'). Example: <code>email</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>email</code></b> <small>string</small> <input type="text" style="display: none" name="email" data-endpoint="PUTapi-users--id-" value="john.doe@domain.tld" data-component="body"> <br> <p>The user's email address (Required when 'auth_field' value is 'email'). Example: <code>john.doe@domain.tld</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="phone" data-endpoint="PUTapi-users--id-" value="+17656766467" data-component="body"> <br> <p>The mobile phone number of the user (Required when 'auth_field' value is 'phone'). Example: <code>+17656766467</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone_country</code></b> <small>string</small> <input type="text" style="display: none" name="phone_country" data-endpoint="PUTapi-users--id-" value="" data-component="body"> <br> <p>The user's phone number's country code (Required when the 'phone' field is filled).</p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>phone_hidden</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="PUTapi-users--id-" style="display: none"> <input type="radio" name="phone_hidden" value="true" data-endpoint="PUTapi-users--id-" data-component="body" > <code>true</code> </label> <label data-endpoint="PUTapi-users--id-" style="display: none"> <input type="radio" name="phone_hidden" value="false" data-endpoint="PUTapi-users--id-" data-component="body" > <code>false</code> </label> <br> <p>Field to hide or show the user phone number in public. Example: <code>false</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>username</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="username" data-endpoint="PUTapi-users--id-" value="john_doe" data-component="body"> <br> <p>The user's username. Example: <code>john_doe</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>password</code></b> <small>string</small> <input type="text" style="display: none" name="password" data-endpoint="PUTapi-users--id-" value="js!X07$z61hLA" data-component="body"> <br> <p>The user's password. Example: <code>js!X07$z61hLA</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>password_confirmation</code></b> <small>string</small> <input type="text" style="display: none" name="password_confirmation" data-endpoint="PUTapi-users--id-" value="js!X07$z61hLA" data-component="body"> <br> <p>The confirmation of the user's password. Example: <code>js!X07$z61hLA</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>disable_comments</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="PUTapi-users--id-" style="display: none"> <input type="radio" name="disable_comments" value="true" data-endpoint="PUTapi-users--id-" data-component="body" > <code>true</code> </label> <label data-endpoint="PUTapi-users--id-" style="display: none"> <input type="radio" name="disable_comments" value="false" data-endpoint="PUTapi-users--id-" data-component="body" > <code>false</code> </label> <br> <p>Field to disable or enable comments on the user's posts. Example: <code>true</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>latest_update_ip</code></b> <small>string</small> <input type="text" style="display: none" name="latest_update_ip" data-endpoint="PUTapi-users--id-" value="127.0.0.1" data-component="body"> <br> <p>The user's IP address. Example: <code>127.0.0.1</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>accept_terms</code></b> <small>boolean</small> <label data-endpoint="PUTapi-users--id-" style="display: none"> <input type="radio" name="accept_terms" value="true" data-endpoint="PUTapi-users--id-" data-component="body" > <code>true</code> </label> <label data-endpoint="PUTapi-users--id-" style="display: none"> <input type="radio" name="accept_terms" value="false" data-endpoint="PUTapi-users--id-" data-component="body" > <code>false</code> </label> <br> <p>Field to allow user to accept or not the website terms. Example: <code>true</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>accept_marketing_offers</code></b> <small>boolean</small> <i>optional</i> <label data-endpoint="PUTapi-users--id-" style="display: none"> <input type="radio" name="accept_marketing_offers" value="true" data-endpoint="PUTapi-users--id-" data-component="body" > <code>true</code> </label> <label data-endpoint="PUTapi-users--id-" style="display: none"> <input type="radio" name="accept_marketing_offers" value="false" data-endpoint="PUTapi-users--id-" data-component="body" > <code>false</code> </label> <br> <p>Field to allow user to accept or not marketing offers sending. Example: <code>false</code></p> </div> <div style=" padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>time_zone</code></b> <small>string</small> <i>optional</i> <input type="text" style="display: none" name="time_zone" data-endpoint="PUTapi-users--id-" value="America/New_York" data-component="body"> <br> <p>The user's time zone. Example: <code>America/New_York</code></p> </div> </form> <h2 id="users-DELETEapi-users--id-">Delete user</h2> <p> <small class="badge badge-darkred">requires authentication</small> </p> <span id="example-requests-DELETEapi-users--id-"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request DELETE \ "https://jobclass.laraclassifier.local/api/users/999999" \ --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/users/999999" ); const headers = { "Authorization": "Bearer {YOUR_AUTH_TOKEN}", "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "DELETE", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/users/999999'; $response = $client->delete( $url, [ 'headers' => [ 'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/users/999999' headers = { 'Authorization': 'Bearer {YOUR_AUTH_TOKEN}', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('DELETE', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-DELETEapi-users--id-"> </span> <span id="execution-results-DELETEapi-users--id-" hidden> <blockquote>Received response<span id="execution-response-status-DELETEapi-users--id-"></span>: </blockquote> <pre class="json"><code id="execution-response-content-DELETEapi-users--id-" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-DELETEapi-users--id-" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-DELETEapi-users--id-"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-DELETEapi-users--id-" data-method="DELETE" data-path="api/users/{id}" data-authed="1" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('DELETEapi-users--id-', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-DELETEapi-users--id-" onclick="tryItOut('DELETEapi-users--id-');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-DELETEapi-users--id-" onclick="cancelTryOut('DELETEapi-users--id-');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-DELETEapi-users--id-" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-red">DELETE</small> <b><code>api/users/{id}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Authorization</code></b> <input type="text" style="display: none" name="Authorization" class="auth-value" data-endpoint="DELETEapi-users--id-" value="Bearer {YOUR_AUTH_TOKEN}" data-component="header"> <br> <p>Example: <code>Bearer {YOUR_AUTH_TOKEN}</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="DELETEapi-users--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="DELETEapi-users--id-" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="DELETEapi-users--id-" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="DELETEapi-users--id-" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="DELETEapi-users--id-" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>id</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="id" data-endpoint="DELETEapi-users--id-" value="999999" data-component="url"> <br> <p>The user's ID. Example: <code>999999</code></p> </div> </form> <h1 id="verification">Verification</h1> <h2 id="verification-GETapi-verify--entityMetadataKey---entityId--resend-email">Email: Re-send link</h2> <p> </p> <p>Re-send email verification link to the user</p> <span id="example-requests-GETapi-verify--entityMetadataKey---entityId--resend-email"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/verify/users/3/resend/email" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/verify/users/3/resend/email" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/verify/users/3/resend/email'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/verify/users/3/resend/email' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-verify--entityMetadataKey---entityId--resend-email"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Your Email address is already verified.", "result": { "id": 3, "name": "Company Demo", "username": "democompany", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2024-11-09T13:16:13.000000Z", "original_updated_at": "2024-11-09 13:16:13", "original_last_activity": null, "created_at_formatted": "Oct 12th, 2024 at 23:58", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/3/thumbnails/800x800-34a23fca2c8025c1b78e15d41e2617df.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" }, "extra": { "isUnverifiedField": false, "fieldVerificationSent": false, "resendUrl": "https://jobclass.laraclassifier.local/auth/verify/users/3/resend/email", "field": "email", "fieldValue": "company@domain.tld", "fieldHiddenValue": "co*************tld", "resendLocked": false } }</code> </pre> </span> <span id="execution-results-GETapi-verify--entityMetadataKey---entityId--resend-email" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-verify--entityMetadataKey---entityId--resend-email"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-verify--entityMetadataKey---entityId--resend-email" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-verify--entityMetadataKey---entityId--resend-email" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-verify--entityMetadataKey---entityId--resend-email"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-verify--entityMetadataKey---entityId--resend-email" data-method="GET" data-path="api/verify/{entityMetadataKey}/{entityId}/resend/email" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-verify--entityMetadataKey---entityId--resend-email', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-verify--entityMetadataKey---entityId--resend-email" onclick="tryItOut('GETapi-verify--entityMetadataKey---entityId--resend-email');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-verify--entityMetadataKey---entityId--resend-email" onclick="cancelTryOut('GETapi-verify--entityMetadataKey---entityId--resend-email');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-verify--entityMetadataKey---entityId--resend-email" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/verify/{entityMetadataKey}/{entityId}/resend/email</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-email" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-email" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-email" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-email" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-email" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>entityMetadataKey</code></b> <small>string</small> <input type="text" style="display: none" name="entityMetadataKey" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-email" value="users" data-component="url"> <br> <p>The slug of the entity to verify ('users' or 'posts'). Example: <code>users</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>entityId</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="entityId" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-email" value="3" data-component="url"> <br> <p>The entity/model identifier (ID). Example: <code>3</code></p> </div> </form> <h2 id="verification-GETapi-verify--entityMetadataKey---entityId--resend-sms">SMS: Re-send code</h2> <p> </p> <p>Re-send mobile phone verification token by SMS</p> <span id="example-requests-GETapi-verify--entityMetadataKey---entityId--resend-sms"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/verify/users/3/resend/sms" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/verify/users/3/resend/sms" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/verify/users/3/resend/sms'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/verify/users/3/resend/sms' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-verify--entityMetadataKey---entityId--resend-sms"> <blockquote> <p>Example response (200):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "Your Phone Number is already verified.", "result": { "id": 3, "name": "Company Demo", "username": "democompany", "two_factor_enabled": false, "two_factor_method": "email", "updated_at": "2024-11-09T13:16:13.000000Z", "original_updated_at": "2024-11-09 13:16:13", "original_last_activity": null, "created_at_formatted": "Oct 12th, 2024 at 23:58", "photo_url": "https://jobclass.laraclassifier.local/storage/avatars/us/3/thumbnails/800x800-34a23fca2c8025c1b78e15d41e2617df.jpg", "p_is_online": false, "country_flag_url": "https://jobclass.laraclassifier.local/images/flags/circle/16/us.png" }, "extra": { "isUnverifiedField": false, "fieldVerificationSent": false, "resendUrl": "https://jobclass.laraclassifier.local/api/auth/verify/users/3/resend/sms", "field": "phone", "fieldValue": "+14081822611", "fieldHiddenValue": "+1*******611", "resendLocked": false } }</code> </pre> </span> <span id="execution-results-GETapi-verify--entityMetadataKey---entityId--resend-sms" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-verify--entityMetadataKey---entityId--resend-sms"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-verify--entityMetadataKey---entityId--resend-sms" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-verify--entityMetadataKey---entityId--resend-sms" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-verify--entityMetadataKey---entityId--resend-sms"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-verify--entityMetadataKey---entityId--resend-sms" data-method="GET" data-path="api/verify/{entityMetadataKey}/{entityId}/resend/sms" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-verify--entityMetadataKey---entityId--resend-sms', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-verify--entityMetadataKey---entityId--resend-sms" onclick="tryItOut('GETapi-verify--entityMetadataKey---entityId--resend-sms');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-verify--entityMetadataKey---entityId--resend-sms" onclick="cancelTryOut('GETapi-verify--entityMetadataKey---entityId--resend-sms');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-verify--entityMetadataKey---entityId--resend-sms" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/verify/{entityMetadataKey}/{entityId}/resend/sms</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-sms" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-sms" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-sms" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-sms" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-sms" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>entityMetadataKey</code></b> <small>string</small> <input type="text" style="display: none" name="entityMetadataKey" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-sms" value="users" data-component="url"> <br> <p>The slug of the entity to verify ('users' or 'posts'). Example: <code>users</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>entityId</code></b> <small>integer</small> <input type="number" style="display: none" step="any" name="entityId" data-endpoint="GETapi-verify--entityMetadataKey---entityId--resend-sms" value="3" data-component="url"> <br> <p>The entity/model identifier (ID). Example: <code>3</code></p> </div> </form> <h2 id="verification-GETapi-verify--entityMetadataKey---field---token--">Verification</h2> <p> </p> <p>Verify the user's email address or mobile phone number</p> <span id="example-requests-GETapi-verify--entityMetadataKey---field---token--"> <blockquote>Example request:</blockquote> <div class="bash-example"> <pre><code class="language-bash">curl --request GET \ --get "https://jobclass.laraclassifier.local/api/verify/users/email/" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Content-Language: en" \ --header "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \ --header "X-AppType: docs"</code></pre></div> <div class="javascript-example"> <pre><code class="language-javascript">const url = new URL( "https://jobclass.laraclassifier.local/api/verify/users/email/" ); const headers = { "Content-Type": "application/json", "Accept": "application/json", "Content-Language": "en", "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=", "X-AppType": "docs", }; fetch(url, { method: "GET", headers, }).then(response => response.json());</code></pre></div> <div class="php-example"> <pre><code class="language-php">$client = new \GuzzleHttp\Client(); $url = 'https://jobclass.laraclassifier.local/api/verify/users/email/'; $response = $client->get( $url, [ 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', 'Content-Language' => 'en', 'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType' => 'docs', ], ] ); $body = $response->getBody(); print_r(json_decode((string) $body));</code></pre></div> <div class="python-example"> <pre><code class="language-python">import requests import json url = 'https://jobclass.laraclassifier.local/api/verify/users/email/' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Content-Language': 'en', 'X-AppApiToken': 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=', 'X-AppType': 'docs' } response = requests.request('GET', url, headers=headers) response.json()</code></pre></div> </span> <span id="example-responses-GETapi-verify--entityMetadataKey---field---token--"> <blockquote> <p>Example response (400):</p> </blockquote> <details class="annotation"> <summary style="cursor: pointer;"> <small onclick="textContent = parentElement.parentElement.open ? 'Show headers' : 'Hide headers'">Show headers</small> </summary> <pre><code class="language-http">content-type: application/json; charset=UTF-8 cache-control: no-cache, private vary: Origin </code></pre></details> <pre> <code class="language-json" style="max-height: 300px;">{ "success": false, "message": "The verification token or code is missing.", "result": null }</code> </pre> </span> <span id="execution-results-GETapi-verify--entityMetadataKey---field---token--" hidden> <blockquote>Received response<span id="execution-response-status-GETapi-verify--entityMetadataKey---field---token--"></span>: </blockquote> <pre class="json"><code id="execution-response-content-GETapi-verify--entityMetadataKey---field---token--" data-empty-response-text="<Empty response>" style="max-height: 400px;"></code></pre> </span> <span id="execution-error-GETapi-verify--entityMetadataKey---field---token--" hidden> <blockquote>Request failed with error:</blockquote> <pre><code id="execution-error-message-GETapi-verify--entityMetadataKey---field---token--"> Tip: Check that you're properly connected to the network. If you're a maintainer of ths API, verify that your API is running and you've enabled CORS. You can check the Dev Tools console for debugging information.</code></pre> </span> <form id="form-GETapi-verify--entityMetadataKey---field---token--" data-method="GET" data-path="api/verify/{entityMetadataKey}/{field}/{token?}" data-authed="0" data-hasfiles="0" data-isarraybody="0" autocomplete="off" onsubmit="event.preventDefault(); executeTryOut('GETapi-verify--entityMetadataKey---field---token--', this);"> <h3> Request <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-verify--entityMetadataKey---field---token--" onclick="tryItOut('GETapi-verify--entityMetadataKey---field---token--');">Try it out ⚡ </button> <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-verify--entityMetadataKey---field---token--" onclick="cancelTryOut('GETapi-verify--entityMetadataKey---field---token--');" hidden>Cancel 🛑 </button> <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-verify--entityMetadataKey---field---token--" data-initial-text="Send Request 💥" data-loading-text="⏱ Sending..." hidden>Send Request 💥 </button> </h3> <p> <small class="badge badge-green">GET</small> <b><code>api/verify/{entityMetadataKey}/{field}/{token?}</code></b> </p> <h4 class="fancy-heading-panel"><b>Headers</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Type</code></b> <input type="text" style="display: none" name="Content-Type" data-endpoint="GETapi-verify--entityMetadataKey---field---token--" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Accept</code></b> <input type="text" style="display: none" name="Accept" data-endpoint="GETapi-verify--entityMetadataKey---field---token--" value="application/json" data-component="header"> <br> <p>Example: <code>application/json</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>Content-Language</code></b> <input type="text" style="display: none" name="Content-Language" data-endpoint="GETapi-verify--entityMetadataKey---field---token--" value="en" data-component="header"> <br> <p>Example: <code>en</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppApiToken</code></b> <input type="text" style="display: none" name="X-AppApiToken" data-endpoint="GETapi-verify--entityMetadataKey---field---token--" value="a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" data-component="header"> <br> <p>Example: <code>a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>X-AppType</code></b> <input type="text" style="display: none" name="X-AppType" data-endpoint="GETapi-verify--entityMetadataKey---field---token--" value="docs" data-component="header"> <br> <p>Example: <code>docs</code></p> </div> <h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>entityMetadataKey</code></b> <small>string</small> <input type="text" style="display: none" name="entityMetadataKey" data-endpoint="GETapi-verify--entityMetadataKey---field---token--" value="users" data-component="url"> <br> <p>The slug of the entity to verify ('users' or 'posts'). Example: <code>users</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>field</code></b> <small>string</small> <input type="text" style="display: none" name="field" data-endpoint="GETapi-verify--entityMetadataKey---field---token--" value="email" data-component="url"> <br> <p>The field to verify. Example: <code>email</code></p> </div> <div style="padding-left: 28px; clear: unset;"> <b style="line-height: 2;"><code>token</code></b> <small>string</small> <input type="text" style="display: none" name="token" data-endpoint="GETapi-verify--entityMetadataKey---field---token--" value="" data-component="url"> <br> <p>The verification token.</p> </div> </form> </div> <div class="dark-box"> <div class="lang-selector"> <button type="button" class="lang-button" data-language-name="bash">bash</button> <button type="button" class="lang-button" data-language-name="javascript">javascript</button> <button type="button" class="lang-button" data-language-name="php">php</button> <button type="button" class="lang-button" data-language-name="python">python</button> </div> </div> </div> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 3.3 |
proxy
|
phpinfo
|
ÐаÑтройка