### GET docs/api Endpoint Details Source: https://cms-sylvanite-auag.antikode.dev/docs/api Details for the GET /docs/api endpoint, including status, URL, action, controller, middleware, duration, memory usage, and request/response information. ```APIDOC uri: GET docs/api file: [vendor/dedoc/scramble/src/ScrambleServiceProvider.php:252-259](phpstorm://open?file=%2Fstaging_web%2Frs-bunda-cms%2Fvendor%2Fdedoc%2Fscramble%2Fsrc%2FScrambleServiceProvider.php&line=252) middleware: web duration: 1.2s peak_memory: 50MB response: text/html; charset=UTF-8 request_format: html request_query: [] request_request: [] request_headers: accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 accept-encoding: gzip, deflate, br, zstd accept-language: en-US,en;q=0.9 connection: keep-alive host: cms-sylvanite-auag.antikode.dev sec-ch-mobile: ?0 sec-ch-ua: "Chromium";v="116", "Not_A Brand";v="8", "Google Chrome";v="116" sec-ch-ua-platform: "Linux" sec-fetch-dest: document sec-fetch-mode: navigate sec-fetch-site: none sec-fetch-user: ?1 upgrade-insecure-requests: 1 user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/116.0.0.0 Safari/537.36 request_cookies: cookiesEnabled: null XSRF-TOKEN: ps2vG7hsxXgKqC4sRaNpFRN9YIDDaK483UWo9Vve rs_bunda_cms_session: lgj2cjJvv45tmrC5GJza5kyhPBORgOrRCopqODil response_headers: cache-control: no-cache, private content-type: text/html; charset=UTF-8 date: Thu, 07 Aug 2025 06:43:06 GMT session_attributes: _token: ps2vG7hsxXgKqC4sRaNpFRN9YIDDaK483UWo9Vve _previous: { url: https://cms-sylvanite-auag.antikode.dev/docs/api } _flash: { old: [], new: [] } ``` -------------------------------- ### RS BUNDA CMS API Information Source: https://cms-sylvanite-auag.antikode.dev/docs/api Provides general information about the RS BUNDA CMS API, including its base URL, security scheme, and Laravel/PHP versions. ```APIDOC API Base URL: Live Server: https://cms-sylvanite-auag.antikode.dev/api Security: Bearer Auth Provide your bearer token in the Authorization header when making requests to protected resources. Example: `Authorization: Bearer 123` Laravel Version: 11.45.1 PHP Version: 8.2.28 Environment: production Debug Mode: Enabled URL: cms-sylvanite-auag.antikode.dev Timezone: Asia/Jakarta Locale: en ``` -------------------------------- ### Blade Template Rendering Source: https://cms-sylvanite-auag.antikode.dev/docs/api Information about the Blade template used for rendering the documentation UI. ```PHP 1 templates were rendered * scramble::docsdocs.blade.php#?[](phpstorm://open?file=%2Fstaging_web%2Frs-bunda-cms%2Fresources%2Fviews%2Fvendor%2Fscramble%2Fdocs.blade.php&line=1)blade ``` -------------------------------- ### RS BUNDA CMS API Endpoints and Schemas Source: https://cms-sylvanite-auag.antikode.dev/docs/api This section lists the available API endpoints and their corresponding data schemas for the RS BUNDA CMS. It covers entities such as AccountSetting, AppVersion, Authentication, Cart, Doctor, and many more, along with their associated request and resource schemas. ```APIDOC Endpoints: AccountSetting AppVersion Authentication Cart Doctor Form & Submission General Hospital Insurance MyActivity MyInbox Package Post Profile Region Room Setting Transaction Upload Schemas: AddCartRequest AppVersionResource CartGroupedResource CartItemDetailResource CartItemResource CategoryResource ChangeLocationRequest ChangeScheduleRequest CheckoutRequest DoctorDepartmentResource DoctorDetailResource DoctorHospitalResource DoctorResource FacilityCategoryResource FacilityResource FieldCollection FieldResource FormCollection FormResource FormSubmissionRequest HospitalDepartmentResource HospitalDetailResource HospitalResource InsuranceResource MyAccountRequest MyAccountResource MyActivityDetailResource MyActivityResource MyInboxResource PackageDetailResource PackageQuestion PackageResource PostDoctorResource PostResource ProfileListResource RegionResource RegisterRequest RemoveCartRequest RoomListResource ScheduleResource SendOtpRequest StoreRequest TagResource TransactionIndexResource TransactionItemResource UpdateCartRequest UpdateEmailRequest UpdateRequest VaccineBrandResource ``` -------------------------------- ### Retrieve Model Index Information Source: https://cms-sylvanite-auag.antikode.dev/docs/api This SQL query fetches index information for a specific table ('app_versions') in the 'rs_bunda_prd' schema. It groups columns by index to provide a comprehensive view of table indexing. ```sql select index_name as `name`, group_concat(column_name order by seq_in_index) as `columns`, index_type as `type`, not non_unique as `unique` from information_schema.statistics where table_schema = 'rs_bunda_prd' and table_name = 'app_versions' group by index_name, index_type, non_unique ``` -------------------------------- ### User Email Existence Check for Registration Source: https://cms-sylvanite-auag.antikode.dev/docs/api This SQL query checks for the existence of users with a null email and no associated roles, used during the user registration process to validate email uniqueness and role assignment. ```sql select exists(select * from `users` where `email` is null and not exists (select * from `roles` inner join `user_has_roles` on `roles`.`id` = `user_has_roles`.`role_id` where `users`.`id` = `user_has_roles`.`model_id` and `user_has_roles`.`model_type` = 'App\Models\User')) as `exists` ``` -------------------------------- ### Database Session Handling Query Source: https://cms-sylvanite-auag.antikode.dev/docs/api This snippet shows a SQL query used to retrieve session data from the 'sessions' table based on a session ID. It is part of the database session handling mechanism in Laravel. ```sql select * from `sessions` where `id` = 'lgj2cjJvv45tmrC5GJza5kyhPBORgOrRCopqODil' limit 1 ``` -------------------------------- ### Retrieve Model Column Information Source: https://cms-sylvanite-auag.antikode.dev/docs/api This SQL query retrieves detailed information about columns for a specific table ('app_versions') in the 'rs_bunda_prd' schema. This is used for model introspection. ```sql select column_name as `name`, data_type as `type_name`, column_type as `type`, collation_name as `collation`, is_nullable as `nullable`, column_default as `default`, column_comment as `comment`, generation_expression as `expression`, extra as `extra` from information_schema.columns where table_schema = 'rs_bunda_prd' and table_name = 'app_versions' order by ordinal_position asc ``` -------------------------------- ### Form Existence Check for Submission Source: https://cms-sylvanite-auag.antikode.dev/docs/api This SQL query checks if a form with a null ID exists and has not been deleted, likely used to validate the existence of a form before a submission is processed. ```sql select * from `forms` where `id` is null and `forms`.`deleted_at` is null limit 1 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.