From 3f00a4a970d82bd425af36e704f298aaee3ec45a Mon Sep 17 00:00:00 2001 From: Martina Scholz Date: Thu, 19 Mar 2026 19:21:48 +0100 Subject: [PATCH 1/2] refactor: Rename files and folders --- .../banners-categories/add-category.bru} | 0 .../banners-categories/delete-category.bru} | 0 .../banners-categories}/folder.bru | 0 .../banners-categories/get-banners-category.bru} | 0 .../banners-categories/list-banners-categories.bru} | 0 .../banners-categories/update-banners-category.bru} | 0 .../banners-clients/add-banners-client.bru} | 0 .../banners-clients/delete-banners-client.bru} | 0 .../banners-clients}/folder.bru | 0 .../banners-clients/get-banners-client.bru} | 0 .../banners-clients/list-banners-clients.bru} | 0 .../banners-clients/update-banners-client.bru} | 0 .../banners-content-history/delete-banners-versions.bru} | 0 .../banners-content-history}/folder.bru | 0 .../banners-content-history/keep-banners-version.bru} | 0 .../banners-content-history/list-banners-versions.bru} | 0 .../banners/add-banner.bru} | 0 .../banners/delete-banner.bru} | 0 .../Banners => joomla-web-services-api/banners}/folder.bru | 0 .../banners/get-banner.bru} | 0 .../banners/list-banners.bru} | 0 .../banners/update-banner.bru} | 0 .../bruno.json | 0 .../collection.bru | 0 .../config-application}/folder.bru | 0 .../config-application/get-global-configuration.bru} | 0 .../config-application/update-global-configuration.bru} | 0 .../config-component}/folder.bru | 0 .../config-component/get-component-configuration.bru} | 0 .../config-component/update-component-configuration.bru} | 0 .../fields-groups-contacts-contact-post.bru} | 0 .../fields-groups-contacts-contact-{group_id}-delete.bru} | 0 .../fields-groups-contacts-contact-{group_id}-patch.bru} | 0 .../fields-groups-contacts-contact-{group_id}.bru | 0 .../fields-groups-contacts-contact.bru | 0 .../contacts-categories-fields-groups}/folder.bru | 0 .../fields-contacts-categories-{field_id}-delete.bru} | 0 .../fields-contacts-categories-{field_id}-patch.bru} | 0 .../fields-contacts-categories-{field_id}.bru | 0 .../contacts-categories-fields}/fields-contacts-categories.bru | 0 .../contacts-categories-fields}/folder.bru | 0 .../list-contacts-categories-fields.bru} | 0 .../contacts-categories/add-contacts-category.bru} | 0 .../contacts-categories/delete-contacts-category.bru} | 0 .../contacts-categories}/folder.bru | 0 .../contacts-categories/get-contacts-category.bru} | 0 .../contacts-categories/list-contacts-categories.bru} | 0 .../contacts-categories/update-contacts-category.bru} | 0 .../contacts-fields/fields-contacts-contact-post.bru} | 0 .../fields-contacts-contact-{field_id}-delete.bru} | 0 .../contacts-fields/fields-contacts-contact-{field_id}-patch.bru} | 0 .../contacts-fields}/fields-contacts-contact-{field_id}.bru | 0 .../contacts-fields}/fields-contacts-contact.bru | 0 .../contacts-fields}/folder.bru | 0 .../contacts-form}/contacts-form-{contact_id}.bru | 0 .../contacts-form}/folder.bru | 0 .../contacts/add-contact.bru} | 0 .../contacts/delete-contact.bru} | 0 .../Contacts => joomla-web-services-api/contacts}/folder.bru | 0 .../contacts/get-contact.bru} | 0 .../contacts/list-contacts.bru} | 0 .../contacts/update-contact.bru} | 0 .../fields-groups-content-articles-post.bru} | 0 .../fields-groups-content-articles-{group_id}-delete.bru} | 0 .../fields-groups-content-articles-{group_id}-patch.bru} | 0 .../fields-groups-content-articles-{group_id}.bru | 0 .../fields-groups-content-articles.bru | 0 .../content-articles-fields-groups}/folder.bru | 0 .../content-articles-fields/fields-content-articles-post.bru} | 0 .../fields-content-articles-{field_id}-delete.bru} | 0 .../fields-content-articles-{field_id}-patch.bru} | 0 .../fields-content-articles-{field_id}.bru | 0 .../content-articles-fields}/fields-content-articles.bru | 0 .../content-articles-fields}/folder.bru | 0 .../content-articles/content-articles-post.bru} | 0 .../content-articles/content-articles-{article_id}-delete.bru} | 0 .../content-articles/content-articles-{article_id}-patch.bru} | 0 .../content-articles}/content-articles-{article_id}.bru | 0 .../content-articles}/content-articles.bru | 0 .../content-articles}/folder.bru | 0 .../content-categories-fields/fields-content-categories-post.bru} | 0 .../fields-content-categories-{field_id}-delete.bru} | 0 .../fields-content-categories-{field_id}-patch.bru} | 0 .../fields-content-categories-{field_id}.bru | 0 .../content-categories-fields}/fields-content-categories.bru | 0 .../content-categories-fields}/folder.bru | 0 .../content-categories/content-categories-post.bru} | 0 .../content-categories-{category_id}-delete.bru} | 0 .../content-categories-{category_id}-patch.bru} | 0 .../content-categories}/content-categories-{category_id}.bru | 0 .../content-categories}/content-categories.bru | 0 .../content-categories}/folder.bru | 0 .../environments/joomla-web-services-api.bru} | 0 .../guided-tours-steps}/folder.bru | 0 .../guided-tours-steps/tours-{tour_id}-steps-post.bru} | 0 .../guided-tours-steps/tours-{tour_id}-steps-{step_id}-copy.bru} | 0 .../tours-{tour_id}-steps-{step_id}-delete.bru} | 0 .../guided-tours-steps}/tours-{tour_id}-steps-{step_id}.bru | 0 .../guided-tours-steps}/tours-{tour_id}-steps.bru | 0 .../guided-tours}/folder.bru | 0 .../guided-tours/tours-post.bru} | 0 .../guided-tours/tours-{tour_id}-delete.bru} | 0 .../guided-tours/tours-{tour_id}-patch.bru} | 0 .../guided-tours}/tours-{tour_id}.bru | 0 .../guided-tours}/tours.bru | 0 .../installer}/extensions.bru | 0 .../Installer => joomla-web-services-api/installer}/folder.bru | 0 .../languages-content}/folder.bru | 0 .../languages-content/languages-content-post.bru} | 0 .../languages-content/languages-content-{language_id}-get.bru} | 0 .../languages-content/languages-content-{language_id}-patch.bru} | 0 .../languages-content}/languages-content-{language_id}.bru | 0 .../languages-content}/languages-content.bru | 0 .../languages-overrides-search}/folder.bru | 0 .../languages-overrides-search-cache-refresh.bru | 0 .../languages-overrides-search}/languages-overrides-search.bru | 0 .../languages-overrides}/folder.bru | 0 .../languages-overrides-{app}-{lang_code}-post.bru} | 0 ...anguages-overrides-{app}-{lang_code}-{constant_id}-delete.bru} | 0 ...languages-overrides-{app}-{lang_code}-{constant_id}-patch.bru} | 0 .../languages-overrides-{app}-{lang_code}-{constant_id}.bru | 0 .../languages-overrides-{app}-{lang_code}.bru | 0 .../Languages => joomla-web-services-api/languages}/folder.bru | 0 .../languages/languages-post.bru} | 0 .../Languages => joomla-web-services-api/languages}/languages.bru | 0 .../media-adapters}/folder.bru | 0 .../media-adapters/get-media-adapter.bru} | 0 .../media-adapters/list-media-adapters.bru} | 0 .../media-files/add-media-file.bru} | 0 .../media-files/delete-media-file.bru} | 0 .../media-files}/folder.bru | 0 .../media-files/get-media-files.bru} | 0 .../media-files/list-media-files.bru} | 0 .../media-files/update-media-file.bru} | 0 .../menus-items}/folder.bru | 0 .../menus-items/menus-{app}-items-post.bru} | 0 .../menus-items}/menus-{app}-items-types.bru | 0 .../menus-items/menus-{app}-items-{menu_item_id}-delete.bru} | 0 .../menus-items/menus-{app}-items-{menu_item_id}-patch.bru} | 0 .../menus-items}/menus-{app}-items-{menu_item_id}.bru | 0 .../menus-items}/menus-{app}-items.bru | 0 .../Menus => joomla-web-services-api/menus}/folder.bru | 0 .../menus/menus-{app}-post.bru} | 0 .../menus/menus-{app}-{menu_id}-delete.bru} | 0 .../menus/menus-{app}-{menu_id}-patch.bru} | 0 .../menus}/menus-{app}-{menu_id}.bru | 0 .../Menus => joomla-web-services-api/menus}/menus-{app}.bru | 0 .../Messages => joomla-web-services-api/messages}/folder.bru | 0 .../messages/messages-post.bru} | 0 .../messages/messages-{message_id}-delete.bru} | 0 .../messages/messages-{message_id}-patch.bru} | 0 .../messages}/messages-{message_id}.bru | 0 .../Messages => joomla-web-services-api/messages}/messages.bru | 0 .../Modules => joomla-web-services-api/modules}/folder.bru | 0 .../modules}/modules-types-{app}.bru | 0 .../modules/modules-{app}-post.bru} | 0 .../modules/modules-{app}-{module_id}-delete.bru} | 0 .../modules/modules-{app}-{module_id}-patch.bru} | 0 .../modules}/modules-{app}-{module_id}.bru | 0 .../Modules => joomla-web-services-api/modules}/modules-{app}.bru | 0 .../Newsfeeds => joomla-web-services-api/newsfeeds}/folder.bru | 0 .../newsfeeds/newsfeeds-feeds-post.bru} | 0 .../newsfeeds/newsfeeds-feeds-{feed_id}-delete.bru} | 0 .../newsfeeds/newsfeeds-feeds-{feed_id}-patch.bru} | 0 .../newsfeeds}/newsfeeds-feeds-{feed_id}.bru | 0 .../newsfeeds}/newsfeeds-feeds.bru | 0 .../Plugins => joomla-web-services-api/plugins}/folder.bru | 0 .../plugins/plugins-{plugin_id}-patch.bru} | 0 .../plugins}/plugins-{plugin_id}.bru | 0 .../Plugins => joomla-web-services-api/plugins}/plugins.bru | 0 .../privacy-consents}/folder.bru | 0 .../privacy-consents/privacy-consents-{consent_id}-delete.bru} | 0 .../privacy-consents}/privacy-consents-{consent_id}.bru | 0 .../privacy-consents}/privacy-consents.bru | 0 .../privacy-requests}/folder.bru | 0 .../privacy-requests/privacy-requests-post.bru} | 0 .../privacy-requests}/privacy-requests-{request_id}.bru | 0 .../privacy-requests}/privacy-requests.bru | 0 .../Privacy => joomla-web-services-api/privacy}/folder.bru | 0 .../privacy}/privacy-requests-export-{request_id}.bru | 0 .../Redirects => joomla-web-services-api/redirects}/folder.bru | 0 .../Redirects => joomla-web-services-api/redirects}/redirect.bru | 0 .../redirects/redirects-{redirect_id}-delete.bru} | 0 .../redirects/redirects-{redirect_id}-patch.bru} | 0 .../redirects}/redirects-{redirect_id}.bru | 0 .../Redirects => joomla-web-services-api/redirects}/redirects.bru | 0 .../Tags => joomla-web-services-api/tags}/folder.bru | 0 .../tags/tags-post.bru} | 0 .../tags/tags-{tag_id}-delete.bru} | 0 .../tags/tags-{tag_id}-patch.bru} | 0 .../Tags => joomla-web-services-api/tags}/tags-{tag_id}.bru | 0 .../Tags => joomla-web-services-api/tags}/tags.bru | 0 .../templates-styles}/folder.bru | 0 .../templates-styles/templates-styles-{app}-post.bru} | 0 .../templates-styles-{app}-{template_style_id}-patch.bru} | 0 .../templates-styles-{app}-{template_style_id}.bru | 0 .../templates-styles}/templates-styles-{app}.bru | 0 .../Templates => joomla-web-services-api/templates}/folder.bru | 0 .../templates-styles-{app}-{template_style_id}-delete.bru} | 0 .../users-fields-groups/fields-groups-users-post.bru} | 0 .../fields-groups-users-{group_id}-delete.bru} | 0 .../users-fields-groups/fields-groups-users-{group_id}-patch.bru} | 0 .../users-fields-groups}/fields-groups-users-{group_id}.bru | 0 .../users-fields-groups}/fields-groups-users.bru | 0 .../users-fields-groups}/folder.bru | 0 .../users-fields/fields-users-post.bru} | 0 .../users-fields/fields-users-{field_id}-delete.bru} | 0 .../users-fields/fields-users-{field_id}-patch.bru} | 0 .../users-fields}/fields-users-{field_id}.bru | 0 .../users-fields}/fields-users.bru | 0 .../users-fields}/folder.bru | 0 .../users-groups}/folder.bru | 0 .../users-groups/users-groups-post.bru} | 0 .../users-groups/users-groups-{group_id}-delete.bru} | 0 .../users-groups/users-groups-{group_id}-patch.bru} | 0 .../users-groups}/users-groups-{group_id}.bru | 0 .../users-groups}/users-groups.bru | 0 .../users-levels}/folder.bru | 0 .../users-levels/users-levels-post.bru} | 0 .../users-levels/users-levels-{level_id}-delete.bru} | 0 .../users-levels/users-levels-{level_id}-patch.bru} | 0 .../users-levels}/users-levels-{level_id}.bru | 0 .../users-levels}/users-levels.bru | 0 .../Users => joomla-web-services-api/users}/folder.bru | 0 .../users/users-post.bru} | 0 .../users/users-{user_id}-delete.bru} | 0 .../users/users-{user_id}-patch.bru} | 0 .../Users => joomla-web-services-api/users}/users-{user_id}.bru | 0 .../Users => joomla-web-services-api/users}/users.bru | 0 229 files changed, 0 insertions(+), 0 deletions(-) rename bruno/{Joomla Web Services API/Banners Categories/Add Category.bru => joomla-web-services-api/banners-categories/add-category.bru} (100%) rename bruno/{Joomla Web Services API/Banners Categories/Delete Category.bru => joomla-web-services-api/banners-categories/delete-category.bru} (100%) rename bruno/{Joomla Web Services API/Banners Categories => joomla-web-services-api/banners-categories}/folder.bru (100%) rename bruno/{Joomla Web Services API/Banners Categories/Get Banners Category.bru => joomla-web-services-api/banners-categories/get-banners-category.bru} (100%) rename bruno/{Joomla Web Services API/Banners Categories/List Banners Categories.bru => joomla-web-services-api/banners-categories/list-banners-categories.bru} (100%) rename bruno/{Joomla Web Services API/Banners Categories/Update Banners Category.bru => joomla-web-services-api/banners-categories/update-banners-category.bru} (100%) rename bruno/{Joomla Web Services API/Banners Clients/Add Banners Client.bru => joomla-web-services-api/banners-clients/add-banners-client.bru} (100%) rename bruno/{Joomla Web Services API/Banners Clients/Delete Banners Client.bru => joomla-web-services-api/banners-clients/delete-banners-client.bru} (100%) rename bruno/{Joomla Web Services API/Banners Clients => joomla-web-services-api/banners-clients}/folder.bru (100%) rename bruno/{Joomla Web Services API/Banners Clients/Get Banners Client.bru => joomla-web-services-api/banners-clients/get-banners-client.bru} (100%) rename bruno/{Joomla Web Services API/Banners Clients/List Banners Clients.bru => joomla-web-services-api/banners-clients/list-banners-clients.bru} (100%) rename bruno/{Joomla Web Services API/Banners Clients/Update Banners Client.bru => joomla-web-services-api/banners-clients/update-banners-client.bru} (100%) rename bruno/{Joomla Web Services API/Banners Content History/Delete Banners Versions.bru => joomla-web-services-api/banners-content-history/delete-banners-versions.bru} (100%) rename bruno/{Joomla Web Services API/Banners Content History => joomla-web-services-api/banners-content-history}/folder.bru (100%) rename bruno/{Joomla Web Services API/Banners Content History/Keep Banners Version.bru => joomla-web-services-api/banners-content-history/keep-banners-version.bru} (100%) rename bruno/{Joomla Web Services API/Banners Content History/List Banners Versions.bru => joomla-web-services-api/banners-content-history/list-banners-versions.bru} (100%) rename bruno/{Joomla Web Services API/Banners/Add Banner.bru => joomla-web-services-api/banners/add-banner.bru} (100%) rename bruno/{Joomla Web Services API/Banners/Delete Banner.bru => joomla-web-services-api/banners/delete-banner.bru} (100%) rename bruno/{Joomla Web Services API/Banners => joomla-web-services-api/banners}/folder.bru (100%) rename bruno/{Joomla Web Services API/Banners/Get Banner.bru => joomla-web-services-api/banners/get-banner.bru} (100%) rename bruno/{Joomla Web Services API/Banners/List Banners.bru => joomla-web-services-api/banners/list-banners.bru} (100%) rename bruno/{Joomla Web Services API/Banners/Update Banner.bru => joomla-web-services-api/banners/update-banner.bru} (100%) rename bruno/{Joomla Web Services API => joomla-web-services-api}/bruno.json (100%) rename bruno/{Joomla Web Services API => joomla-web-services-api}/collection.bru (100%) rename bruno/{Joomla Web Services API/Config Application => joomla-web-services-api/config-application}/folder.bru (100%) rename bruno/{Joomla Web Services API/Config Application/Get Global Configuration.bru => joomla-web-services-api/config-application/get-global-configuration.bru} (100%) rename bruno/{Joomla Web Services API/Config Application/Update Global Configuration.bru => joomla-web-services-api/config-application/update-global-configuration.bru} (100%) rename bruno/{Joomla Web Services API/Config Component => joomla-web-services-api/config-component}/folder.bru (100%) rename bruno/{Joomla Web Services API/Config Component/Get Component Configuration.bru => joomla-web-services-api/config-component/get-component-configuration.bru} (100%) rename bruno/{Joomla Web Services API/Config Component/Update Component Configuration.bru => joomla-web-services-api/config-component/update-component-configuration.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Categories Fields Groups/fields-groups-contacts-contact (POST).bru => joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-post.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Categories Fields Groups/fields-groups-contacts-contact-{group_id} (DELETE).bru => joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Categories Fields Groups/fields-groups-contacts-contact-{group_id} (PATCH).bru => joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Categories Fields Groups => joomla-web-services-api/contacts-categories-fields-groups}/fields-groups-contacts-contact-{group_id}.bru (100%) rename bruno/{Joomla Web Services API/Contacts Categories Fields Groups => joomla-web-services-api/contacts-categories-fields-groups}/fields-groups-contacts-contact.bru (100%) rename bruno/{Joomla Web Services API/Contacts Categories Fields Groups => joomla-web-services-api/contacts-categories-fields-groups}/folder.bru (100%) rename bruno/{Joomla Web Services API/Contacts Categories Fields/fields-contacts-categories-{field_id} (DELETE).bru => joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Categories Fields/fields-contacts-categories-{field_id} (PATCH).bru => joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Categories Fields => joomla-web-services-api/contacts-categories-fields}/fields-contacts-categories-{field_id}.bru (100%) rename bruno/{Joomla Web Services API/Contacts Categories Fields => joomla-web-services-api/contacts-categories-fields}/fields-contacts-categories.bru (100%) rename bruno/{Joomla Web Services API/Contacts Categories Fields => joomla-web-services-api/contacts-categories-fields}/folder.bru (100%) rename bruno/{Joomla Web Services API/Contacts Categories Fields/List Contacts Categories Fields.bru => joomla-web-services-api/contacts-categories-fields/list-contacts-categories-fields.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Categories/Add Contacts Category.bru => joomla-web-services-api/contacts-categories/add-contacts-category.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Categories/Delete Contacts Category.bru => joomla-web-services-api/contacts-categories/delete-contacts-category.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Categories => joomla-web-services-api/contacts-categories}/folder.bru (100%) rename bruno/{Joomla Web Services API/Contacts Categories/Get Contacts Category.bru => joomla-web-services-api/contacts-categories/get-contacts-category.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Categories/List Contacts Categories.bru => joomla-web-services-api/contacts-categories/list-contacts-categories.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Categories/Update Contacts Category}.bru => joomla-web-services-api/contacts-categories/update-contacts-category.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Fields/fields-contacts-contact (POST).bru => joomla-web-services-api/contacts-fields/fields-contacts-contact-post.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Fields/fields-contacts-contact-{field_id} (DELETE).bru => joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Fields/fields-contacts-contact-{field_id} (PATCH).bru => joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Contacts Fields => joomla-web-services-api/contacts-fields}/fields-contacts-contact-{field_id}.bru (100%) rename bruno/{Joomla Web Services API/Contacts Fields => joomla-web-services-api/contacts-fields}/fields-contacts-contact.bru (100%) rename bruno/{Joomla Web Services API/Contacts Fields => joomla-web-services-api/contacts-fields}/folder.bru (100%) rename bruno/{Joomla Web Services API/Contacts Form => joomla-web-services-api/contacts-form}/contacts-form-{contact_id}.bru (100%) rename bruno/{Joomla Web Services API/Contacts Form => joomla-web-services-api/contacts-form}/folder.bru (100%) rename bruno/{Joomla Web Services API/Contacts/Add contact.bru => joomla-web-services-api/contacts/add-contact.bru} (100%) rename bruno/{Joomla Web Services API/Contacts/Delete Contact.bru => joomla-web-services-api/contacts/delete-contact.bru} (100%) rename bruno/{Joomla Web Services API/Contacts => joomla-web-services-api/contacts}/folder.bru (100%) rename bruno/{Joomla Web Services API/Contacts/Get Contact.bru => joomla-web-services-api/contacts/get-contact.bru} (100%) rename bruno/{Joomla Web Services API/Contacts/List Contacts.bru => joomla-web-services-api/contacts/list-contacts.bru} (100%) rename bruno/{Joomla Web Services API/Contacts/Update Contact.bru => joomla-web-services-api/contacts/update-contact.bru} (100%) rename bruno/{Joomla Web Services API/Content Articles Fields Groups/fields-groups-content-articles (POST).bru => joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-post.bru} (100%) rename bruno/{Joomla Web Services API/Content Articles Fields Groups/fields-groups-content-articles-{group_id} (DELETE).bru => joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Content Articles Fields Groups/fields-groups-content-articles-{group_id} (PATCH).bru => joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Content Articles Fields Groups => joomla-web-services-api/content-articles-fields-groups}/fields-groups-content-articles-{group_id}.bru (100%) rename bruno/{Joomla Web Services API/Content Articles Fields Groups => joomla-web-services-api/content-articles-fields-groups}/fields-groups-content-articles.bru (100%) rename bruno/{Joomla Web Services API/Content Articles Fields Groups => joomla-web-services-api/content-articles-fields-groups}/folder.bru (100%) rename bruno/{Joomla Web Services API/Content Articles Fields/fields-content-articles (POST).bru => joomla-web-services-api/content-articles-fields/fields-content-articles-post.bru} (100%) rename bruno/{Joomla Web Services API/Content Articles Fields/fields-content-articles-{field_id} (DELETE).bru => joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Content Articles Fields/fields-content-articles-{field_id} (PATCH).bru => joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Content Articles Fields => joomla-web-services-api/content-articles-fields}/fields-content-articles-{field_id}.bru (100%) rename bruno/{Joomla Web Services API/Content Articles Fields => joomla-web-services-api/content-articles-fields}/fields-content-articles.bru (100%) rename bruno/{Joomla Web Services API/Content Articles Fields => joomla-web-services-api/content-articles-fields}/folder.bru (100%) rename bruno/{Joomla Web Services API/Content Articles/content-articles (POST).bru => joomla-web-services-api/content-articles/content-articles-post.bru} (100%) rename bruno/{Joomla Web Services API/Content Articles/content-articles-{article_id} (DELETE).bru => joomla-web-services-api/content-articles/content-articles-{article_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Content Articles/content-articles-{article_id} (PATCH).bru => joomla-web-services-api/content-articles/content-articles-{article_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Content Articles => joomla-web-services-api/content-articles}/content-articles-{article_id}.bru (100%) rename bruno/{Joomla Web Services API/Content Articles => joomla-web-services-api/content-articles}/content-articles.bru (100%) rename bruno/{Joomla Web Services API/Content Articles => joomla-web-services-api/content-articles}/folder.bru (100%) rename bruno/{Joomla Web Services API/Content Categories Fields/fields-content-categories (POST).bru => joomla-web-services-api/content-categories-fields/fields-content-categories-post.bru} (100%) rename bruno/{Joomla Web Services API/Content Categories Fields/fields-content-categories-{field_id} (DELETE).bru => joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Content Categories Fields/fields-content-categories-{field_id} (PATCH).bru => joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Content Categories Fields => joomla-web-services-api/content-categories-fields}/fields-content-categories-{field_id}.bru (100%) rename bruno/{Joomla Web Services API/Content Categories Fields => joomla-web-services-api/content-categories-fields}/fields-content-categories.bru (100%) rename bruno/{Joomla Web Services API/Content Categories Fields => joomla-web-services-api/content-categories-fields}/folder.bru (100%) rename bruno/{Joomla Web Services API/Content Categories/content-categories (POST).bru => joomla-web-services-api/content-categories/content-categories-post.bru} (100%) rename bruno/{Joomla Web Services API/Content Categories/content-categories-{category_id} (DELETE).bru => joomla-web-services-api/content-categories/content-categories-{category_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Content Categories/content-categories-{category_id} (PATCH).bru => joomla-web-services-api/content-categories/content-categories-{category_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Content Categories => joomla-web-services-api/content-categories}/content-categories-{category_id}.bru (100%) rename bruno/{Joomla Web Services API/Content Categories => joomla-web-services-api/content-categories}/content-categories.bru (100%) rename bruno/{Joomla Web Services API/Content Categories => joomla-web-services-api/content-categories}/folder.bru (100%) rename bruno/{Joomla Web Services API/environments/Joomla Web Services API.bru => joomla-web-services-api/environments/joomla-web-services-api.bru} (100%) rename bruno/{Joomla Web Services API/Guided Tours Steps => joomla-web-services-api/guided-tours-steps}/folder.bru (100%) rename bruno/{Joomla Web Services API/Guided Tours Steps/tours-{tour_id}-steps (POST).bru => joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-post.bru} (100%) rename bruno/{Joomla Web Services API/Guided Tours Steps/tours-{tour_id}-steps-{step_id} Copy.bru => joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-copy.bru} (100%) rename bruno/{Joomla Web Services API/Guided Tours Steps/tours-{tour_id}-steps-{step_id} (DELETE).bru => joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Guided Tours Steps => joomla-web-services-api/guided-tours-steps}/tours-{tour_id}-steps-{step_id}.bru (100%) rename bruno/{Joomla Web Services API/Guided Tours Steps => joomla-web-services-api/guided-tours-steps}/tours-{tour_id}-steps.bru (100%) rename bruno/{Joomla Web Services API/Guided Tours => joomla-web-services-api/guided-tours}/folder.bru (100%) rename bruno/{Joomla Web Services API/Guided Tours/tours (POST).bru => joomla-web-services-api/guided-tours/tours-post.bru} (100%) rename bruno/{Joomla Web Services API/Guided Tours/tours-{tour_id} (DELETE).bru => joomla-web-services-api/guided-tours/tours-{tour_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Guided Tours/tours-{tour_id} (PATCH).bru => joomla-web-services-api/guided-tours/tours-{tour_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Guided Tours => joomla-web-services-api/guided-tours}/tours-{tour_id}.bru (100%) rename bruno/{Joomla Web Services API/Guided Tours => joomla-web-services-api/guided-tours}/tours.bru (100%) rename bruno/{Joomla Web Services API/Installer => joomla-web-services-api/installer}/extensions.bru (100%) rename bruno/{Joomla Web Services API/Installer => joomla-web-services-api/installer}/folder.bru (100%) rename bruno/{Joomla Web Services API/Languages Content => joomla-web-services-api/languages-content}/folder.bru (100%) rename bruno/{Joomla Web Services API/Languages Content/languages-content (POST).bru => joomla-web-services-api/languages-content/languages-content-post.bru} (100%) rename bruno/{Joomla Web Services API/Languages Content/languages-content-{language_id} (GET).bru => joomla-web-services-api/languages-content/languages-content-{language_id}-get.bru} (100%) rename bruno/{Joomla Web Services API/Languages Content/languages-content-{language_id} (PATCH).bru => joomla-web-services-api/languages-content/languages-content-{language_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Languages Content => joomla-web-services-api/languages-content}/languages-content-{language_id}.bru (100%) rename bruno/{Joomla Web Services API/Languages Content => joomla-web-services-api/languages-content}/languages-content.bru (100%) rename bruno/{Joomla Web Services API/Languages Overrides Search => joomla-web-services-api/languages-overrides-search}/folder.bru (100%) rename bruno/{Joomla Web Services API/Languages Overrides Search => joomla-web-services-api/languages-overrides-search}/languages-overrides-search-cache-refresh.bru (100%) rename bruno/{Joomla Web Services API/Languages Overrides Search => joomla-web-services-api/languages-overrides-search}/languages-overrides-search.bru (100%) rename bruno/{Joomla Web Services API/Languages Overrides => joomla-web-services-api/languages-overrides}/folder.bru (100%) rename bruno/{Joomla Web Services API/Languages Overrides/languages-overrides-{app}-{lang_code} (POST).bru => joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-post.bru} (100%) rename bruno/{Joomla Web Services API/Languages Overrides/languages-overrides-{app}-{lang_code}-{constant_id} (DELETE).bru => joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Languages Overrides/languages-overrides-{app}-{lang_code}-{constant_id} (PATCH).bru => joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Languages Overrides => joomla-web-services-api/languages-overrides}/languages-overrides-{app}-{lang_code}-{constant_id}.bru (100%) rename bruno/{Joomla Web Services API/Languages Overrides => joomla-web-services-api/languages-overrides}/languages-overrides-{app}-{lang_code}.bru (100%) rename bruno/{Joomla Web Services API/Languages => joomla-web-services-api/languages}/folder.bru (100%) rename bruno/{Joomla Web Services API/Languages/languages (POST).bru => joomla-web-services-api/languages/languages-post.bru} (100%) rename bruno/{Joomla Web Services API/Languages => joomla-web-services-api/languages}/languages.bru (100%) rename bruno/{Joomla Web Services API/Media Adapters => joomla-web-services-api/media-adapters}/folder.bru (100%) rename bruno/{Joomla Web Services API/Media Adapters/Get Media Adapter.bru => joomla-web-services-api/media-adapters/get-media-adapter.bru} (100%) rename bruno/{Joomla Web Services API/Media Adapters/List Media Adapters.bru => joomla-web-services-api/media-adapters/list-media-adapters.bru} (100%) rename bruno/{Joomla Web Services API/Media Files/Add Media File.bru => joomla-web-services-api/media-files/add-media-file.bru} (100%) rename bruno/{Joomla Web Services API/Media Files/Delete Media File.bru => joomla-web-services-api/media-files/delete-media-file.bru} (100%) rename bruno/{Joomla Web Services API/Media Files => joomla-web-services-api/media-files}/folder.bru (100%) rename bruno/{Joomla Web Services API/Media Files/Get Media File(s).bru => joomla-web-services-api/media-files/get-media-files.bru} (100%) rename bruno/{Joomla Web Services API/Media Files/List Media Files.bru => joomla-web-services-api/media-files/list-media-files.bru} (100%) rename bruno/{Joomla Web Services API/Media Files/Update Media File.bru => joomla-web-services-api/media-files/update-media-file.bru} (100%) rename bruno/{Joomla Web Services API/Menus Items => joomla-web-services-api/menus-items}/folder.bru (100%) rename bruno/{Joomla Web Services API/Menus Items/menus-{app}-items (POST).bru => joomla-web-services-api/menus-items/menus-{app}-items-post.bru} (100%) rename bruno/{Joomla Web Services API/Menus Items => joomla-web-services-api/menus-items}/menus-{app}-items-types.bru (100%) rename bruno/{Joomla Web Services API/Menus Items/menus-{app}-items-{menu_item_id} (DELETE).bru => joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Menus Items/menus-{app}-items-{menu_item_id} (PATCH).bru => joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Menus Items => joomla-web-services-api/menus-items}/menus-{app}-items-{menu_item_id}.bru (100%) rename bruno/{Joomla Web Services API/Menus Items => joomla-web-services-api/menus-items}/menus-{app}-items.bru (100%) rename bruno/{Joomla Web Services API/Menus => joomla-web-services-api/menus}/folder.bru (100%) rename bruno/{Joomla Web Services API/Menus/menus-{app} (POST).bru => joomla-web-services-api/menus/menus-{app}-post.bru} (100%) rename bruno/{Joomla Web Services API/Menus/menus-{app}-{menu_id} (DELETE).bru => joomla-web-services-api/menus/menus-{app}-{menu_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Menus/menus-{app}-{menu_id} (PATCH).bru => joomla-web-services-api/menus/menus-{app}-{menu_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Menus => joomla-web-services-api/menus}/menus-{app}-{menu_id}.bru (100%) rename bruno/{Joomla Web Services API/Menus => joomla-web-services-api/menus}/menus-{app}.bru (100%) rename bruno/{Joomla Web Services API/Messages => joomla-web-services-api/messages}/folder.bru (100%) rename bruno/{Joomla Web Services API/Messages/messages (POST).bru => joomla-web-services-api/messages/messages-post.bru} (100%) rename bruno/{Joomla Web Services API/Messages/messages-{message_id} (DELETE).bru => joomla-web-services-api/messages/messages-{message_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Messages/messages-{message_id} (PATCH).bru => joomla-web-services-api/messages/messages-{message_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Messages => joomla-web-services-api/messages}/messages-{message_id}.bru (100%) rename bruno/{Joomla Web Services API/Messages => joomla-web-services-api/messages}/messages.bru (100%) rename bruno/{Joomla Web Services API/Modules => joomla-web-services-api/modules}/folder.bru (100%) rename bruno/{Joomla Web Services API/Modules => joomla-web-services-api/modules}/modules-types-{app}.bru (100%) rename bruno/{Joomla Web Services API/Modules/modules-{app} (POST).bru => joomla-web-services-api/modules/modules-{app}-post.bru} (100%) rename bruno/{Joomla Web Services API/Modules/modules-{app}-{module_id} (DELETE).bru => joomla-web-services-api/modules/modules-{app}-{module_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Modules/modules-{app}-{module_id} (PATCH).bru => joomla-web-services-api/modules/modules-{app}-{module_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Modules => joomla-web-services-api/modules}/modules-{app}-{module_id}.bru (100%) rename bruno/{Joomla Web Services API/Modules => joomla-web-services-api/modules}/modules-{app}.bru (100%) rename bruno/{Joomla Web Services API/Newsfeeds => joomla-web-services-api/newsfeeds}/folder.bru (100%) rename bruno/{Joomla Web Services API/Newsfeeds/newsfeeds-feeds (POST).bru => joomla-web-services-api/newsfeeds/newsfeeds-feeds-post.bru} (100%) rename bruno/{Joomla Web Services API/Newsfeeds/newsfeeds-feeds-{feed_id} (DELETE).bru => joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Newsfeeds/newsfeeds-feeds-{feed_id} (PATCH).bru => joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Newsfeeds => joomla-web-services-api/newsfeeds}/newsfeeds-feeds-{feed_id}.bru (100%) rename bruno/{Joomla Web Services API/Newsfeeds => joomla-web-services-api/newsfeeds}/newsfeeds-feeds.bru (100%) rename bruno/{Joomla Web Services API/Plugins => joomla-web-services-api/plugins}/folder.bru (100%) rename bruno/{Joomla Web Services API/Plugins/plugins-{plugin_id} (PATCH).bru => joomla-web-services-api/plugins/plugins-{plugin_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Plugins => joomla-web-services-api/plugins}/plugins-{plugin_id}.bru (100%) rename bruno/{Joomla Web Services API/Plugins => joomla-web-services-api/plugins}/plugins.bru (100%) rename bruno/{Joomla Web Services API/Privacy Consents => joomla-web-services-api/privacy-consents}/folder.bru (100%) rename bruno/{Joomla Web Services API/Privacy Consents/privacy-consents-{consent_id} (DELETE).bru => joomla-web-services-api/privacy-consents/privacy-consents-{consent_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Privacy Consents => joomla-web-services-api/privacy-consents}/privacy-consents-{consent_id}.bru (100%) rename bruno/{Joomla Web Services API/Privacy Consents => joomla-web-services-api/privacy-consents}/privacy-consents.bru (100%) rename bruno/{Joomla Web Services API/Privacy Requests => joomla-web-services-api/privacy-requests}/folder.bru (100%) rename bruno/{Joomla Web Services API/Privacy Requests/privacy-requests (POST).bru => joomla-web-services-api/privacy-requests/privacy-requests-post.bru} (100%) rename bruno/{Joomla Web Services API/Privacy Requests => joomla-web-services-api/privacy-requests}/privacy-requests-{request_id}.bru (100%) rename bruno/{Joomla Web Services API/Privacy Requests => joomla-web-services-api/privacy-requests}/privacy-requests.bru (100%) rename bruno/{Joomla Web Services API/Privacy => joomla-web-services-api/privacy}/folder.bru (100%) rename bruno/{Joomla Web Services API/Privacy => joomla-web-services-api/privacy}/privacy-requests-export-{request_id}.bru (100%) rename bruno/{Joomla Web Services API/Redirects => joomla-web-services-api/redirects}/folder.bru (100%) rename bruno/{Joomla Web Services API/Redirects => joomla-web-services-api/redirects}/redirect.bru (100%) rename bruno/{Joomla Web Services API/Redirects/redirects-{redirect_id} (DELETE).bru => joomla-web-services-api/redirects/redirects-{redirect_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Redirects/redirects-{redirect_id} (PATCH).bru => joomla-web-services-api/redirects/redirects-{redirect_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Redirects => joomla-web-services-api/redirects}/redirects-{redirect_id}.bru (100%) rename bruno/{Joomla Web Services API/Redirects => joomla-web-services-api/redirects}/redirects.bru (100%) rename bruno/{Joomla Web Services API/Tags => joomla-web-services-api/tags}/folder.bru (100%) rename bruno/{Joomla Web Services API/Tags/tags (POST).bru => joomla-web-services-api/tags/tags-post.bru} (100%) rename bruno/{Joomla Web Services API/Tags/tags-{tag_id} (DELETE).bru => joomla-web-services-api/tags/tags-{tag_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Tags/tags-{tag_id} (PATCH).bru => joomla-web-services-api/tags/tags-{tag_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Tags => joomla-web-services-api/tags}/tags-{tag_id}.bru (100%) rename bruno/{Joomla Web Services API/Tags => joomla-web-services-api/tags}/tags.bru (100%) rename bruno/{Joomla Web Services API/Templates Styles => joomla-web-services-api/templates-styles}/folder.bru (100%) rename bruno/{Joomla Web Services API/Templates Styles/templates-styles-{app} (POST).bru => joomla-web-services-api/templates-styles/templates-styles-{app}-post.bru} (100%) rename bruno/{Joomla Web Services API/Templates Styles/templates-styles-{app}-{template_style_id} (PATCH).bru => joomla-web-services-api/templates-styles/templates-styles-{app}-{template_style_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Templates Styles => joomla-web-services-api/templates-styles}/templates-styles-{app}-{template_style_id}.bru (100%) rename bruno/{Joomla Web Services API/Templates Styles => joomla-web-services-api/templates-styles}/templates-styles-{app}.bru (100%) rename bruno/{Joomla Web Services API/Templates => joomla-web-services-api/templates}/folder.bru (100%) rename bruno/{Joomla Web Services API/Templates/templates-styles-{app}-{template_style_id} (DELETE).bru => joomla-web-services-api/templates/templates-styles-{app}-{template_style_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Users Fields Groups/fields-groups-users (POST).bru => joomla-web-services-api/users-fields-groups/fields-groups-users-post.bru} (100%) rename bruno/{Joomla Web Services API/Users Fields Groups/fields-groups-users-{group_id} (DELETE).bru => joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Users Fields Groups/fields-groups-users-{group_id} (PATCH).bru => joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Users Fields Groups => joomla-web-services-api/users-fields-groups}/fields-groups-users-{group_id}.bru (100%) rename bruno/{Joomla Web Services API/Users Fields Groups => joomla-web-services-api/users-fields-groups}/fields-groups-users.bru (100%) rename bruno/{Joomla Web Services API/Users Fields Groups => joomla-web-services-api/users-fields-groups}/folder.bru (100%) rename bruno/{Joomla Web Services API/Users Fields/fields-users (POST).bru => joomla-web-services-api/users-fields/fields-users-post.bru} (100%) rename bruno/{Joomla Web Services API/Users Fields/fields-users-{field_id} (DELETE).bru => joomla-web-services-api/users-fields/fields-users-{field_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Users Fields/fields-users-{field_id} (PATCH).bru => joomla-web-services-api/users-fields/fields-users-{field_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Users Fields => joomla-web-services-api/users-fields}/fields-users-{field_id}.bru (100%) rename bruno/{Joomla Web Services API/Users Fields => joomla-web-services-api/users-fields}/fields-users.bru (100%) rename bruno/{Joomla Web Services API/Users Fields => joomla-web-services-api/users-fields}/folder.bru (100%) rename bruno/{Joomla Web Services API/Users Groups => joomla-web-services-api/users-groups}/folder.bru (100%) rename bruno/{Joomla Web Services API/Users Groups/users-groups (POST).bru => joomla-web-services-api/users-groups/users-groups-post.bru} (100%) rename bruno/{Joomla Web Services API/Users Groups/users-groups-{group_id} (DELETE).bru => joomla-web-services-api/users-groups/users-groups-{group_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Users Groups/users-groups-{group_id} (PATCH).bru => joomla-web-services-api/users-groups/users-groups-{group_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Users Groups => joomla-web-services-api/users-groups}/users-groups-{group_id}.bru (100%) rename bruno/{Joomla Web Services API/Users Groups => joomla-web-services-api/users-groups}/users-groups.bru (100%) rename bruno/{Joomla Web Services API/Users Levels => joomla-web-services-api/users-levels}/folder.bru (100%) rename bruno/{Joomla Web Services API/Users Levels/users-levels (POST).bru => joomla-web-services-api/users-levels/users-levels-post.bru} (100%) rename bruno/{Joomla Web Services API/Users Levels/users-levels-{level_id} (DELETE).bru => joomla-web-services-api/users-levels/users-levels-{level_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Users Levels/users-levels-{level_id} (PATCH).bru => joomla-web-services-api/users-levels/users-levels-{level_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Users Levels => joomla-web-services-api/users-levels}/users-levels-{level_id}.bru (100%) rename bruno/{Joomla Web Services API/Users Levels => joomla-web-services-api/users-levels}/users-levels.bru (100%) rename bruno/{Joomla Web Services API/Users => joomla-web-services-api/users}/folder.bru (100%) rename bruno/{Joomla Web Services API/Users/users (POST).bru => joomla-web-services-api/users/users-post.bru} (100%) rename bruno/{Joomla Web Services API/Users/users-{user_id} (DELETE).bru => joomla-web-services-api/users/users-{user_id}-delete.bru} (100%) rename bruno/{Joomla Web Services API/Users/users-{user_id} (PATCH).bru => joomla-web-services-api/users/users-{user_id}-patch.bru} (100%) rename bruno/{Joomla Web Services API/Users => joomla-web-services-api/users}/users-{user_id}.bru (100%) rename bruno/{Joomla Web Services API/Users => joomla-web-services-api/users}/users.bru (100%) diff --git a/bruno/Joomla Web Services API/Banners Categories/Add Category.bru b/bruno/joomla-web-services-api/banners-categories/add-category.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Categories/Add Category.bru rename to bruno/joomla-web-services-api/banners-categories/add-category.bru diff --git a/bruno/Joomla Web Services API/Banners Categories/Delete Category.bru b/bruno/joomla-web-services-api/banners-categories/delete-category.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Categories/Delete Category.bru rename to bruno/joomla-web-services-api/banners-categories/delete-category.bru diff --git a/bruno/Joomla Web Services API/Banners Categories/folder.bru b/bruno/joomla-web-services-api/banners-categories/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Categories/folder.bru rename to bruno/joomla-web-services-api/banners-categories/folder.bru diff --git a/bruno/Joomla Web Services API/Banners Categories/Get Banners Category.bru b/bruno/joomla-web-services-api/banners-categories/get-banners-category.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Categories/Get Banners Category.bru rename to bruno/joomla-web-services-api/banners-categories/get-banners-category.bru diff --git a/bruno/Joomla Web Services API/Banners Categories/List Banners Categories.bru b/bruno/joomla-web-services-api/banners-categories/list-banners-categories.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Categories/List Banners Categories.bru rename to bruno/joomla-web-services-api/banners-categories/list-banners-categories.bru diff --git a/bruno/Joomla Web Services API/Banners Categories/Update Banners Category.bru b/bruno/joomla-web-services-api/banners-categories/update-banners-category.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Categories/Update Banners Category.bru rename to bruno/joomla-web-services-api/banners-categories/update-banners-category.bru diff --git a/bruno/Joomla Web Services API/Banners Clients/Add Banners Client.bru b/bruno/joomla-web-services-api/banners-clients/add-banners-client.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Clients/Add Banners Client.bru rename to bruno/joomla-web-services-api/banners-clients/add-banners-client.bru diff --git a/bruno/Joomla Web Services API/Banners Clients/Delete Banners Client.bru b/bruno/joomla-web-services-api/banners-clients/delete-banners-client.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Clients/Delete Banners Client.bru rename to bruno/joomla-web-services-api/banners-clients/delete-banners-client.bru diff --git a/bruno/Joomla Web Services API/Banners Clients/folder.bru b/bruno/joomla-web-services-api/banners-clients/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Clients/folder.bru rename to bruno/joomla-web-services-api/banners-clients/folder.bru diff --git a/bruno/Joomla Web Services API/Banners Clients/Get Banners Client.bru b/bruno/joomla-web-services-api/banners-clients/get-banners-client.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Clients/Get Banners Client.bru rename to bruno/joomla-web-services-api/banners-clients/get-banners-client.bru diff --git a/bruno/Joomla Web Services API/Banners Clients/List Banners Clients.bru b/bruno/joomla-web-services-api/banners-clients/list-banners-clients.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Clients/List Banners Clients.bru rename to bruno/joomla-web-services-api/banners-clients/list-banners-clients.bru diff --git a/bruno/Joomla Web Services API/Banners Clients/Update Banners Client.bru b/bruno/joomla-web-services-api/banners-clients/update-banners-client.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Clients/Update Banners Client.bru rename to bruno/joomla-web-services-api/banners-clients/update-banners-client.bru diff --git a/bruno/Joomla Web Services API/Banners Content History/Delete Banners Versions.bru b/bruno/joomla-web-services-api/banners-content-history/delete-banners-versions.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Content History/Delete Banners Versions.bru rename to bruno/joomla-web-services-api/banners-content-history/delete-banners-versions.bru diff --git a/bruno/Joomla Web Services API/Banners Content History/folder.bru b/bruno/joomla-web-services-api/banners-content-history/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Content History/folder.bru rename to bruno/joomla-web-services-api/banners-content-history/folder.bru diff --git a/bruno/Joomla Web Services API/Banners Content History/Keep Banners Version.bru b/bruno/joomla-web-services-api/banners-content-history/keep-banners-version.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Content History/Keep Banners Version.bru rename to bruno/joomla-web-services-api/banners-content-history/keep-banners-version.bru diff --git a/bruno/Joomla Web Services API/Banners Content History/List Banners Versions.bru b/bruno/joomla-web-services-api/banners-content-history/list-banners-versions.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners Content History/List Banners Versions.bru rename to bruno/joomla-web-services-api/banners-content-history/list-banners-versions.bru diff --git a/bruno/Joomla Web Services API/Banners/Add Banner.bru b/bruno/joomla-web-services-api/banners/add-banner.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners/Add Banner.bru rename to bruno/joomla-web-services-api/banners/add-banner.bru diff --git a/bruno/Joomla Web Services API/Banners/Delete Banner.bru b/bruno/joomla-web-services-api/banners/delete-banner.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners/Delete Banner.bru rename to bruno/joomla-web-services-api/banners/delete-banner.bru diff --git a/bruno/Joomla Web Services API/Banners/folder.bru b/bruno/joomla-web-services-api/banners/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners/folder.bru rename to bruno/joomla-web-services-api/banners/folder.bru diff --git a/bruno/Joomla Web Services API/Banners/Get Banner.bru b/bruno/joomla-web-services-api/banners/get-banner.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners/Get Banner.bru rename to bruno/joomla-web-services-api/banners/get-banner.bru diff --git a/bruno/Joomla Web Services API/Banners/List Banners.bru b/bruno/joomla-web-services-api/banners/list-banners.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners/List Banners.bru rename to bruno/joomla-web-services-api/banners/list-banners.bru diff --git a/bruno/Joomla Web Services API/Banners/Update Banner.bru b/bruno/joomla-web-services-api/banners/update-banner.bru similarity index 100% rename from bruno/Joomla Web Services API/Banners/Update Banner.bru rename to bruno/joomla-web-services-api/banners/update-banner.bru diff --git a/bruno/Joomla Web Services API/bruno.json b/bruno/joomla-web-services-api/bruno.json similarity index 100% rename from bruno/Joomla Web Services API/bruno.json rename to bruno/joomla-web-services-api/bruno.json diff --git a/bruno/Joomla Web Services API/collection.bru b/bruno/joomla-web-services-api/collection.bru similarity index 100% rename from bruno/Joomla Web Services API/collection.bru rename to bruno/joomla-web-services-api/collection.bru diff --git a/bruno/Joomla Web Services API/Config Application/folder.bru b/bruno/joomla-web-services-api/config-application/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Config Application/folder.bru rename to bruno/joomla-web-services-api/config-application/folder.bru diff --git a/bruno/Joomla Web Services API/Config Application/Get Global Configuration.bru b/bruno/joomla-web-services-api/config-application/get-global-configuration.bru similarity index 100% rename from bruno/Joomla Web Services API/Config Application/Get Global Configuration.bru rename to bruno/joomla-web-services-api/config-application/get-global-configuration.bru diff --git a/bruno/Joomla Web Services API/Config Application/Update Global Configuration.bru b/bruno/joomla-web-services-api/config-application/update-global-configuration.bru similarity index 100% rename from bruno/Joomla Web Services API/Config Application/Update Global Configuration.bru rename to bruno/joomla-web-services-api/config-application/update-global-configuration.bru diff --git a/bruno/Joomla Web Services API/Config Component/folder.bru b/bruno/joomla-web-services-api/config-component/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Config Component/folder.bru rename to bruno/joomla-web-services-api/config-component/folder.bru diff --git a/bruno/Joomla Web Services API/Config Component/Get Component Configuration.bru b/bruno/joomla-web-services-api/config-component/get-component-configuration.bru similarity index 100% rename from bruno/Joomla Web Services API/Config Component/Get Component Configuration.bru rename to bruno/joomla-web-services-api/config-component/get-component-configuration.bru diff --git a/bruno/Joomla Web Services API/Config Component/Update Component Configuration.bru b/bruno/joomla-web-services-api/config-component/update-component-configuration.bru similarity index 100% rename from bruno/Joomla Web Services API/Config Component/Update Component Configuration.bru rename to bruno/joomla-web-services-api/config-component/update-component-configuration.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories Fields Groups/fields-groups-contacts-contact (POST).bru b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories Fields Groups/fields-groups-contacts-contact (POST).bru rename to bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-post.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories Fields Groups/fields-groups-contacts-contact-{group_id} (DELETE).bru b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories Fields Groups/fields-groups-contacts-contact-{group_id} (DELETE).bru rename to bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories Fields Groups/fields-groups-contacts-contact-{group_id} (PATCH).bru b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories Fields Groups/fields-groups-contacts-contact-{group_id} (PATCH).bru rename to bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories Fields Groups/fields-groups-contacts-contact-{group_id}.bru b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories Fields Groups/fields-groups-contacts-contact-{group_id}.bru rename to bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories Fields Groups/fields-groups-contacts-contact.bru b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories Fields Groups/fields-groups-contacts-contact.bru rename to bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories Fields Groups/folder.bru b/bruno/joomla-web-services-api/contacts-categories-fields-groups/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories Fields Groups/folder.bru rename to bruno/joomla-web-services-api/contacts-categories-fields-groups/folder.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories Fields/fields-contacts-categories-{field_id} (DELETE).bru b/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories Fields/fields-contacts-categories-{field_id} (DELETE).bru rename to bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories Fields/fields-contacts-categories-{field_id} (PATCH).bru b/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories Fields/fields-contacts-categories-{field_id} (PATCH).bru rename to bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories Fields/fields-contacts-categories-{field_id}.bru b/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories Fields/fields-contacts-categories-{field_id}.bru rename to bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories Fields/fields-contacts-categories.bru b/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories Fields/fields-contacts-categories.bru rename to bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories Fields/folder.bru b/bruno/joomla-web-services-api/contacts-categories-fields/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories Fields/folder.bru rename to bruno/joomla-web-services-api/contacts-categories-fields/folder.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories Fields/List Contacts Categories Fields.bru b/bruno/joomla-web-services-api/contacts-categories-fields/list-contacts-categories-fields.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories Fields/List Contacts Categories Fields.bru rename to bruno/joomla-web-services-api/contacts-categories-fields/list-contacts-categories-fields.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories/Add Contacts Category.bru b/bruno/joomla-web-services-api/contacts-categories/add-contacts-category.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories/Add Contacts Category.bru rename to bruno/joomla-web-services-api/contacts-categories/add-contacts-category.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories/Delete Contacts Category.bru b/bruno/joomla-web-services-api/contacts-categories/delete-contacts-category.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories/Delete Contacts Category.bru rename to bruno/joomla-web-services-api/contacts-categories/delete-contacts-category.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories/folder.bru b/bruno/joomla-web-services-api/contacts-categories/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories/folder.bru rename to bruno/joomla-web-services-api/contacts-categories/folder.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories/Get Contacts Category.bru b/bruno/joomla-web-services-api/contacts-categories/get-contacts-category.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories/Get Contacts Category.bru rename to bruno/joomla-web-services-api/contacts-categories/get-contacts-category.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories/List Contacts Categories.bru b/bruno/joomla-web-services-api/contacts-categories/list-contacts-categories.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories/List Contacts Categories.bru rename to bruno/joomla-web-services-api/contacts-categories/list-contacts-categories.bru diff --git a/bruno/Joomla Web Services API/Contacts Categories/Update Contacts Category}.bru b/bruno/joomla-web-services-api/contacts-categories/update-contacts-category.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Categories/Update Contacts Category}.bru rename to bruno/joomla-web-services-api/contacts-categories/update-contacts-category.bru diff --git a/bruno/Joomla Web Services API/Contacts Fields/fields-contacts-contact (POST).bru b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Fields/fields-contacts-contact (POST).bru rename to bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-post.bru diff --git a/bruno/Joomla Web Services API/Contacts Fields/fields-contacts-contact-{field_id} (DELETE).bru b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Fields/fields-contacts-contact-{field_id} (DELETE).bru rename to bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Contacts Fields/fields-contacts-contact-{field_id} (PATCH).bru b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Fields/fields-contacts-contact-{field_id} (PATCH).bru rename to bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Contacts Fields/fields-contacts-contact-{field_id}.bru b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Fields/fields-contacts-contact-{field_id}.bru rename to bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}.bru diff --git a/bruno/Joomla Web Services API/Contacts Fields/fields-contacts-contact.bru b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Fields/fields-contacts-contact.bru rename to bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact.bru diff --git a/bruno/Joomla Web Services API/Contacts Fields/folder.bru b/bruno/joomla-web-services-api/contacts-fields/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Fields/folder.bru rename to bruno/joomla-web-services-api/contacts-fields/folder.bru diff --git a/bruno/Joomla Web Services API/Contacts Form/contacts-form-{contact_id}.bru b/bruno/joomla-web-services-api/contacts-form/contacts-form-{contact_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Form/contacts-form-{contact_id}.bru rename to bruno/joomla-web-services-api/contacts-form/contacts-form-{contact_id}.bru diff --git a/bruno/Joomla Web Services API/Contacts Form/folder.bru b/bruno/joomla-web-services-api/contacts-form/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts Form/folder.bru rename to bruno/joomla-web-services-api/contacts-form/folder.bru diff --git a/bruno/Joomla Web Services API/Contacts/Add contact.bru b/bruno/joomla-web-services-api/contacts/add-contact.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts/Add contact.bru rename to bruno/joomla-web-services-api/contacts/add-contact.bru diff --git a/bruno/Joomla Web Services API/Contacts/Delete Contact.bru b/bruno/joomla-web-services-api/contacts/delete-contact.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts/Delete Contact.bru rename to bruno/joomla-web-services-api/contacts/delete-contact.bru diff --git a/bruno/Joomla Web Services API/Contacts/folder.bru b/bruno/joomla-web-services-api/contacts/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts/folder.bru rename to bruno/joomla-web-services-api/contacts/folder.bru diff --git a/bruno/Joomla Web Services API/Contacts/Get Contact.bru b/bruno/joomla-web-services-api/contacts/get-contact.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts/Get Contact.bru rename to bruno/joomla-web-services-api/contacts/get-contact.bru diff --git a/bruno/Joomla Web Services API/Contacts/List Contacts.bru b/bruno/joomla-web-services-api/contacts/list-contacts.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts/List Contacts.bru rename to bruno/joomla-web-services-api/contacts/list-contacts.bru diff --git a/bruno/Joomla Web Services API/Contacts/Update Contact.bru b/bruno/joomla-web-services-api/contacts/update-contact.bru similarity index 100% rename from bruno/Joomla Web Services API/Contacts/Update Contact.bru rename to bruno/joomla-web-services-api/contacts/update-contact.bru diff --git a/bruno/Joomla Web Services API/Content Articles Fields Groups/fields-groups-content-articles (POST).bru b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles Fields Groups/fields-groups-content-articles (POST).bru rename to bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-post.bru diff --git a/bruno/Joomla Web Services API/Content Articles Fields Groups/fields-groups-content-articles-{group_id} (DELETE).bru b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles Fields Groups/fields-groups-content-articles-{group_id} (DELETE).bru rename to bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Content Articles Fields Groups/fields-groups-content-articles-{group_id} (PATCH).bru b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles Fields Groups/fields-groups-content-articles-{group_id} (PATCH).bru rename to bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Content Articles Fields Groups/fields-groups-content-articles-{group_id}.bru b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles Fields Groups/fields-groups-content-articles-{group_id}.bru rename to bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}.bru diff --git a/bruno/Joomla Web Services API/Content Articles Fields Groups/fields-groups-content-articles.bru b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles Fields Groups/fields-groups-content-articles.bru rename to bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles.bru diff --git a/bruno/Joomla Web Services API/Content Articles Fields Groups/folder.bru b/bruno/joomla-web-services-api/content-articles-fields-groups/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles Fields Groups/folder.bru rename to bruno/joomla-web-services-api/content-articles-fields-groups/folder.bru diff --git a/bruno/Joomla Web Services API/Content Articles Fields/fields-content-articles (POST).bru b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles Fields/fields-content-articles (POST).bru rename to bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-post.bru diff --git a/bruno/Joomla Web Services API/Content Articles Fields/fields-content-articles-{field_id} (DELETE).bru b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles Fields/fields-content-articles-{field_id} (DELETE).bru rename to bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Content Articles Fields/fields-content-articles-{field_id} (PATCH).bru b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles Fields/fields-content-articles-{field_id} (PATCH).bru rename to bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Content Articles Fields/fields-content-articles-{field_id}.bru b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles Fields/fields-content-articles-{field_id}.bru rename to bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}.bru diff --git a/bruno/Joomla Web Services API/Content Articles Fields/fields-content-articles.bru b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles Fields/fields-content-articles.bru rename to bruno/joomla-web-services-api/content-articles-fields/fields-content-articles.bru diff --git a/bruno/Joomla Web Services API/Content Articles Fields/folder.bru b/bruno/joomla-web-services-api/content-articles-fields/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles Fields/folder.bru rename to bruno/joomla-web-services-api/content-articles-fields/folder.bru diff --git a/bruno/Joomla Web Services API/Content Articles/content-articles (POST).bru b/bruno/joomla-web-services-api/content-articles/content-articles-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles/content-articles (POST).bru rename to bruno/joomla-web-services-api/content-articles/content-articles-post.bru diff --git a/bruno/Joomla Web Services API/Content Articles/content-articles-{article_id} (DELETE).bru b/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles/content-articles-{article_id} (DELETE).bru rename to bruno/joomla-web-services-api/content-articles/content-articles-{article_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Content Articles/content-articles-{article_id} (PATCH).bru b/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles/content-articles-{article_id} (PATCH).bru rename to bruno/joomla-web-services-api/content-articles/content-articles-{article_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Content Articles/content-articles-{article_id}.bru b/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles/content-articles-{article_id}.bru rename to bruno/joomla-web-services-api/content-articles/content-articles-{article_id}.bru diff --git a/bruno/Joomla Web Services API/Content Articles/content-articles.bru b/bruno/joomla-web-services-api/content-articles/content-articles.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles/content-articles.bru rename to bruno/joomla-web-services-api/content-articles/content-articles.bru diff --git a/bruno/Joomla Web Services API/Content Articles/folder.bru b/bruno/joomla-web-services-api/content-articles/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Articles/folder.bru rename to bruno/joomla-web-services-api/content-articles/folder.bru diff --git a/bruno/Joomla Web Services API/Content Categories Fields/fields-content-categories (POST).bru b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Categories Fields/fields-content-categories (POST).bru rename to bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-post.bru diff --git a/bruno/Joomla Web Services API/Content Categories Fields/fields-content-categories-{field_id} (DELETE).bru b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Categories Fields/fields-content-categories-{field_id} (DELETE).bru rename to bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Content Categories Fields/fields-content-categories-{field_id} (PATCH).bru b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Categories Fields/fields-content-categories-{field_id} (PATCH).bru rename to bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Content Categories Fields/fields-content-categories-{field_id}.bru b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Categories Fields/fields-content-categories-{field_id}.bru rename to bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}.bru diff --git a/bruno/Joomla Web Services API/Content Categories Fields/fields-content-categories.bru b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Categories Fields/fields-content-categories.bru rename to bruno/joomla-web-services-api/content-categories-fields/fields-content-categories.bru diff --git a/bruno/Joomla Web Services API/Content Categories Fields/folder.bru b/bruno/joomla-web-services-api/content-categories-fields/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Categories Fields/folder.bru rename to bruno/joomla-web-services-api/content-categories-fields/folder.bru diff --git a/bruno/Joomla Web Services API/Content Categories/content-categories (POST).bru b/bruno/joomla-web-services-api/content-categories/content-categories-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Categories/content-categories (POST).bru rename to bruno/joomla-web-services-api/content-categories/content-categories-post.bru diff --git a/bruno/Joomla Web Services API/Content Categories/content-categories-{category_id} (DELETE).bru b/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Categories/content-categories-{category_id} (DELETE).bru rename to bruno/joomla-web-services-api/content-categories/content-categories-{category_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Content Categories/content-categories-{category_id} (PATCH).bru b/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Categories/content-categories-{category_id} (PATCH).bru rename to bruno/joomla-web-services-api/content-categories/content-categories-{category_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Content Categories/content-categories-{category_id}.bru b/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Categories/content-categories-{category_id}.bru rename to bruno/joomla-web-services-api/content-categories/content-categories-{category_id}.bru diff --git a/bruno/Joomla Web Services API/Content Categories/content-categories.bru b/bruno/joomla-web-services-api/content-categories/content-categories.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Categories/content-categories.bru rename to bruno/joomla-web-services-api/content-categories/content-categories.bru diff --git a/bruno/Joomla Web Services API/Content Categories/folder.bru b/bruno/joomla-web-services-api/content-categories/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Content Categories/folder.bru rename to bruno/joomla-web-services-api/content-categories/folder.bru diff --git a/bruno/Joomla Web Services API/environments/Joomla Web Services API.bru b/bruno/joomla-web-services-api/environments/joomla-web-services-api.bru similarity index 100% rename from bruno/Joomla Web Services API/environments/Joomla Web Services API.bru rename to bruno/joomla-web-services-api/environments/joomla-web-services-api.bru diff --git a/bruno/Joomla Web Services API/Guided Tours Steps/folder.bru b/bruno/joomla-web-services-api/guided-tours-steps/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Guided Tours Steps/folder.bru rename to bruno/joomla-web-services-api/guided-tours-steps/folder.bru diff --git a/bruno/Joomla Web Services API/Guided Tours Steps/tours-{tour_id}-steps (POST).bru b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Guided Tours Steps/tours-{tour_id}-steps (POST).bru rename to bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-post.bru diff --git a/bruno/Joomla Web Services API/Guided Tours Steps/tours-{tour_id}-steps-{step_id} Copy.bru b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-copy.bru similarity index 100% rename from bruno/Joomla Web Services API/Guided Tours Steps/tours-{tour_id}-steps-{step_id} Copy.bru rename to bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-copy.bru diff --git a/bruno/Joomla Web Services API/Guided Tours Steps/tours-{tour_id}-steps-{step_id} (DELETE).bru b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Guided Tours Steps/tours-{tour_id}-steps-{step_id} (DELETE).bru rename to bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Guided Tours Steps/tours-{tour_id}-steps-{step_id}.bru b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Guided Tours Steps/tours-{tour_id}-steps-{step_id}.bru rename to bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}.bru diff --git a/bruno/Joomla Web Services API/Guided Tours Steps/tours-{tour_id}-steps.bru b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps.bru similarity index 100% rename from bruno/Joomla Web Services API/Guided Tours Steps/tours-{tour_id}-steps.bru rename to bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps.bru diff --git a/bruno/Joomla Web Services API/Guided Tours/folder.bru b/bruno/joomla-web-services-api/guided-tours/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Guided Tours/folder.bru rename to bruno/joomla-web-services-api/guided-tours/folder.bru diff --git a/bruno/Joomla Web Services API/Guided Tours/tours (POST).bru b/bruno/joomla-web-services-api/guided-tours/tours-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Guided Tours/tours (POST).bru rename to bruno/joomla-web-services-api/guided-tours/tours-post.bru diff --git a/bruno/Joomla Web Services API/Guided Tours/tours-{tour_id} (DELETE).bru b/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Guided Tours/tours-{tour_id} (DELETE).bru rename to bruno/joomla-web-services-api/guided-tours/tours-{tour_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Guided Tours/tours-{tour_id} (PATCH).bru b/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Guided Tours/tours-{tour_id} (PATCH).bru rename to bruno/joomla-web-services-api/guided-tours/tours-{tour_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Guided Tours/tours-{tour_id}.bru b/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Guided Tours/tours-{tour_id}.bru rename to bruno/joomla-web-services-api/guided-tours/tours-{tour_id}.bru diff --git a/bruno/Joomla Web Services API/Guided Tours/tours.bru b/bruno/joomla-web-services-api/guided-tours/tours.bru similarity index 100% rename from bruno/Joomla Web Services API/Guided Tours/tours.bru rename to bruno/joomla-web-services-api/guided-tours/tours.bru diff --git a/bruno/Joomla Web Services API/Installer/extensions.bru b/bruno/joomla-web-services-api/installer/extensions.bru similarity index 100% rename from bruno/Joomla Web Services API/Installer/extensions.bru rename to bruno/joomla-web-services-api/installer/extensions.bru diff --git a/bruno/Joomla Web Services API/Installer/folder.bru b/bruno/joomla-web-services-api/installer/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Installer/folder.bru rename to bruno/joomla-web-services-api/installer/folder.bru diff --git a/bruno/Joomla Web Services API/Languages Content/folder.bru b/bruno/joomla-web-services-api/languages-content/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Content/folder.bru rename to bruno/joomla-web-services-api/languages-content/folder.bru diff --git a/bruno/Joomla Web Services API/Languages Content/languages-content (POST).bru b/bruno/joomla-web-services-api/languages-content/languages-content-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Content/languages-content (POST).bru rename to bruno/joomla-web-services-api/languages-content/languages-content-post.bru diff --git a/bruno/Joomla Web Services API/Languages Content/languages-content-{language_id} (GET).bru b/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}-get.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Content/languages-content-{language_id} (GET).bru rename to bruno/joomla-web-services-api/languages-content/languages-content-{language_id}-get.bru diff --git a/bruno/Joomla Web Services API/Languages Content/languages-content-{language_id} (PATCH).bru b/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Content/languages-content-{language_id} (PATCH).bru rename to bruno/joomla-web-services-api/languages-content/languages-content-{language_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Languages Content/languages-content-{language_id}.bru b/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Content/languages-content-{language_id}.bru rename to bruno/joomla-web-services-api/languages-content/languages-content-{language_id}.bru diff --git a/bruno/Joomla Web Services API/Languages Content/languages-content.bru b/bruno/joomla-web-services-api/languages-content/languages-content.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Content/languages-content.bru rename to bruno/joomla-web-services-api/languages-content/languages-content.bru diff --git a/bruno/Joomla Web Services API/Languages Overrides Search/folder.bru b/bruno/joomla-web-services-api/languages-overrides-search/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Overrides Search/folder.bru rename to bruno/joomla-web-services-api/languages-overrides-search/folder.bru diff --git a/bruno/Joomla Web Services API/Languages Overrides Search/languages-overrides-search-cache-refresh.bru b/bruno/joomla-web-services-api/languages-overrides-search/languages-overrides-search-cache-refresh.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Overrides Search/languages-overrides-search-cache-refresh.bru rename to bruno/joomla-web-services-api/languages-overrides-search/languages-overrides-search-cache-refresh.bru diff --git a/bruno/Joomla Web Services API/Languages Overrides Search/languages-overrides-search.bru b/bruno/joomla-web-services-api/languages-overrides-search/languages-overrides-search.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Overrides Search/languages-overrides-search.bru rename to bruno/joomla-web-services-api/languages-overrides-search/languages-overrides-search.bru diff --git a/bruno/Joomla Web Services API/Languages Overrides/folder.bru b/bruno/joomla-web-services-api/languages-overrides/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Overrides/folder.bru rename to bruno/joomla-web-services-api/languages-overrides/folder.bru diff --git a/bruno/Joomla Web Services API/Languages Overrides/languages-overrides-{app}-{lang_code} (POST).bru b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Overrides/languages-overrides-{app}-{lang_code} (POST).bru rename to bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-post.bru diff --git a/bruno/Joomla Web Services API/Languages Overrides/languages-overrides-{app}-{lang_code}-{constant_id} (DELETE).bru b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Overrides/languages-overrides-{app}-{lang_code}-{constant_id} (DELETE).bru rename to bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Languages Overrides/languages-overrides-{app}-{lang_code}-{constant_id} (PATCH).bru b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Overrides/languages-overrides-{app}-{lang_code}-{constant_id} (PATCH).bru rename to bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Languages Overrides/languages-overrides-{app}-{lang_code}-{constant_id}.bru b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Overrides/languages-overrides-{app}-{lang_code}-{constant_id}.bru rename to bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}.bru diff --git a/bruno/Joomla Web Services API/Languages Overrides/languages-overrides-{app}-{lang_code}.bru b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages Overrides/languages-overrides-{app}-{lang_code}.bru rename to bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}.bru diff --git a/bruno/Joomla Web Services API/Languages/folder.bru b/bruno/joomla-web-services-api/languages/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages/folder.bru rename to bruno/joomla-web-services-api/languages/folder.bru diff --git a/bruno/Joomla Web Services API/Languages/languages (POST).bru b/bruno/joomla-web-services-api/languages/languages-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages/languages (POST).bru rename to bruno/joomla-web-services-api/languages/languages-post.bru diff --git a/bruno/Joomla Web Services API/Languages/languages.bru b/bruno/joomla-web-services-api/languages/languages.bru similarity index 100% rename from bruno/Joomla Web Services API/Languages/languages.bru rename to bruno/joomla-web-services-api/languages/languages.bru diff --git a/bruno/Joomla Web Services API/Media Adapters/folder.bru b/bruno/joomla-web-services-api/media-adapters/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Media Adapters/folder.bru rename to bruno/joomla-web-services-api/media-adapters/folder.bru diff --git a/bruno/Joomla Web Services API/Media Adapters/Get Media Adapter.bru b/bruno/joomla-web-services-api/media-adapters/get-media-adapter.bru similarity index 100% rename from bruno/Joomla Web Services API/Media Adapters/Get Media Adapter.bru rename to bruno/joomla-web-services-api/media-adapters/get-media-adapter.bru diff --git a/bruno/Joomla Web Services API/Media Adapters/List Media Adapters.bru b/bruno/joomla-web-services-api/media-adapters/list-media-adapters.bru similarity index 100% rename from bruno/Joomla Web Services API/Media Adapters/List Media Adapters.bru rename to bruno/joomla-web-services-api/media-adapters/list-media-adapters.bru diff --git a/bruno/Joomla Web Services API/Media Files/Add Media File.bru b/bruno/joomla-web-services-api/media-files/add-media-file.bru similarity index 100% rename from bruno/Joomla Web Services API/Media Files/Add Media File.bru rename to bruno/joomla-web-services-api/media-files/add-media-file.bru diff --git a/bruno/Joomla Web Services API/Media Files/Delete Media File.bru b/bruno/joomla-web-services-api/media-files/delete-media-file.bru similarity index 100% rename from bruno/Joomla Web Services API/Media Files/Delete Media File.bru rename to bruno/joomla-web-services-api/media-files/delete-media-file.bru diff --git a/bruno/Joomla Web Services API/Media Files/folder.bru b/bruno/joomla-web-services-api/media-files/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Media Files/folder.bru rename to bruno/joomla-web-services-api/media-files/folder.bru diff --git a/bruno/Joomla Web Services API/Media Files/Get Media File(s).bru b/bruno/joomla-web-services-api/media-files/get-media-files.bru similarity index 100% rename from bruno/Joomla Web Services API/Media Files/Get Media File(s).bru rename to bruno/joomla-web-services-api/media-files/get-media-files.bru diff --git a/bruno/Joomla Web Services API/Media Files/List Media Files.bru b/bruno/joomla-web-services-api/media-files/list-media-files.bru similarity index 100% rename from bruno/Joomla Web Services API/Media Files/List Media Files.bru rename to bruno/joomla-web-services-api/media-files/list-media-files.bru diff --git a/bruno/Joomla Web Services API/Media Files/Update Media File.bru b/bruno/joomla-web-services-api/media-files/update-media-file.bru similarity index 100% rename from bruno/Joomla Web Services API/Media Files/Update Media File.bru rename to bruno/joomla-web-services-api/media-files/update-media-file.bru diff --git a/bruno/Joomla Web Services API/Menus Items/folder.bru b/bruno/joomla-web-services-api/menus-items/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Menus Items/folder.bru rename to bruno/joomla-web-services-api/menus-items/folder.bru diff --git a/bruno/Joomla Web Services API/Menus Items/menus-{app}-items (POST).bru b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Menus Items/menus-{app}-items (POST).bru rename to bruno/joomla-web-services-api/menus-items/menus-{app}-items-post.bru diff --git a/bruno/Joomla Web Services API/Menus Items/menus-{app}-items-types.bru b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-types.bru similarity index 100% rename from bruno/Joomla Web Services API/Menus Items/menus-{app}-items-types.bru rename to bruno/joomla-web-services-api/menus-items/menus-{app}-items-types.bru diff --git a/bruno/Joomla Web Services API/Menus Items/menus-{app}-items-{menu_item_id} (DELETE).bru b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Menus Items/menus-{app}-items-{menu_item_id} (DELETE).bru rename to bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Menus Items/menus-{app}-items-{menu_item_id} (PATCH).bru b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Menus Items/menus-{app}-items-{menu_item_id} (PATCH).bru rename to bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Menus Items/menus-{app}-items-{menu_item_id}.bru b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Menus Items/menus-{app}-items-{menu_item_id}.bru rename to bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}.bru diff --git a/bruno/Joomla Web Services API/Menus Items/menus-{app}-items.bru b/bruno/joomla-web-services-api/menus-items/menus-{app}-items.bru similarity index 100% rename from bruno/Joomla Web Services API/Menus Items/menus-{app}-items.bru rename to bruno/joomla-web-services-api/menus-items/menus-{app}-items.bru diff --git a/bruno/Joomla Web Services API/Menus/folder.bru b/bruno/joomla-web-services-api/menus/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Menus/folder.bru rename to bruno/joomla-web-services-api/menus/folder.bru diff --git a/bruno/Joomla Web Services API/Menus/menus-{app} (POST).bru b/bruno/joomla-web-services-api/menus/menus-{app}-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Menus/menus-{app} (POST).bru rename to bruno/joomla-web-services-api/menus/menus-{app}-post.bru diff --git a/bruno/Joomla Web Services API/Menus/menus-{app}-{menu_id} (DELETE).bru b/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Menus/menus-{app}-{menu_id} (DELETE).bru rename to bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Menus/menus-{app}-{menu_id} (PATCH).bru b/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Menus/menus-{app}-{menu_id} (PATCH).bru rename to bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Menus/menus-{app}-{menu_id}.bru b/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Menus/menus-{app}-{menu_id}.bru rename to bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}.bru diff --git a/bruno/Joomla Web Services API/Menus/menus-{app}.bru b/bruno/joomla-web-services-api/menus/menus-{app}.bru similarity index 100% rename from bruno/Joomla Web Services API/Menus/menus-{app}.bru rename to bruno/joomla-web-services-api/menus/menus-{app}.bru diff --git a/bruno/Joomla Web Services API/Messages/folder.bru b/bruno/joomla-web-services-api/messages/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Messages/folder.bru rename to bruno/joomla-web-services-api/messages/folder.bru diff --git a/bruno/Joomla Web Services API/Messages/messages (POST).bru b/bruno/joomla-web-services-api/messages/messages-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Messages/messages (POST).bru rename to bruno/joomla-web-services-api/messages/messages-post.bru diff --git a/bruno/Joomla Web Services API/Messages/messages-{message_id} (DELETE).bru b/bruno/joomla-web-services-api/messages/messages-{message_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Messages/messages-{message_id} (DELETE).bru rename to bruno/joomla-web-services-api/messages/messages-{message_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Messages/messages-{message_id} (PATCH).bru b/bruno/joomla-web-services-api/messages/messages-{message_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Messages/messages-{message_id} (PATCH).bru rename to bruno/joomla-web-services-api/messages/messages-{message_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Messages/messages-{message_id}.bru b/bruno/joomla-web-services-api/messages/messages-{message_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Messages/messages-{message_id}.bru rename to bruno/joomla-web-services-api/messages/messages-{message_id}.bru diff --git a/bruno/Joomla Web Services API/Messages/messages.bru b/bruno/joomla-web-services-api/messages/messages.bru similarity index 100% rename from bruno/Joomla Web Services API/Messages/messages.bru rename to bruno/joomla-web-services-api/messages/messages.bru diff --git a/bruno/Joomla Web Services API/Modules/folder.bru b/bruno/joomla-web-services-api/modules/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Modules/folder.bru rename to bruno/joomla-web-services-api/modules/folder.bru diff --git a/bruno/Joomla Web Services API/Modules/modules-types-{app}.bru b/bruno/joomla-web-services-api/modules/modules-types-{app}.bru similarity index 100% rename from bruno/Joomla Web Services API/Modules/modules-types-{app}.bru rename to bruno/joomla-web-services-api/modules/modules-types-{app}.bru diff --git a/bruno/Joomla Web Services API/Modules/modules-{app} (POST).bru b/bruno/joomla-web-services-api/modules/modules-{app}-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Modules/modules-{app} (POST).bru rename to bruno/joomla-web-services-api/modules/modules-{app}-post.bru diff --git a/bruno/Joomla Web Services API/Modules/modules-{app}-{module_id} (DELETE).bru b/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Modules/modules-{app}-{module_id} (DELETE).bru rename to bruno/joomla-web-services-api/modules/modules-{app}-{module_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Modules/modules-{app}-{module_id} (PATCH).bru b/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Modules/modules-{app}-{module_id} (PATCH).bru rename to bruno/joomla-web-services-api/modules/modules-{app}-{module_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Modules/modules-{app}-{module_id}.bru b/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Modules/modules-{app}-{module_id}.bru rename to bruno/joomla-web-services-api/modules/modules-{app}-{module_id}.bru diff --git a/bruno/Joomla Web Services API/Modules/modules-{app}.bru b/bruno/joomla-web-services-api/modules/modules-{app}.bru similarity index 100% rename from bruno/Joomla Web Services API/Modules/modules-{app}.bru rename to bruno/joomla-web-services-api/modules/modules-{app}.bru diff --git a/bruno/Joomla Web Services API/Newsfeeds/folder.bru b/bruno/joomla-web-services-api/newsfeeds/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Newsfeeds/folder.bru rename to bruno/joomla-web-services-api/newsfeeds/folder.bru diff --git a/bruno/Joomla Web Services API/Newsfeeds/newsfeeds-feeds (POST).bru b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Newsfeeds/newsfeeds-feeds (POST).bru rename to bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-post.bru diff --git a/bruno/Joomla Web Services API/Newsfeeds/newsfeeds-feeds-{feed_id} (DELETE).bru b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Newsfeeds/newsfeeds-feeds-{feed_id} (DELETE).bru rename to bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Newsfeeds/newsfeeds-feeds-{feed_id} (PATCH).bru b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Newsfeeds/newsfeeds-feeds-{feed_id} (PATCH).bru rename to bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Newsfeeds/newsfeeds-feeds-{feed_id}.bru b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Newsfeeds/newsfeeds-feeds-{feed_id}.bru rename to bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}.bru diff --git a/bruno/Joomla Web Services API/Newsfeeds/newsfeeds-feeds.bru b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds.bru similarity index 100% rename from bruno/Joomla Web Services API/Newsfeeds/newsfeeds-feeds.bru rename to bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds.bru diff --git a/bruno/Joomla Web Services API/Plugins/folder.bru b/bruno/joomla-web-services-api/plugins/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Plugins/folder.bru rename to bruno/joomla-web-services-api/plugins/folder.bru diff --git a/bruno/Joomla Web Services API/Plugins/plugins-{plugin_id} (PATCH).bru b/bruno/joomla-web-services-api/plugins/plugins-{plugin_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Plugins/plugins-{plugin_id} (PATCH).bru rename to bruno/joomla-web-services-api/plugins/plugins-{plugin_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Plugins/plugins-{plugin_id}.bru b/bruno/joomla-web-services-api/plugins/plugins-{plugin_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Plugins/plugins-{plugin_id}.bru rename to bruno/joomla-web-services-api/plugins/plugins-{plugin_id}.bru diff --git a/bruno/Joomla Web Services API/Plugins/plugins.bru b/bruno/joomla-web-services-api/plugins/plugins.bru similarity index 100% rename from bruno/Joomla Web Services API/Plugins/plugins.bru rename to bruno/joomla-web-services-api/plugins/plugins.bru diff --git a/bruno/Joomla Web Services API/Privacy Consents/folder.bru b/bruno/joomla-web-services-api/privacy-consents/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Privacy Consents/folder.bru rename to bruno/joomla-web-services-api/privacy-consents/folder.bru diff --git a/bruno/Joomla Web Services API/Privacy Consents/privacy-consents-{consent_id} (DELETE).bru b/bruno/joomla-web-services-api/privacy-consents/privacy-consents-{consent_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Privacy Consents/privacy-consents-{consent_id} (DELETE).bru rename to bruno/joomla-web-services-api/privacy-consents/privacy-consents-{consent_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Privacy Consents/privacy-consents-{consent_id}.bru b/bruno/joomla-web-services-api/privacy-consents/privacy-consents-{consent_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Privacy Consents/privacy-consents-{consent_id}.bru rename to bruno/joomla-web-services-api/privacy-consents/privacy-consents-{consent_id}.bru diff --git a/bruno/Joomla Web Services API/Privacy Consents/privacy-consents.bru b/bruno/joomla-web-services-api/privacy-consents/privacy-consents.bru similarity index 100% rename from bruno/Joomla Web Services API/Privacy Consents/privacy-consents.bru rename to bruno/joomla-web-services-api/privacy-consents/privacy-consents.bru diff --git a/bruno/Joomla Web Services API/Privacy Requests/folder.bru b/bruno/joomla-web-services-api/privacy-requests/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Privacy Requests/folder.bru rename to bruno/joomla-web-services-api/privacy-requests/folder.bru diff --git a/bruno/Joomla Web Services API/Privacy Requests/privacy-requests (POST).bru b/bruno/joomla-web-services-api/privacy-requests/privacy-requests-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Privacy Requests/privacy-requests (POST).bru rename to bruno/joomla-web-services-api/privacy-requests/privacy-requests-post.bru diff --git a/bruno/Joomla Web Services API/Privacy Requests/privacy-requests-{request_id}.bru b/bruno/joomla-web-services-api/privacy-requests/privacy-requests-{request_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Privacy Requests/privacy-requests-{request_id}.bru rename to bruno/joomla-web-services-api/privacy-requests/privacy-requests-{request_id}.bru diff --git a/bruno/Joomla Web Services API/Privacy Requests/privacy-requests.bru b/bruno/joomla-web-services-api/privacy-requests/privacy-requests.bru similarity index 100% rename from bruno/Joomla Web Services API/Privacy Requests/privacy-requests.bru rename to bruno/joomla-web-services-api/privacy-requests/privacy-requests.bru diff --git a/bruno/Joomla Web Services API/Privacy/folder.bru b/bruno/joomla-web-services-api/privacy/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Privacy/folder.bru rename to bruno/joomla-web-services-api/privacy/folder.bru diff --git a/bruno/Joomla Web Services API/Privacy/privacy-requests-export-{request_id}.bru b/bruno/joomla-web-services-api/privacy/privacy-requests-export-{request_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Privacy/privacy-requests-export-{request_id}.bru rename to bruno/joomla-web-services-api/privacy/privacy-requests-export-{request_id}.bru diff --git a/bruno/Joomla Web Services API/Redirects/folder.bru b/bruno/joomla-web-services-api/redirects/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Redirects/folder.bru rename to bruno/joomla-web-services-api/redirects/folder.bru diff --git a/bruno/Joomla Web Services API/Redirects/redirect.bru b/bruno/joomla-web-services-api/redirects/redirect.bru similarity index 100% rename from bruno/Joomla Web Services API/Redirects/redirect.bru rename to bruno/joomla-web-services-api/redirects/redirect.bru diff --git a/bruno/Joomla Web Services API/Redirects/redirects-{redirect_id} (DELETE).bru b/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Redirects/redirects-{redirect_id} (DELETE).bru rename to bruno/joomla-web-services-api/redirects/redirects-{redirect_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Redirects/redirects-{redirect_id} (PATCH).bru b/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Redirects/redirects-{redirect_id} (PATCH).bru rename to bruno/joomla-web-services-api/redirects/redirects-{redirect_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Redirects/redirects-{redirect_id}.bru b/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Redirects/redirects-{redirect_id}.bru rename to bruno/joomla-web-services-api/redirects/redirects-{redirect_id}.bru diff --git a/bruno/Joomla Web Services API/Redirects/redirects.bru b/bruno/joomla-web-services-api/redirects/redirects.bru similarity index 100% rename from bruno/Joomla Web Services API/Redirects/redirects.bru rename to bruno/joomla-web-services-api/redirects/redirects.bru diff --git a/bruno/Joomla Web Services API/Tags/folder.bru b/bruno/joomla-web-services-api/tags/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Tags/folder.bru rename to bruno/joomla-web-services-api/tags/folder.bru diff --git a/bruno/Joomla Web Services API/Tags/tags (POST).bru b/bruno/joomla-web-services-api/tags/tags-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Tags/tags (POST).bru rename to bruno/joomla-web-services-api/tags/tags-post.bru diff --git a/bruno/Joomla Web Services API/Tags/tags-{tag_id} (DELETE).bru b/bruno/joomla-web-services-api/tags/tags-{tag_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Tags/tags-{tag_id} (DELETE).bru rename to bruno/joomla-web-services-api/tags/tags-{tag_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Tags/tags-{tag_id} (PATCH).bru b/bruno/joomla-web-services-api/tags/tags-{tag_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Tags/tags-{tag_id} (PATCH).bru rename to bruno/joomla-web-services-api/tags/tags-{tag_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Tags/tags-{tag_id}.bru b/bruno/joomla-web-services-api/tags/tags-{tag_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Tags/tags-{tag_id}.bru rename to bruno/joomla-web-services-api/tags/tags-{tag_id}.bru diff --git a/bruno/Joomla Web Services API/Tags/tags.bru b/bruno/joomla-web-services-api/tags/tags.bru similarity index 100% rename from bruno/Joomla Web Services API/Tags/tags.bru rename to bruno/joomla-web-services-api/tags/tags.bru diff --git a/bruno/Joomla Web Services API/Templates Styles/folder.bru b/bruno/joomla-web-services-api/templates-styles/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Templates Styles/folder.bru rename to bruno/joomla-web-services-api/templates-styles/folder.bru diff --git a/bruno/Joomla Web Services API/Templates Styles/templates-styles-{app} (POST).bru b/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Templates Styles/templates-styles-{app} (POST).bru rename to bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-post.bru diff --git a/bruno/Joomla Web Services API/Templates Styles/templates-styles-{app}-{template_style_id} (PATCH).bru b/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-{template_style_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Templates Styles/templates-styles-{app}-{template_style_id} (PATCH).bru rename to bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-{template_style_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Templates Styles/templates-styles-{app}-{template_style_id}.bru b/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-{template_style_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Templates Styles/templates-styles-{app}-{template_style_id}.bru rename to bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-{template_style_id}.bru diff --git a/bruno/Joomla Web Services API/Templates Styles/templates-styles-{app}.bru b/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}.bru similarity index 100% rename from bruno/Joomla Web Services API/Templates Styles/templates-styles-{app}.bru rename to bruno/joomla-web-services-api/templates-styles/templates-styles-{app}.bru diff --git a/bruno/Joomla Web Services API/Templates/folder.bru b/bruno/joomla-web-services-api/templates/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Templates/folder.bru rename to bruno/joomla-web-services-api/templates/folder.bru diff --git a/bruno/Joomla Web Services API/Templates/templates-styles-{app}-{template_style_id} (DELETE).bru b/bruno/joomla-web-services-api/templates/templates-styles-{app}-{template_style_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Templates/templates-styles-{app}-{template_style_id} (DELETE).bru rename to bruno/joomla-web-services-api/templates/templates-styles-{app}-{template_style_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Users Fields Groups/fields-groups-users (POST).bru b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Fields Groups/fields-groups-users (POST).bru rename to bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-post.bru diff --git a/bruno/Joomla Web Services API/Users Fields Groups/fields-groups-users-{group_id} (DELETE).bru b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Fields Groups/fields-groups-users-{group_id} (DELETE).bru rename to bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Users Fields Groups/fields-groups-users-{group_id} (PATCH).bru b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Fields Groups/fields-groups-users-{group_id} (PATCH).bru rename to bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Users Fields Groups/fields-groups-users-{group_id}.bru b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Fields Groups/fields-groups-users-{group_id}.bru rename to bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}.bru diff --git a/bruno/Joomla Web Services API/Users Fields Groups/fields-groups-users.bru b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Fields Groups/fields-groups-users.bru rename to bruno/joomla-web-services-api/users-fields-groups/fields-groups-users.bru diff --git a/bruno/Joomla Web Services API/Users Fields Groups/folder.bru b/bruno/joomla-web-services-api/users-fields-groups/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Fields Groups/folder.bru rename to bruno/joomla-web-services-api/users-fields-groups/folder.bru diff --git a/bruno/Joomla Web Services API/Users Fields/fields-users (POST).bru b/bruno/joomla-web-services-api/users-fields/fields-users-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Fields/fields-users (POST).bru rename to bruno/joomla-web-services-api/users-fields/fields-users-post.bru diff --git a/bruno/Joomla Web Services API/Users Fields/fields-users-{field_id} (DELETE).bru b/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Fields/fields-users-{field_id} (DELETE).bru rename to bruno/joomla-web-services-api/users-fields/fields-users-{field_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Users Fields/fields-users-{field_id} (PATCH).bru b/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Fields/fields-users-{field_id} (PATCH).bru rename to bruno/joomla-web-services-api/users-fields/fields-users-{field_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Users Fields/fields-users-{field_id}.bru b/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Fields/fields-users-{field_id}.bru rename to bruno/joomla-web-services-api/users-fields/fields-users-{field_id}.bru diff --git a/bruno/Joomla Web Services API/Users Fields/fields-users.bru b/bruno/joomla-web-services-api/users-fields/fields-users.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Fields/fields-users.bru rename to bruno/joomla-web-services-api/users-fields/fields-users.bru diff --git a/bruno/Joomla Web Services API/Users Fields/folder.bru b/bruno/joomla-web-services-api/users-fields/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Fields/folder.bru rename to bruno/joomla-web-services-api/users-fields/folder.bru diff --git a/bruno/Joomla Web Services API/Users Groups/folder.bru b/bruno/joomla-web-services-api/users-groups/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Groups/folder.bru rename to bruno/joomla-web-services-api/users-groups/folder.bru diff --git a/bruno/Joomla Web Services API/Users Groups/users-groups (POST).bru b/bruno/joomla-web-services-api/users-groups/users-groups-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Groups/users-groups (POST).bru rename to bruno/joomla-web-services-api/users-groups/users-groups-post.bru diff --git a/bruno/Joomla Web Services API/Users Groups/users-groups-{group_id} (DELETE).bru b/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Groups/users-groups-{group_id} (DELETE).bru rename to bruno/joomla-web-services-api/users-groups/users-groups-{group_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Users Groups/users-groups-{group_id} (PATCH).bru b/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Groups/users-groups-{group_id} (PATCH).bru rename to bruno/joomla-web-services-api/users-groups/users-groups-{group_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Users Groups/users-groups-{group_id}.bru b/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Groups/users-groups-{group_id}.bru rename to bruno/joomla-web-services-api/users-groups/users-groups-{group_id}.bru diff --git a/bruno/Joomla Web Services API/Users Groups/users-groups.bru b/bruno/joomla-web-services-api/users-groups/users-groups.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Groups/users-groups.bru rename to bruno/joomla-web-services-api/users-groups/users-groups.bru diff --git a/bruno/Joomla Web Services API/Users Levels/folder.bru b/bruno/joomla-web-services-api/users-levels/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Levels/folder.bru rename to bruno/joomla-web-services-api/users-levels/folder.bru diff --git a/bruno/Joomla Web Services API/Users Levels/users-levels (POST).bru b/bruno/joomla-web-services-api/users-levels/users-levels-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Levels/users-levels (POST).bru rename to bruno/joomla-web-services-api/users-levels/users-levels-post.bru diff --git a/bruno/Joomla Web Services API/Users Levels/users-levels-{level_id} (DELETE).bru b/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Levels/users-levels-{level_id} (DELETE).bru rename to bruno/joomla-web-services-api/users-levels/users-levels-{level_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Users Levels/users-levels-{level_id} (PATCH).bru b/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Levels/users-levels-{level_id} (PATCH).bru rename to bruno/joomla-web-services-api/users-levels/users-levels-{level_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Users Levels/users-levels-{level_id}.bru b/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Levels/users-levels-{level_id}.bru rename to bruno/joomla-web-services-api/users-levels/users-levels-{level_id}.bru diff --git a/bruno/Joomla Web Services API/Users Levels/users-levels.bru b/bruno/joomla-web-services-api/users-levels/users-levels.bru similarity index 100% rename from bruno/Joomla Web Services API/Users Levels/users-levels.bru rename to bruno/joomla-web-services-api/users-levels/users-levels.bru diff --git a/bruno/Joomla Web Services API/Users/folder.bru b/bruno/joomla-web-services-api/users/folder.bru similarity index 100% rename from bruno/Joomla Web Services API/Users/folder.bru rename to bruno/joomla-web-services-api/users/folder.bru diff --git a/bruno/Joomla Web Services API/Users/users (POST).bru b/bruno/joomla-web-services-api/users/users-post.bru similarity index 100% rename from bruno/Joomla Web Services API/Users/users (POST).bru rename to bruno/joomla-web-services-api/users/users-post.bru diff --git a/bruno/Joomla Web Services API/Users/users-{user_id} (DELETE).bru b/bruno/joomla-web-services-api/users/users-{user_id}-delete.bru similarity index 100% rename from bruno/Joomla Web Services API/Users/users-{user_id} (DELETE).bru rename to bruno/joomla-web-services-api/users/users-{user_id}-delete.bru diff --git a/bruno/Joomla Web Services API/Users/users-{user_id} (PATCH).bru b/bruno/joomla-web-services-api/users/users-{user_id}-patch.bru similarity index 100% rename from bruno/Joomla Web Services API/Users/users-{user_id} (PATCH).bru rename to bruno/joomla-web-services-api/users/users-{user_id}-patch.bru diff --git a/bruno/Joomla Web Services API/Users/users-{user_id}.bru b/bruno/joomla-web-services-api/users/users-{user_id}.bru similarity index 100% rename from bruno/Joomla Web Services API/Users/users-{user_id}.bru rename to bruno/joomla-web-services-api/users/users-{user_id}.bru diff --git a/bruno/Joomla Web Services API/Users/users.bru b/bruno/joomla-web-services-api/users/users.bru similarity index 100% rename from bruno/Joomla Web Services API/Users/users.bru rename to bruno/joomla-web-services-api/users/users.bru From 7e03a9b557eaba3873a667ff07af5e69cc8d32e9 Mon Sep 17 00:00:00 2001 From: Martina Scholz Date: Thu, 19 Mar 2026 21:30:42 +0100 Subject: [PATCH 2/2] Add tests and pre-request data --- .../banners-categories/add-category.bru | 50 +++++++++-- .../banners-categories/delete-category.bru | 8 +- .../get-banners-category.bru | 11 +++ .../list-banners-categories.bru | 9 ++ .../update-banners-category.bru | 31 +++++-- .../banners-clients/add-banners-client.bru | 42 +++++++-- .../banners-clients/delete-banners-client.bru | 8 +- .../banners-clients/get-banners-client.bru | 11 +++ .../banners-clients/list-banners-clients.bru | 9 ++ .../banners-clients/update-banners-client.bru | 28 +++++- .../delete-banners-versions.bru | 6 ++ .../keep-banners-version.bru | 11 +++ .../list-banners-versions.bru | 11 +++ .../banners/add-banner.bru | 51 ++++++++--- .../banners/delete-banner.bru | 8 +- .../banners/get-banner.bru | 11 ++- .../banners/list-banners.bru | 9 ++ .../banners/update-banner.bru | 40 ++++++--- .../get-global-configuration.bru | 9 ++ .../update-global-configuration.bru | 20 ++++- .../get-component-configuration.bru | 11 ++- .../update-component-configuration.bru | 20 ++++- .../fields-groups-contacts-contact-post.bru | 69 +++++++++++---- ...ups-contacts-contact-{group_id}-delete.bru | 8 +- ...oups-contacts-contact-{group_id}-patch.bru | 28 +++++- ...lds-groups-contacts-contact-{group_id}.bru | 11 +++ .../fields-groups-contacts-contact.bru | 9 ++ ...-contacts-categories-{field_id}-delete.bru | 8 +- ...s-contacts-categories-{field_id}-patch.bru | 40 +++++++-- .../fields-contacts-categories-{field_id}.bru | 11 +++ .../fields-contacts-categories.bru | 69 +++++++++++---- .../list-contacts-categories-fields.bru | 9 ++ .../add-contacts-category.bru | 50 +++++++++-- .../delete-contacts-category.bru | 8 +- .../get-contacts-category.bru | 11 +++ .../list-contacts-categories.bru | 9 ++ .../update-contacts-category.bru | 31 +++++-- .../fields-contacts-contact-post.bru | 69 +++++++++++---- ...lds-contacts-contact-{field_id}-delete.bru | 8 +- ...elds-contacts-contact-{field_id}-patch.bru | 40 +++++++-- .../fields-contacts-contact-{field_id}.bru | 11 +++ .../fields-contacts-contact.bru | 9 ++ .../contacts-form-{contact_id}.bru | 33 ++++++- .../contacts/add-contact.bru | 36 +++++++- .../contacts/delete-contact.bru | 8 +- .../contacts/get-contact.bru | 11 +++ .../contacts/list-contacts.bru | 9 ++ .../contacts/update-contact.bru | 13 ++- .../fields-groups-content-articles-post.bru | 56 +++++++++--- ...ups-content-articles-{group_id}-delete.bru | 8 +- ...oups-content-articles-{group_id}-patch.bru | 28 +++++- ...lds-groups-content-articles-{group_id}.bru | 11 +++ .../fields-groups-content-articles.bru | 9 ++ .../fields-content-articles-post.bru | 73 ++++++++++++---- ...lds-content-articles-{field_id}-delete.bru | 8 +- ...elds-content-articles-{field_id}-patch.bru | 40 +++++++-- .../fields-content-articles-{field_id}.bru | 11 +++ .../fields-content-articles.bru | 9 ++ .../content-articles-post.bru | 45 ++++++++-- .../content-articles-{article_id}-delete.bru | 8 +- .../content-articles-{article_id}-patch.bru | 25 +++++- .../content-articles-{article_id}.bru | 11 +++ .../content-articles/content-articles.bru | 9 ++ .../fields-content-categories-post.bru | 73 ++++++++++++---- ...s-content-categories-{field_id}-delete.bru | 8 +- ...ds-content-categories-{field_id}-patch.bru | 40 +++++++-- .../fields-content-categories-{field_id}.bru | 11 +++ .../fields-content-categories.bru | 9 ++ .../content-categories-post.bru | 50 +++++++++-- ...ontent-categories-{category_id}-delete.bru | 8 +- ...content-categories-{category_id}-patch.bru | 31 +++++-- .../content-categories-{category_id}.bru | 11 +++ .../content-categories/content-categories.bru | 9 ++ .../tours-{tour_id}-steps-post.bru | 57 +++++++++--- .../tours-{tour_id}-steps-{step_id}-copy.bru | 25 +++++- ...tours-{tour_id}-steps-{step_id}-delete.bru | 8 +- .../tours-{tour_id}-steps-{step_id}.bru | 11 +++ .../tours-{tour_id}-steps.bru | 11 +++ .../guided-tours/tours-post.bru | 51 +++++++++-- .../guided-tours/tours-{tour_id}-delete.bru | 8 +- .../guided-tours/tours-{tour_id}-patch.bru | 22 ++++- .../guided-tours/tours-{tour_id}.bru | 11 +++ .../guided-tours/tours.bru | 9 ++ .../installer/extensions.bru | 9 ++ .../languages-content-post.bru | 60 ++++++++++--- .../languages-content-{language_id}-get.bru | 11 +++ .../languages-content-{language_id}-patch.bru | 38 ++++++-- .../languages-content-{language_id}.bru | 6 ++ .../languages-content/languages-content.bru | 9 ++ ...nguages-overrides-search-cache-refresh.bru | 18 ++++ .../languages-overrides-search.bru | 27 +++++- ...uages-overrides-{app}-{lang_code}-post.bru | 29 ++++++- ...{app}-{lang_code}-{constant_id}-delete.bru | 13 ++- ...-{app}-{lang_code}-{constant_id}-patch.bru | 24 ++++- ...rrides-{app}-{lang_code}-{constant_id}.bru | 16 ++++ .../languages-overrides-{app}-{lang_code}.bru | 14 +++ .../languages/languages-post.bru | 24 ++++- .../languages/languages.bru | 9 ++ .../media-adapters/get-media-adapter.bru | 11 +++ .../media-adapters/list-media-adapters.bru | 9 ++ .../media-files/add-media-file.bru | 27 +++++- .../media-files/delete-media-file.bru | 12 ++- .../media-files/get-media-files.bru | 13 +++ .../media-files/list-media-files.bru | 9 ++ .../media-files/update-media-file.bru | 23 ++++- .../menus-items/menus-{app}-items-post.bru | 87 ++++++++++++++----- .../menus-items/menus-{app}-items-types.bru | 13 +++ ...enus-{app}-items-{menu_item_id}-delete.bru | 10 +++ ...menus-{app}-items-{menu_item_id}-patch.bru | 39 +++++++-- .../menus-{app}-items-{menu_item_id}.bru | 15 ++++ .../menus-items/menus-{app}-items.bru | 13 +++ .../menus/menus-{app}-post.bru | 37 +++++++- .../menus/menus-{app}-{menu_id}-delete.bru | 12 ++- .../menus/menus-{app}-{menu_id}-patch.bru | 26 +++++- .../menus/menus-{app}-{menu_id}.bru | 15 ++++ .../menus/menus-{app}.bru | 13 +++ .../messages/messages-post.bru | 39 +++++++-- .../messages/messages-{message_id}-delete.bru | 8 +- .../messages/messages-{message_id}-patch.bru | 31 +++++-- .../messages/messages-{message_id}.bru | 11 +++ .../messages/messages.bru | 9 ++ .../modules/modules-types-{app}.bru | 13 +++ .../modules/modules-{app}-post.bru | 87 ++++++++++++++----- .../modules-{app}-{module_id}-delete.bru | 10 +++ .../modules-{app}-{module_id}-patch.bru | 39 +++++++-- .../modules/modules-{app}-{module_id}.bru | 15 ++++ .../modules/modules-{app}.bru | 13 +++ .../newsfeeds/newsfeeds-feeds-post.bru | 59 ++++++++++--- .../newsfeeds-feeds-{feed_id}-delete.bru | 8 +- .../newsfeeds-feeds-{feed_id}-patch.bru | 43 +++++++-- .../newsfeeds/newsfeeds-feeds-{feed_id}.bru | 11 +++ .../newsfeeds/newsfeeds-feeds.bru | 9 ++ .../plugins/plugins-{plugin_id}-patch.bru | 23 ++++- .../plugins/plugins-{plugin_id}.bru | 11 +++ .../plugins/plugins.bru | 9 ++ .../privacy-consents-{consent_id}-delete.bru | 6 ++ .../privacy-consents-{consent_id}.bru | 11 +++ .../privacy-consents/privacy-consents.bru | 9 ++ .../privacy-requests-post.bru | 27 +++++- .../privacy-requests-{request_id}.bru | 11 +++ .../privacy-requests/privacy-requests.bru | 9 ++ .../privacy-requests-export-{request_id}.bru | 11 +++ .../redirects/redirect.bru | 42 +++++++-- .../redirects-{redirect_id}-delete.bru | 6 ++ .../redirects-{redirect_id}-patch.bru | 20 ++++- .../redirects/redirects-{redirect_id}.bru | 11 +++ .../redirects/redirects.bru | 9 ++ .../tags/tags-post.bru | 54 +++++++++--- .../tags/tags-{tag_id}-delete.bru | 8 +- .../tags/tags-{tag_id}-patch.bru | 25 +++++- .../tags/tags-{tag_id}.bru | 11 +++ bruno/joomla-web-services-api/tags/tags.bru | 9 ++ .../templates-styles-{app}-post.bru | 40 +++++++-- ...styles-{app}-{template_style_id}-patch.bru | 24 ++++- ...lates-styles-{app}-{template_style_id}.bru | 15 ++++ .../templates-styles-{app}.bru | 13 +++ ...tyles-{app}-{template_style_id}-delete.bru | 10 +++ .../fields-groups-users-post.bru | 56 +++++++++--- .../fields-groups-users-{group_id}-delete.bru | 8 +- .../fields-groups-users-{group_id}-patch.bru | 28 +++++- .../fields-groups-users-{group_id}.bru | 11 +++ .../fields-groups-users.bru | 9 ++ .../users-fields/fields-users-post.bru | 73 ++++++++++++---- .../fields-users-{field_id}-delete.bru | 8 +- .../fields-users-{field_id}-patch.bru | 40 +++++++-- .../users-fields/fields-users-{field_id}.bru | 11 +++ .../users-fields/fields-users.bru | 9 ++ .../users-groups/users-groups-post.bru | 30 ++++++- .../users-groups-{group_id}-delete.bru | 8 +- .../users-groups-{group_id}-patch.bru | 22 ++++- .../users-groups/users-groups-{group_id}.bru | 11 +++ .../users-groups/users-groups.bru | 9 ++ .../users-levels/users-levels-post.bru | 30 ++++++- .../users-levels-{level_id}-delete.bru | 8 +- .../users-levels-{level_id}-patch.bru | 22 ++++- .../users-levels/users-levels-{level_id}.bru | 11 +++ .../users-levels/users-levels.bru | 9 ++ .../users/users-post.bru | 67 +++++++++++--- .../users/users-{user_id}-delete.bru | 8 +- .../users/users-{user_id}-patch.bru | 32 +++++-- .../users/users-{user_id}.bru | 11 +++ bruno/joomla-web-services-api/users/users.bru | 9 ++ 182 files changed, 3386 insertions(+), 520 deletions(-) diff --git a/bruno/joomla-web-services-api/banners-categories/add-category.bru b/bruno/joomla-web-services-api/banners-categories/add-category.bru index f0831aa..eb65338 100644 --- a/bruno/joomla-web-services-api/banners-categories/add-category.bru +++ b/bruno/joomla-web-services-api/banners-categories/add-category.bru @@ -12,20 +12,52 @@ post { body:json { { - "access": 0, - "alias": "", - "extension": "", - "language": "", - "note": "", + "access": {{categorie_access}}, + "alias": "{{categorie_alias}}", + "extension": "{{categorie_extension}}", + "language": "{{categorie_language}}", + "note": "{{categorie_note}}", "params": { - "workflow_id": 0 + "workflow_id": 1 }, - "parent_id": 0, - "published": 0, - "title": "" + "parent_id": {{categorie_parent_id}}, + "published": {{categorie_published}}, + "title": "{{categorie_title}}" } } +vars:pre-request { + categorie_access: 1 + categorie_alias: category-alias + categorie_extension: com_banners + categorie_language: * + categorie_note: + categorie_parent_id: 1 + categorie_published: 1 + categorie_title: A name for this Category +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("categorie_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("categorie_title")); + }); +} + example { name: 200 Response (banners/categories) description: todo: response object diff --git a/bruno/joomla-web-services-api/banners-categories/delete-category.bru b/bruno/joomla-web-services-api/banners-categories/delete-category.bru index e766c24..d4ca1df 100644 --- a/bruno/joomla-web-services-api/banners-categories/delete-category.bru +++ b/bruno/joomla-web-services-api/banners-categories/delete-category.bru @@ -1,7 +1,7 @@ meta { name: Delete Category type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/banners-categories/get-banners-category.bru b/bruno/joomla-web-services-api/banners-categories/get-banners-category.bru index a9b6f89..b875eb3 100644 --- a/bruno/joomla-web-services-api/banners-categories/get-banners-category.bru +++ b/bruno/joomla-web-services-api/banners-categories/get-banners-category.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/banners-categories/list-banners-categories.bru b/bruno/joomla-web-services-api/banners-categories/list-banners-categories.bru index 088b574..6a8b0e7 100644 --- a/bruno/joomla-web-services-api/banners-categories/list-banners-categories.bru +++ b/bruno/joomla-web-services-api/banners-categories/list-banners-categories.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/banners-categories/update-banners-category.bru b/bruno/joomla-web-services-api/banners-categories/update-banners-category.bru index 03f5371..d5c4495 100644 --- a/bruno/joomla-web-services-api/banners-categories/update-banners-category.bru +++ b/bruno/joomla-web-services-api/banners-categories/update-banners-category.bru @@ -1,7 +1,7 @@ meta { name: Update Banners Category type: http - seq: 5 + seq: 4 } patch { @@ -12,13 +12,34 @@ patch { body:json { { - "alias": "", - "note": "", - "parent_id": 0, - "title": "" + "alias": "{{category_updated_alias}}", + "note": "{{category_updated_note}}", + "parent_id": {{category_updated_parent_id}}, + "title": "{{category_updated_title}}" } } +vars:pre-request { + category_updated_alias: updated-category + category_updated_note: Updated note for this category. + category_updated_parent_id: 1 + category_updated_title: Updated Category name +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("category_updated_title")); + }); +} + example { name: 200 Response (banners/categories/{category_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/banners-clients/add-banners-client.bru b/bruno/joomla-web-services-api/banners-clients/add-banners-client.bru index ffdf079..6704720 100644 --- a/bruno/joomla-web-services-api/banners-clients/add-banners-client.bru +++ b/bruno/joomla-web-services-api/banners-clients/add-banners-client.bru @@ -12,15 +12,45 @@ post { body:json { { - "contact": "", - "email": "", - "extrainfo": "", - "metakey": "", - "name": "", - "state": 0 + "contact": "{{client_contact}}", + "email": "{{client_email}}", + "extrainfo": "{{client_extrainfo}}", + "metakey": "{{client_metakey}}", + "name": "{{client_name}}", + "state": {{client_state}} } } +vars:pre-request { + client_contact: Some ContactpersonName + client_email: somename@example.org + client_extrainfo: Some extra info about this Banners Client. + client_metakey: some keywords + client_name: Name of client + client_state: 1 +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("client_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("name matches", function() { + expect(res.body.data.attributes.name).to.equal(bru.getVar("client_name")); + }); +} + example { name: 200 Response (banners/clients) description: todo: response object diff --git a/bruno/joomla-web-services-api/banners-clients/delete-banners-client.bru b/bruno/joomla-web-services-api/banners-clients/delete-banners-client.bru index cf49e5b..dac3465 100644 --- a/bruno/joomla-web-services-api/banners-clients/delete-banners-client.bru +++ b/bruno/joomla-web-services-api/banners-clients/delete-banners-client.bru @@ -1,7 +1,7 @@ meta { name: Delete Banners Client type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/banners-clients/get-banners-client.bru b/bruno/joomla-web-services-api/banners-clients/get-banners-client.bru index bf1cbda..a610fa8 100644 --- a/bruno/joomla-web-services-api/banners-clients/get-banners-client.bru +++ b/bruno/joomla-web-services-api/banners-clients/get-banners-client.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/banners-clients/list-banners-clients.bru b/bruno/joomla-web-services-api/banners-clients/list-banners-clients.bru index 0366c00..beb9b02 100644 --- a/bruno/joomla-web-services-api/banners-clients/list-banners-clients.bru +++ b/bruno/joomla-web-services-api/banners-clients/list-banners-clients.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/banners-clients/update-banners-client.bru b/bruno/joomla-web-services-api/banners-clients/update-banners-client.bru index 9207890..54673f3 100644 --- a/bruno/joomla-web-services-api/banners-clients/update-banners-client.bru +++ b/bruno/joomla-web-services-api/banners-clients/update-banners-client.bru @@ -1,7 +1,7 @@ meta { name: Update Banners Client type: http - seq: 5 + seq: 4 } patch { @@ -12,12 +12,32 @@ patch { body:json { { - "contact": "", - "email": "", - "name": "" + "contact": "{{client_updated_contact}}", + "email": "{{client_updated_email}}", + "name": "{{client_updated_name}}" } } +vars:pre-request { + client_updated_contact: {{client_updated_contact}} + client_updated_email: {{client_updated_email}} + client_updated_name: {{client_updated_name}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("name updated", function() { + expect(res.body.data.attributes.name).to.equal(bru.getVar("client_updated_name")); + }); +} + example { name: 200 Response (banners/clients/1) description: todo: response object diff --git a/bruno/joomla-web-services-api/banners-content-history/delete-banners-versions.bru b/bruno/joomla-web-services-api/banners-content-history/delete-banners-versions.bru index 6a61834..b9fe26f 100644 --- a/bruno/joomla-web-services-api/banners-content-history/delete-banners-versions.bru +++ b/bruno/joomla-web-services-api/banners-content-history/delete-banners-versions.bru @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/banners-content-history/keep-banners-version.bru b/bruno/joomla-web-services-api/banners-content-history/keep-banners-version.bru index b057bb1..f87812d 100644 --- a/bruno/joomla-web-services-api/banners-content-history/keep-banners-version.bru +++ b/bruno/joomla-web-services-api/banners-content-history/keep-banners-version.bru @@ -14,6 +14,17 @@ params:path { version_id: } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response (banners/1/contenthistory/keep) description: todo: response object diff --git a/bruno/joomla-web-services-api/banners-content-history/list-banners-versions.bru b/bruno/joomla-web-services-api/banners-content-history/list-banners-versions.bru index 2152e0e..098cac5 100644 --- a/bruno/joomla-web-services-api/banners-content-history/list-banners-versions.bru +++ b/bruno/joomla-web-services-api/banners-content-history/list-banners-versions.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/banners/add-banner.bru b/bruno/joomla-web-services-api/banners/add-banner.bru index 4402c66..e3fa01b 100644 --- a/bruno/joomla-web-services-api/banners/add-banner.bru +++ b/bruno/joomla-web-services-api/banners/add-banner.bru @@ -12,22 +12,51 @@ post { body:json { { - "alias": "", - "catid": 0, - "clicks": 0, - "custombannercode": "", - "description": "", - "metakey": "", - "name": "", + "catid": {{banner_catid}}, + "clicks": {{banner_clicks}}, + "custombannercode": "{{banner_custombannercode}}", + "description": "{{banner_description}}", + "metakey": "{{banner_metakey}}", + "name": "{{banner_name}}", "params": { - "alt": "", - "height": 0, - "imageurl": "", - "width": 0 + "alt": "Managed user-facing alliance", + "height": 480, + "imageurl": "images/banners/banner.jpg", + "width": 640 } } } +vars:pre-request { + banner_catid: 3 + banner_clicks: 0 + banner_custombannercode: + banner_description: Some description of this Banner. + banner_metakey: some keywords + banner_name: Name for this Banner +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("banner_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("name matches", function() { + expect(res.body.data.attributes.name).to.equal(bru.getVar("banner_name")); + }); +} + example { name: 200 Response (banners) description: todo: response object diff --git a/bruno/joomla-web-services-api/banners/delete-banner.bru b/bruno/joomla-web-services-api/banners/delete-banner.bru index 33652eb..f5ca449 100644 --- a/bruno/joomla-web-services-api/banners/delete-banner.bru +++ b/bruno/joomla-web-services-api/banners/delete-banner.bru @@ -1,7 +1,7 @@ meta { name: Delete Banner type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/banners/get-banner.bru b/bruno/joomla-web-services-api/banners/get-banner.bru index 8adfdef..d3be27e 100644 --- a/bruno/joomla-web-services-api/banners/get-banner.bru +++ b/bruno/joomla-web-services-api/banners/get-banner.bru @@ -10,8 +10,15 @@ get { auth: inherit } -vars:pre-request { - banner_id: 3 +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); } example { diff --git a/bruno/joomla-web-services-api/banners/list-banners.bru b/bruno/joomla-web-services-api/banners/list-banners.bru index acbc384..764a698 100644 --- a/bruno/joomla-web-services-api/banners/list-banners.bru +++ b/bruno/joomla-web-services-api/banners/list-banners.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/banners/update-banner.bru b/bruno/joomla-web-services-api/banners/update-banner.bru index db9ac20..e0a420f 100644 --- a/bruno/joomla-web-services-api/banners/update-banner.bru +++ b/bruno/joomla-web-services-api/banners/update-banner.bru @@ -1,7 +1,7 @@ meta { name: Update Banner type: http - seq: 5 + seq: 4 } patch { @@ -12,22 +12,34 @@ patch { body:json { { - "alias": "", - "catid": 0, - "clicks": 0, - "custombannercode": "", - "description": "", - "metakey": "", - "name": "", - "params": { - "alt": "", - "height": 0, - "imageurl": "", - "width": 0 - } + "alias": "{{banner_updated_alias}}", + "catid": {{banner_updated_catid}}, + "description": "{{banner_updated_description}}", + "name": "{{banner_updated_name}}" } } +vars:pre-request { + banner_updated_alias: updated-alias + banner_updated_catid: 3 + banner_updated_description: Updated description + banner_updated_name: Updated name of the Banner +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("name updated", function() { + expect(res.body.data.attributes.name).to.equal(bru.getVar("banner_updated_name")); + }); +} + example { name: 200 Response (banners/1) description: todo: response object diff --git a/bruno/joomla-web-services-api/config-application/get-global-configuration.bru b/bruno/joomla-web-services-api/config-application/get-global-configuration.bru index aec3c37..a5596af 100644 --- a/bruno/joomla-web-services-api/config-application/get-global-configuration.bru +++ b/bruno/joomla-web-services-api/config-application/get-global-configuration.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/config-application/update-global-configuration.bru b/bruno/joomla-web-services-api/config-application/update-global-configuration.bru index e87fed3..a72510a 100644 --- a/bruno/joomla-web-services-api/config-application/update-global-configuration.bru +++ b/bruno/joomla-web-services-api/config-application/update-global-configuration.bru @@ -12,11 +12,27 @@ patch { body:json { { - "debug": false, - "sitename": "" + "debug": {{application_updated_debug}}, + "sitename": "{{application_updated_sitename}}" } } +vars:pre-request { + application_updated_debug: true + application_updated_sitename: The Name of the Site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response (config/application) description: todo: response object diff --git a/bruno/joomla-web-services-api/config-component/get-component-configuration.bru b/bruno/joomla-web-services-api/config-component/get-component-configuration.bru index e83e28a..a575e53 100644 --- a/bruno/joomla-web-services-api/config-component/get-component-configuration.bru +++ b/bruno/joomla-web-services-api/config-component/get-component-configuration.bru @@ -11,7 +11,16 @@ get { } vars:pre-request { - component_name: com_contacts + component_name: component_name +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); } example { diff --git a/bruno/joomla-web-services-api/config-component/update-component-configuration.bru b/bruno/joomla-web-services-api/config-component/update-component-configuration.bru index 7b4bfe7..2522024 100644 --- a/bruno/joomla-web-services-api/config-component/update-component-configuration.bru +++ b/bruno/joomla-web-services-api/config-component/update-component-configuration.bru @@ -11,7 +11,25 @@ patch { } body:json { - {} + { + "show_title": {{config_updated_show_title}} + } +} + +vars:pre-request { + component_name: component_name + config_updated_show_title: false +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); } example { diff --git a/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-post.bru b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-post.bru index 35c35fa..c8d4762 100644 --- a/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-post.bru +++ b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-post.bru @@ -12,19 +12,19 @@ post { body:json { { - "access": 0, - "context": "", - "default_value": "", - "description": "", - "group_id": 0, - "label": "", - "language": "", - "name": "", - "note": "", + "access": {{contact_access}}, + "context": "{{contact_context}}", + "default_value": "{{contact_default_value}}", + "description": "{{contact_description}}", + "group_id": {{contact_group_id}}, + "label": "{{contact_label}}", + "language": "{{contact_language}}", + "name": "{{contact_name}}", + "note": "{{contact_note}}", "params": { "class": "", - "display": "", - "display_readonly": "", + "display": "2", + "display_readonly": "2", "hint": "", "label_class": "", "label_render_class": "", @@ -32,16 +32,53 @@ body:json { "prefix": "", "render_class": "", "show_on": "", - "showlabel": "", + "showlabel": "1", "suffix": "" }, - "required": 0, - "state": 0, - "title": "", - "type": "" + "required": {{contact_required}}, + "state": {{contact_state}}, + "title": "{{contact_title}}", + "type": "{{contact_type}}" } } +vars:pre-request { + contact_access: 1 + contact_context: com_contact.contact + contact_default_value: + contact_description: + contact_group_id: 0 + contact_label: contact field + contact_language: * + contact_name: contact-field3 + contact_note: + contact_required: 0 + contact_state: 1 + contact_title: contact field + contact_type: text +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("contact_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("contact_title")); + }); +} + example { name: 200 Response (fields/groups/contacts/categories) description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-delete.bru b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-delete.bru index 691d11e..04f2a5a 100644 --- a/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-delete.bru +++ b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: fields/groups/contacts/contact/{group_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-patch.bru b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-patch.bru index bb3e777..9afc400 100644 --- a/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-patch.bru +++ b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: fields/groups/contacts/contact/{group_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,12 +12,32 @@ patch { body:json { { - "description": "", - "note": "", - "title": "" + "description": "{{group_updated_description}}", + "note": "{{group_updated_note}}", + "title": "{{group_updated_title}}" } } +vars:pre-request { + group_updated_description: {{group_updated_description}} + group_updated_note: {{group_updated_note}} + group_updated_title: {{group_updated_title}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("group_updated_title")); + }); +} + example { name: 200 Response (fields/groups/contacts/categories/{group_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}.bru b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}.bru index 13fbbea..17b7450 100644 --- a/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}.bru +++ b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact-{group_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact.bru b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact.bru index 7156de1..5adca51 100644 --- a/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact.bru +++ b/bruno/joomla-web-services-api/contacts-categories-fields-groups/fields-groups-contacts-contact.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-delete.bru b/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-delete.bru index aff09a3..f8eeb59 100644 --- a/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-delete.bru +++ b/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: fields/contacts/categories/{field_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-patch.bru b/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-patch.bru index f878398..3225c5c 100644 --- a/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-patch.bru +++ b/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: fields/contacts/categories/{field_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,16 +12,40 @@ patch { body:json { { - "default_value": "", - "description": "", - "label": "", - "name": "", - "note": "", - "title": "", - "type": "" + "default_value": "{{field_updated_default_value}}", + "description": "{{field_updated_description}}", + "label": "{{field_updated_label}}", + "name": "{{field_updated_name}}", + "note": "{{field_updated_note}}", + "title": "{{field_updated_title}}", + "type": "{{field_updated_type}}" } } +vars:pre-request { + field_updated_default_value: {{field_updated_default_value}} + field_updated_description: {{field_updated_description}} + field_updated_label: {{field_updated_label}} + field_updated_name: {{field_updated_name}} + field_updated_note: {{field_updated_note}} + field_updated_title: {{field_updated_title}} + field_updated_type: {{field_updated_type}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("field_updated_title")); + }); +} + example { name: 200 Response (fields/contacts/categories/{field_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}.bru b/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}.bru index b211eef..4df08c6 100644 --- a/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}.bru +++ b/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories-{field_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories.bru b/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories.bru index ecee921..35c12ff 100644 --- a/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories.bru +++ b/bruno/joomla-web-services-api/contacts-categories-fields/fields-contacts-categories.bru @@ -12,19 +12,19 @@ post { body:json { { - "access": 0, - "context": "", - "default_value": "", - "description": "", - "group_id": 0, - "label": "", - "language": "", - "name": "", - "note": "", + "access": {{categorie_access}}, + "context": "{{categorie_context}}", + "default_value": "{{categorie_default_value}}", + "description": "{{categorie_description}}", + "group_id": {{categorie_group_id}}, + "label": "{{categorie_label}}", + "language": "{{categorie_language}}", + "name": "{{categorie_name}}", + "note": "{{categorie_note}}", "params": { "class": "", - "display": "", - "display_readonly": "", + "display": "2", + "display_readonly": "2", "hint": "", "label_class": "", "label_render_class": "", @@ -32,16 +32,53 @@ body:json { "prefix": "", "render_class": "", "show_on": "", - "showlabel": "", + "showlabel": "1", "suffix": "" }, - "required": 0, - "state": 0, - "title": "", - "type": "" + "required": {{categorie_required}}, + "state": {{categorie_state}}, + "title": "{{categorie_title}}", + "type": "{{categorie_type}}" } } +vars:pre-request { + categorie_access: 1 + categorie_context: com_contact.categories + categorie_default_value: + categorie_description: + categorie_group_id: 0 + categorie_label: contact category field + categorie_language: * + categorie_name: contact-category-field + categorie_note: + categorie_required: 0 + categorie_state: 1 + categorie_title: contact category field + categorie_type: text +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("categorie_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("categorie_title")); + }); +} + example { name: 200 Response (fields/contacts/categories) description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories-fields/list-contacts-categories-fields.bru b/bruno/joomla-web-services-api/contacts-categories-fields/list-contacts-categories-fields.bru index 2d68fec..0473fec 100644 --- a/bruno/joomla-web-services-api/contacts-categories-fields/list-contacts-categories-fields.bru +++ b/bruno/joomla-web-services-api/contacts-categories-fields/list-contacts-categories-fields.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories/add-contacts-category.bru b/bruno/joomla-web-services-api/contacts-categories/add-contacts-category.bru index 67e2737..b28b435 100644 --- a/bruno/joomla-web-services-api/contacts-categories/add-contacts-category.bru +++ b/bruno/joomla-web-services-api/contacts-categories/add-contacts-category.bru @@ -12,20 +12,52 @@ post { body:json { { - "access": 0, - "alias": "", - "extension": "", - "language": "", - "note": "", + "access": {{categorie_access}}, + "alias": "{{categorie_alias}}", + "extension": "{{categorie_extension}}", + "language": "{{categorie_language}}", + "note": "{{categorie_note}}", "params": { - "workflow_id": 0 + "workflow_id": 1 }, - "parent_id": 0, - "published": 0, - "title": "" + "parent_id": {{categorie_parent_id}}, + "published": {{categorie_published}}, + "title": "{{categorie_title}}" } } +vars:pre-request { + categorie_access: 1 + categorie_alias: 024a3408-dee0-45b9-965c-668aa89a0b9b + categorie_extension: com_contacts + categorie_language: * + categorie_note: + categorie_parent_id: 1 + categorie_published: 1 + categorie_title: Direct Quality Representative +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("categorie_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("categorie_title")); + }); +} + example { name: 200 Response (contacts/categories) description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories/delete-contacts-category.bru b/bruno/joomla-web-services-api/contacts-categories/delete-contacts-category.bru index bf75a83..bc11c9a 100644 --- a/bruno/joomla-web-services-api/contacts-categories/delete-contacts-category.bru +++ b/bruno/joomla-web-services-api/contacts-categories/delete-contacts-category.bru @@ -1,7 +1,7 @@ meta { name: Delete Contacts Category type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories/get-contacts-category.bru b/bruno/joomla-web-services-api/contacts-categories/get-contacts-category.bru index 2ab5a01..3c6571c 100644 --- a/bruno/joomla-web-services-api/contacts-categories/get-contacts-category.bru +++ b/bruno/joomla-web-services-api/contacts-categories/get-contacts-category.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories/list-contacts-categories.bru b/bruno/joomla-web-services-api/contacts-categories/list-contacts-categories.bru index 4248f4b..ab76f36 100644 --- a/bruno/joomla-web-services-api/contacts-categories/list-contacts-categories.bru +++ b/bruno/joomla-web-services-api/contacts-categories/list-contacts-categories.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-categories/update-contacts-category.bru b/bruno/joomla-web-services-api/contacts-categories/update-contacts-category.bru index 04ed135..fa89883 100644 --- a/bruno/joomla-web-services-api/contacts-categories/update-contacts-category.bru +++ b/bruno/joomla-web-services-api/contacts-categories/update-contacts-category.bru @@ -1,7 +1,7 @@ meta { name: Update Contacts Category} type: http - seq: 5 + seq: 4 } patch { @@ -12,13 +12,34 @@ patch { body:json { { - "alias": "", - "note": "", - "parent_id": 0, - "title": "" + "alias": "{{category_updated_alias}}", + "note": "{{category_updated_note}}", + "parent_id": {{category_updated_parent_id}}, + "title": "{{category_updated_title}}" } } +vars:pre-request { + category_updated_alias: 54031ae9-241c-4fc7-8a74-595547e4a1e3 + category_updated_note: Esse voluptate consequatur et ad repellendus mollitia maiores. + category_updated_parent_id: 1 + category_updated_title: Incredible Cotton Car +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("category_updated_title")); + }); +} + example { name: 200 Response (contacts/categories/{category_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-post.bru b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-post.bru index 1452e4b..ecb9d08 100644 --- a/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-post.bru +++ b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-post.bru @@ -12,19 +12,19 @@ post { body:json { { - "access": 0, - "context": "", - "default_value": "", - "description": "", - "group_id": 0, - "label": "", - "language": "", - "name": "", - "note": "", + "access": {{contact_access}}, + "context": "{{contact_context}}", + "default_value": "{{contact_default_value}}", + "description": "{{contact_description}}", + "group_id": {{contact_group_id}}, + "label": "{{contact_label}}", + "language": "{{contact_language}}", + "name": "{{contact_name}}", + "note": "{{contact_note}}", "params": { "class": "", - "display": "", - "display_readonly": "", + "display": "2", + "display_readonly": "2", "hint": "", "label_class": "", "label_render_class": "", @@ -32,16 +32,53 @@ body:json { "prefix": "", "render_class": "", "show_on": "", - "showlabel": "", + "showlabel": "1", "suffix": "" }, - "required": 0, - "state": 0, - "title": "", - "type": "" + "required": {{contact_required}}, + "state": {{contact_state}}, + "title": "{{contact_title}}", + "type": "{{contact_type}}" } } +vars:pre-request { + contact_access: 1 + contact_context: com_contact.contact + contact_default_value: + contact_description: + contact_group_id: 0 + contact_label: contact field + contact_language: * + contact_name: contact-field + contact_note: + contact_required: 0 + contact_state: 1 + contact_title: contact field + contact_type: text +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("contact_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("contact_title")); + }); +} + example { name: 200 Response (fields/contacts/contact) description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-delete.bru b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-delete.bru index 5bc9faa..0aa37a4 100644 --- a/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-delete.bru +++ b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: fields/contacts/contact/{field_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-patch.bru b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-patch.bru index 592a25b..e4bcc4f 100644 --- a/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-patch.bru +++ b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: fields/contacts/contact/{field_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,16 +12,40 @@ patch { body:json { { - "default_value": "", - "description": "", - "label": "", - "name": "", - "note": "", - "title": "", - "type": "" + "default_value": "{{field_updated_default_value}}", + "description": "{{field_updated_description}}", + "label": "{{field_updated_label}}", + "name": "{{field_updated_name}}", + "note": "{{field_updated_note}}", + "title": "{{field_updated_title}}", + "type": "{{field_updated_type}}" } } +vars:pre-request { + field_updated_default_value: {{field_updated_default_value}} + field_updated_description: {{field_updated_description}} + field_updated_label: {{field_updated_label}} + field_updated_name: {{field_updated_name}} + field_updated_note: {{field_updated_note}} + field_updated_title: {{field_updated_title}} + field_updated_type: {{field_updated_type}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("field_updated_title")); + }); +} + example { name: 200 Response (fields/contacts/contact/{field_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}.bru b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}.bru index 289facc..58bc7ea 100644 --- a/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}.bru +++ b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact-{field_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact.bru b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact.bru index 97ef740..d608c8b 100644 --- a/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact.bru +++ b/bruno/joomla-web-services-api/contacts-fields/fields-contacts-contact.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts-form/contacts-form-{contact_id}.bru b/bruno/joomla-web-services-api/contacts-form/contacts-form-{contact_id}.bru index d3aee4d..46722a0 100644 --- a/bruno/joomla-web-services-api/contacts-form/contacts-form-{contact_id}.bru +++ b/bruno/joomla-web-services-api/contacts-form/contacts-form-{contact_id}.bru @@ -12,13 +12,38 @@ post { body:json { { - "contact_email": "", - "contact_message": "", - "contact_name": "", - "contact_subject": "" + "contact_email": "{{form_contact_email}}", + "contact_message": "{{form_contact_message}}", + "contact_name": "{{form_contact_name}}", + "contact_subject": "{{form_contact_subject}}" } } +vars:pre-request { + form_contact_email: {{form_contact_email}} + form_contact_message: {{form_contact_message}} + form_contact_name: {{form_contact_name}} + form_contact_subject: {{form_contact_subject}} +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("contact_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response (contacts/form/{contact_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts/add-contact.bru b/bruno/joomla-web-services-api/contacts/add-contact.bru index 478ccbe..d0b251d 100644 --- a/bruno/joomla-web-services-api/contacts/add-contact.bru +++ b/bruno/joomla-web-services-api/contacts/add-contact.bru @@ -12,13 +12,41 @@ post { body:json { { - "alias": "", - "catid": 0, - "language": "", - "name": "" + "alias": "{{contact_alias}}", + "catid": {{contact_catid}}, + "language": "{{contact_language}}", + "name": "{{contact_name}}" } } +vars:pre-request { + contact_alias: someones-name + contact_catid: 4 + contact_language: * + contact_name: Someones Name +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("contact_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("name matches", function() { + expect(res.body.data.attributes.name).to.equal(bru.getVar("contact_name")); + }); +} + example { name: 200 Response (contacts) description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts/delete-contact.bru b/bruno/joomla-web-services-api/contacts/delete-contact.bru index ebd002e..1eb4c4e 100644 --- a/bruno/joomla-web-services-api/contacts/delete-contact.bru +++ b/bruno/joomla-web-services-api/contacts/delete-contact.bru @@ -1,7 +1,7 @@ meta { name: Delete Contact type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts/get-contact.bru b/bruno/joomla-web-services-api/contacts/get-contact.bru index 13e0d8d..b4ab864 100644 --- a/bruno/joomla-web-services-api/contacts/get-contact.bru +++ b/bruno/joomla-web-services-api/contacts/get-contact.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts/list-contacts.bru b/bruno/joomla-web-services-api/contacts/list-contacts.bru index c04ff77..b8d423c 100644 --- a/bruno/joomla-web-services-api/contacts/list-contacts.bru +++ b/bruno/joomla-web-services-api/contacts/list-contacts.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/contacts/update-contact.bru b/bruno/joomla-web-services-api/contacts/update-contact.bru index 9a2bf57..0704148 100644 --- a/bruno/joomla-web-services-api/contacts/update-contact.bru +++ b/bruno/joomla-web-services-api/contacts/update-contact.bru @@ -1,7 +1,7 @@ meta { name: Update Contact type: http - seq: 5 + seq: 4 } patch { @@ -10,6 +10,17 @@ patch { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response (contacts/{contact_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-post.bru b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-post.bru index b7e1fff..749c23a 100644 --- a/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-post.bru +++ b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-post.bru @@ -12,22 +12,56 @@ post { body:json { { - "access": 0, - "checked_out": 0, - "context": "", - "created_by": 0, - "description": "", - "language": "", - "note": "", + "access": {{article_access}}, + "checked_out": {{article_checked_out}}, + "context": "{{article_context}}", + "created_by": {{article_created_by}}, + "description": "{{article_description}}", + "language": "{{article_language}}", + "note": "{{article_note}}", "params": { - "display_readonly": "" + "display_readonly": "1" }, - "required": 0, - "state": 0, - "title": "" + "required": {{article_required}}, + "state": {{article_state}}, + "title": "{{article_title}}" } } +vars:pre-request { + article_access: 1 + article_checked_out: 0 + article_context: com_content.article + article_created_by: 0 + article_description: + article_language: * + article_note: + article_required: 0 + article_state: 1 + article_title: article field group +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("article_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("article_title")); + }); +} + example { name: 200 Response (fields/groups/content/articles) description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-delete.bru b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-delete.bru index efd68f2..43c1df1 100644 --- a/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-delete.bru +++ b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: fields/groups/content/articles/{group_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-patch.bru b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-patch.bru index 981c312..a0a122a 100644 --- a/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-patch.bru +++ b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: fields/groups/content/articles/{group_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,12 +12,32 @@ patch { body:json { { - "description": "", - "note": "", - "title": "" + "description": "{{group_updated_description}}", + "note": "{{group_updated_note}}", + "title": "{{group_updated_title}}" } } +vars:pre-request { + group_updated_description: {{group_updated_description}} + group_updated_note: {{group_updated_note}} + group_updated_title: {{group_updated_title}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("group_updated_title")); + }); +} + example { name: 200 Response (fields/groups/content/articles/{group_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}.bru b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}.bru index 2f663cc..0ef8f68 100644 --- a/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}.bru +++ b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles-{group_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles.bru b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles.bru index 45be1b3..abd4f38 100644 --- a/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles.bru +++ b/bruno/joomla-web-services-api/content-articles-fields-groups/fields-groups-content-articles.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-post.bru b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-post.bru index 40925df..35b1a6a 100644 --- a/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-post.bru +++ b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-post.bru @@ -12,23 +12,23 @@ post { body:json { { - "access": 0, - "context": "", - "default_value": "", - "description": "", + "access": {{article_access}}, + "context": "{{article_context}}", + "default_value": "{{article_default_value}}", + "description": "{{article_description}}", "fieldparams": { - "filter": "", - "maxlength": 0 + "filter": "alnum", + "maxlength": 40 }, - "group_id": 0, - "label": "", - "language": "", - "name": "", - "note": "", + "group_id": {{article_group_id}}, + "label": "{{article_label}}", + "language": "{{article_language}}", + "name": "{{article_name}}", + "note": "{{article_note}}", "params": { "class": "", - "display": "", - "display_readonly": "", + "display": "2", + "display_readonly": "2", "hint": "", "label_class": "", "label_render_class": "", @@ -36,16 +36,53 @@ body:json { "prefix": "", "render_class": "", "show_on": "", - "showlabel": "", + "showlabel": "1", "suffix": "" }, - "required": 0, - "state": 0, - "title": "", - "type": "" + "required": {{article_required}}, + "state": {{article_state}}, + "title": "{{article_title}}", + "type": "{{article_type}}" } } +vars:pre-request { + article_access: 1 + article_context: com_content.article + article_default_value: + article_description: + article_group_id: 0 + article_label: article field + article_language: * + article_name: article-field + article_note: + article_required: 0 + article_state: 1 + article_title: article field + article_type: text +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("article_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("article_title")); + }); +} + example { name: 200 Response (fields/content/articles) description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-delete.bru b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-delete.bru index d63f30b..9320210 100644 --- a/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-delete.bru +++ b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: fields/content/articles/{field_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-patch.bru b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-patch.bru index abec594..827edcb 100644 --- a/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-patch.bru +++ b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: fields/content/articles/{field_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,16 +12,40 @@ patch { body:json { { - "default_value": "", - "description": "", - "label": "", - "name": "", - "note": "", - "title": "", - "type": "" + "default_value": "{{field_updated_default_value}}", + "description": "{{field_updated_description}}", + "label": "{{field_updated_label}}", + "name": "{{field_updated_name}}", + "note": "{{field_updated_note}}", + "title": "{{field_updated_title}}", + "type": "{{field_updated_type}}" } } +vars:pre-request { + field_updated_default_value: {{field_updated_default_value}} + field_updated_description: {{field_updated_description}} + field_updated_label: {{field_updated_label}} + field_updated_name: {{field_updated_name}} + field_updated_note: {{field_updated_note}} + field_updated_title: {{field_updated_title}} + field_updated_type: {{field_updated_type}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("field_updated_title")); + }); +} + example { name: 200 Response (fields/content/articles/{field_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}.bru b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}.bru index f5825d8..592e569 100644 --- a/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}.bru +++ b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles-{field_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles.bru b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles.bru index c2c9370..39e6c93 100644 --- a/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles.bru +++ b/bruno/joomla-web-services-api/content-articles-fields/fields-content-articles.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles/content-articles-post.bru b/bruno/joomla-web-services-api/content-articles/content-articles-post.bru index 1af6a76..b48313c 100644 --- a/bruno/joomla-web-services-api/content-articles/content-articles-post.bru +++ b/bruno/joomla-web-services-api/content-articles/content-articles-post.bru @@ -12,16 +12,47 @@ post { body:json { { - "alias": "", - "articletext": "", - "catid": 0, - "language": "", - "metadesc": "", - "metakey": "", - "title": "" + "alias": "{{article_alias}}", + "articletext": "{{article_articletext}}", + "catid": {{article_catid}}, + "language": "{{article_language}}", + "metadesc": "{{article_metadesc}}", + "metakey": "{{article_metakey}}", + "title": "{{article_title}}" } } +vars:pre-request { + article_alias: my-article + article_articletext: My text + article_catid: 64 + article_language: * + article_metadesc: + article_metakey: + article_title: Here's an article +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("article_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("article_title")); + }); +} + example { name: 200 Response (content/articles) description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}-delete.bru b/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}-delete.bru index ccf5f0d..1f15269 100644 --- a/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}-delete.bru +++ b/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: content/articles/{article_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}-patch.bru b/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}-patch.bru index b4817a9..7a767e8 100644 --- a/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}-patch.bru +++ b/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: content/articles/{article_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,11 +12,30 @@ patch { body:json { { - "catid": 0, - "title": "" + "catid": {{article_updated_catid}}, + "title": "{{article_updated_title}}" } } +vars:pre-request { + article_updated_catid: 64 + article_updated_title: Updated article +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("article_updated_title")); + }); +} + example { name: 200 Response (content/articles/{article_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}.bru b/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}.bru index 098a011..e089c84 100644 --- a/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}.bru +++ b/bruno/joomla-web-services-api/content-articles/content-articles-{article_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-articles/content-articles.bru b/bruno/joomla-web-services-api/content-articles/content-articles.bru index 31e1a97..88f9b45 100644 --- a/bruno/joomla-web-services-api/content-articles/content-articles.bru +++ b/bruno/joomla-web-services-api/content-articles/content-articles.bru @@ -22,6 +22,15 @@ params:query { ~list[direction]: } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-post.bru b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-post.bru index c42be66..079e862 100644 --- a/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-post.bru +++ b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-post.bru @@ -12,23 +12,23 @@ post { body:json { { - "access": 0, - "context": "", - "default_value": "", - "description": "", + "access": {{categorie_access}}, + "context": "{{categorie_context}}", + "default_value": "{{categorie_default_value}}", + "description": "{{categorie_description}}", "fieldparams": { - "filter": "", - "maxlength": 0 + "filter": "alnum", + "maxlength": 40 }, - "group_id": 0, - "label": "", - "language": "", - "name": "", - "note": "", + "group_id": {{categorie_group_id}}, + "label": "{{categorie_label}}", + "language": "{{categorie_language}}", + "name": "{{categorie_name}}", + "note": "{{categorie_note}}", "params": { "class": "", - "display": "", - "display_readonly": "", + "display": "2", + "display_readonly": "2", "hint": "", "label_class": "", "label_render_class": "", @@ -36,16 +36,53 @@ body:json { "prefix": "", "render_class": "", "show_on": "", - "showlabel": "", + "showlabel": "1", "suffix": "" }, - "required": 0, - "state": 0, - "title": "", - "type": "" + "required": {{categorie_required}}, + "state": {{categorie_state}}, + "title": "{{categorie_title}}", + "type": "{{categorie_type}}" } } +vars:pre-request { + categorie_access: 1 + categorie_context: com_content.categories + categorie_default_value: + categorie_description: + categorie_group_id: 0 + categorie_label: content category field + categorie_language: * + categorie_name: content-category-field + categorie_note: + categorie_required: 0 + categorie_state: 1 + categorie_title: content category field + categorie_type: text +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("categorie_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("categorie_title")); + }); +} + example { name: 200 Response (fields/content/categories) description: todo: response object diff --git a/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-delete.bru b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-delete.bru index 8b3225e..2bb8f9a 100644 --- a/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-delete.bru +++ b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: fields/content/categories/{field_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-patch.bru b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-patch.bru index deb6979..4197a53 100644 --- a/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-patch.bru +++ b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: fields/content/categories/{field_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,16 +12,40 @@ patch { body:json { { - "default_value": "", - "description": "", - "label": "", - "name": "", - "note": "", - "title": "", - "type": "" + "default_value": "{{field_updated_default_value}}", + "description": "{{field_updated_description}}", + "label": "{{field_updated_label}}", + "name": "{{field_updated_name}}", + "note": "{{field_updated_note}}", + "title": "{{field_updated_title}}", + "type": "{{field_updated_type}}" } } +vars:pre-request { + field_updated_default_value: {{field_updated_default_value}} + field_updated_description: {{field_updated_description}} + field_updated_label: {{field_updated_label}} + field_updated_name: {{field_updated_name}} + field_updated_note: {{field_updated_note}} + field_updated_title: {{field_updated_title}} + field_updated_type: {{field_updated_type}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("field_updated_title")); + }); +} + example { name: 200 Response (fields/content/categories/{field_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}.bru b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}.bru index 59113de..2a8bf24 100644 --- a/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}.bru +++ b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories-{field_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories.bru b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories.bru index f8f4e91..388e655 100644 --- a/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories.bru +++ b/bruno/joomla-web-services-api/content-categories-fields/fields-content-categories.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-categories/content-categories-post.bru b/bruno/joomla-web-services-api/content-categories/content-categories-post.bru index a754b37..58497c6 100644 --- a/bruno/joomla-web-services-api/content-categories/content-categories-post.bru +++ b/bruno/joomla-web-services-api/content-categories/content-categories-post.bru @@ -12,20 +12,52 @@ post { body:json { { - "access": 0, - "alias": "", - "extension": "", - "language": "", - "note": "", + "access": {{categorie_access}}, + "alias": "{{categorie_alias}}", + "extension": "{{categorie_extension}}", + "language": "{{categorie_language}}", + "note": "{{categorie_note}}", "params": { - "workflow_id": 0 + "workflow_id": 1 }, - "parent_id": 0, - "published": 0, - "title": "" + "parent_id": {{categorie_parent_id}}, + "published": {{categorie_published}}, + "title": "{{categorie_title}}" } } +vars:pre-request { + categorie_access: 1 + categorie_alias: 8c3c6268-b662-44b6-b9ab-47aa67ef3701 + categorie_extension: com_content + categorie_language: * + categorie_note: + categorie_parent_id: 1 + categorie_published: 1 + categorie_title: Dynamic Brand Consultant +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("categorie_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("categorie_title")); + }); +} + example { name: 200 Response (content/categories) description: todo: response object diff --git a/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}-delete.bru b/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}-delete.bru index f809292..19ea6b6 100644 --- a/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}-delete.bru +++ b/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: content/categories/{category_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}-patch.bru b/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}-patch.bru index 443b6bd..b77deb0 100644 --- a/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}-patch.bru +++ b/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: content/categories/{category_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,13 +12,34 @@ patch { body:json { { - "alias": "", - "note": "", - "parent_id": 0, - "title": "" + "alias": "{{category_updated_alias}}", + "note": "{{category_updated_note}}", + "parent_id": {{category_updated_parent_id}}, + "title": "{{category_updated_title}}" } } +vars:pre-request { + category_updated_alias: 4c024085-71fe-4c56-8da9-e1694f8c8692 + category_updated_note: Animi deserunt ratione dolor sit officia asperiores odit. + category_updated_parent_id: 1 + category_updated_title: Intelligent Cotton Fish +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("category_updated_title")); + }); +} + example { name: 200 Response (content/categories/{category_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}.bru b/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}.bru index 4a11501..2f1acc2 100644 --- a/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}.bru +++ b/bruno/joomla-web-services-api/content-categories/content-categories-{category_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/content-categories/content-categories.bru b/bruno/joomla-web-services-api/content-categories/content-categories.bru index 5bb57cb..0780ea1 100644 --- a/bruno/joomla-web-services-api/content-categories/content-categories.bru +++ b/bruno/joomla-web-services-api/content-categories/content-categories.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-post.bru b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-post.bru index 791b815..b975f38 100644 --- a/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-post.bru +++ b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-post.bru @@ -16,20 +16,55 @@ headers { body:json { { - "created": "", - "description": "", - "interactive_type": 0, - "language": "", - "modified": "", - "position": "", - "published": 0, - "target": "", - "title": "", - "type": 0, - "url": "" + "created": "{{step_created}}", + "description": "{{step_description}}", + "interactive_type": {{step_interactive_type}}, + "language": "{{step_language}}", + "modified": "{{step_modified}}", + "position": "{{step_position}}", + "published": {{step_published}}, + "target": "{{step_target}}", + "title": "{{step_title}}", + "type": {{step_type}}, + "url": "{{step_url}}" } } +vars:pre-request { + step_created: 2024-11-04 22:00:00 + step_description: asynchronous + step_interactive_type: 1 + step_language: * + step_modified: 2024-11-04 22:00:00 + step_position: top + step_published: 1 + step_target: #testElement + step_title: Auer Inc + step_type: 2 + step_url: administrator/index.php?option=com_content&view=articles +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("step_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("step_title")); + }); +} + example { name: 200 Response (tours/{tour_id}/steps) description: todo: response object diff --git a/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-copy.bru b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-copy.bru index 9f472c6..f24d7c3 100644 --- a/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-copy.bru +++ b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-copy.bru @@ -1,7 +1,7 @@ meta { name: tours/{tour_id}/steps/{step_id} Copy type: http - seq: 5 + seq: 4 } patch { @@ -12,11 +12,30 @@ patch { body:json { { - "description": "", - "title": "" + "description": "{{step_updated_description}}", + "title": "{{step_updated_title}}" } } +vars:pre-request { + step_updated_description: {{step_updated_description}} + step_updated_title: {{step_updated_title}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("step_updated_title")); + }); +} + example { name: 200 Response (tours/{tour_id}/steps/{step_id} Copy) description: todo: response object diff --git a/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-delete.bru b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-delete.bru index 87a9efa..97295f7 100644 --- a/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-delete.bru +++ b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: tours/{tour_id}/steps/{step_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}.bru b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}.bru index 1d1ed12..ce89c67 100644 --- a/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}.bru +++ b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps-{step_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps.bru b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps.bru index 0077c30..81f959e 100644 --- a/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps.bru +++ b/bruno/joomla-web-services-api/guided-tours-steps/tours-{tour_id}-steps.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/guided-tours/tours-post.bru b/bruno/joomla-web-services-api/guided-tours/tours-post.bru index 74ae496..f9a79af 100644 --- a/bruno/joomla-web-services-api/guided-tours/tours-post.bru +++ b/bruno/joomla-web-services-api/guided-tours/tours-post.bru @@ -12,18 +12,51 @@ post { body:json { { - "access": 0, - "autostart": 0, - "description": "", - "extensions": "", - "language": "", - "published": 0, - "title": "", - "uid": "", - "url": "" + "access": {{tour_access}}, + "autostart": {{tour_autostart}}, + "description": "{{tour_description}}", + "extensions": "{{tour_extensions}}", + "language": "{{tour_language}}", + "published": {{tour_published}}, + "title": "{{tour_title}}", + "uid": "{{tour_uid}}", + "url": "{{tour_url}}" } } +vars:pre-request { + tour_access: 1 + tour_autostart: 0 + tour_description: 3rd generation + tour_extensions: ['*'] + tour_language: * + tour_published: 1 + tour_title: Handmade Frozen Shirt + tour_uid: 9aa2d6cc-78b1-48e3-9cc8-463977696382 + tour_url: administrator/index.php?option=com_content&view=articles +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("tour_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("tour_title")); + }); +} + example { name: 200 Response (tours) description: todo: response object diff --git a/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}-delete.bru b/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}-delete.bru index ec1bc03..301b77e 100644 --- a/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}-delete.bru +++ b/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: tours/{tour_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}-patch.bru b/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}-patch.bru index 0fbe9ad..9947ad4 100644 --- a/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}-patch.bru +++ b/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: tours/{tour_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,10 +12,28 @@ patch { body:json { { - "title": "" + "title": "{{tour_updated_title}}" } } +vars:pre-request { + tour_updated_title: {{tour_updated_title}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("tour_updated_title")); + }); +} + example { name: 200 Response (tours/{tour_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}.bru b/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}.bru index 801fd4c..4e751b4 100644 --- a/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}.bru +++ b/bruno/joomla-web-services-api/guided-tours/tours-{tour_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/guided-tours/tours.bru b/bruno/joomla-web-services-api/guided-tours/tours.bru index 82a1d03..92865ab 100644 --- a/bruno/joomla-web-services-api/guided-tours/tours.bru +++ b/bruno/joomla-web-services-api/guided-tours/tours.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/installer/extensions.bru b/bruno/joomla-web-services-api/installer/extensions.bru index 46cb176..0d714f4 100644 --- a/bruno/joomla-web-services-api/installer/extensions.bru +++ b/bruno/joomla-web-services-api/installer/extensions.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/languages-content/languages-content-post.bru b/bruno/joomla-web-services-api/languages-content/languages-content-post.bru index ed75e16..e6707be 100644 --- a/bruno/joomla-web-services-api/languages-content/languages-content-post.bru +++ b/bruno/joomla-web-services-api/languages-content/languages-content-post.bru @@ -12,21 +12,57 @@ post { body:json { { - "access": 0, - "description": "", - "image": "", - "lang_code": "", - "metadesc": "", - "metakey": "", - "ordering": 0, - "published": 0, - "sef": "", - "sitename": "", - "title": "", - "title_native": "" + "access": {{content_access}}, + "description": "{{content_description}}", + "image": "{{content_image}}", + "lang_code": "{{content_lang_code}}", + "metadesc": "{{content_metadesc}}", + "metakey": "{{content_metakey}}", + "ordering": {{content_ordering}}, + "published": {{content_published}}, + "sef": "{{content_sef}}", + "sitename": "{{content_sitename}}", + "title": "{{content_title}}", + "title_native": "{{content_title_native}}" } } +vars:pre-request { + content_access: 1 + content_description: + content_image: fr_FR + content_lang_code: fr-FR + content_metadesc: + content_metakey: + content_ordering: 1 + content_published: 0 + content_sef: fk + content_sitename: + content_title: French (FR) + content_title_native: Français (France) +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("content_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("content_title")); + }); +} + example { name: 200 Response (languages/content) description: todo: response object diff --git a/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}-get.bru b/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}-get.bru index 226bff6..e02b585 100644 --- a/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}-get.bru +++ b/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}-get.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}-patch.bru b/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}-patch.bru index fe06d57..7e4d2a4 100644 --- a/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}-patch.bru +++ b/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}-patch.bru @@ -12,16 +12,40 @@ patch { body:json { { - "description": "", - "lang_code": "", - "metadesc": "", - "metakey": "", - "sitename": "", - "title": "", - "title_native": "" + "description": "{{language_updated_description}}", + "lang_code": "{{language_updated_lang_code}}", + "metadesc": "{{language_updated_metadesc}}", + "metakey": "{{language_updated_metakey}}", + "sitename": "{{language_updated_sitename}}", + "title": "{{language_updated_title}}", + "title_native": "{{language_updated_title_native}}" } } +vars:pre-request { + language_updated_description: {{language_updated_description}} + language_updated_lang_code: {{language_updated_lang_code}} + language_updated_metadesc: {{language_updated_metadesc}} + language_updated_metakey: {{language_updated_metakey}} + language_updated_sitename: {{language_updated_sitename}} + language_updated_title: {{language_updated_title}} + language_updated_title_native: {{language_updated_title_native}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("language_updated_title")); + }); +} + example { name: 200 Response (languages/content/{language_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}.bru b/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}.bru index cb539b2..786c7cb 100644 --- a/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}.bru +++ b/bruno/joomla-web-services-api/languages-content/languages-content-{language_id}.bru @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/languages-content/languages-content.bru b/bruno/joomla-web-services-api/languages-content/languages-content.bru index ea4f9ae..05b4c59 100644 --- a/bruno/joomla-web-services-api/languages-content/languages-content.bru +++ b/bruno/joomla-web-services-api/languages-content/languages-content.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/languages-overrides-search/languages-overrides-search-cache-refresh.bru b/bruno/joomla-web-services-api/languages-overrides-search/languages-overrides-search-cache-refresh.bru index a0cfba3..48e4bb4 100644 --- a/bruno/joomla-web-services-api/languages-overrides-search/languages-overrides-search-cache-refresh.bru +++ b/bruno/joomla-web-services-api/languages-overrides-search/languages-overrides-search-cache-refresh.bru @@ -10,6 +10,24 @@ post { auth: inherit } +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("refresh_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/languages-overrides-search/languages-overrides-search.bru b/bruno/joomla-web-services-api/languages-overrides-search/languages-overrides-search.bru index aa34226..3f2757a 100644 --- a/bruno/joomla-web-services-api/languages-overrides-search/languages-overrides-search.bru +++ b/bruno/joomla-web-services-api/languages-overrides-search/languages-overrides-search.bru @@ -12,11 +12,34 @@ post { body:json { { - "searchstring": "", - "searchtype": "" + "searchstring": "{{search_searchstring}}", + "searchtype": "{{search_searchtype}}" } } +vars:pre-request { + search_searchstring: {{search_searchstring}} + search_searchtype: {{search_searchtype}} +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("search_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response (languages/overrides/search) description: todo: response object diff --git a/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-post.bru b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-post.bru index db7479b..7a2d3b6 100644 --- a/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-post.bru +++ b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-post.bru @@ -12,11 +12,36 @@ post { body:json { { - "key": "", - "override": "" + "key": "{{override_key}}", + "override": "{{override_override}}" } } +vars:pre-request { + app: site + lang_code: en-GB + override_key: {{override_key}} + override_override: {{override_override}} +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("override_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response (languages/overrides/{app}/{lang_code}) description: todo: response object diff --git a/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-delete.bru b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-delete.bru index be151a6..e98e9c4 100644 --- a/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-delete.bru +++ b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: languages/overrides/{app}/{lang_code}/{constant_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,17 @@ delete { auth: inherit } +vars:pre-request { + app: site + lang_code: en-GB +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-patch.bru b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-patch.bru index 963b7a3..a4b3598 100644 --- a/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-patch.bru +++ b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: languages/overrides/{app}/{lang_code}/{constant_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,11 +12,29 @@ patch { body:json { { - "key": "", - "override": "" + "key": "{{constant_updated_key}}", + "override": "{{constant_updated_override}}" } } +vars:pre-request { + app: site + lang_code: en-GB + constant_updated_key: {{constant_updated_key}} + constant_updated_override: {{constant_updated_override}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response (languages/overrides/{app}/{lang_code}/{constant_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}.bru b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}.bru index e653b7b..810c958 100644 --- a/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}.bru +++ b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}-{constant_id}.bru @@ -10,6 +10,22 @@ get { auth: inherit } +vars:pre-request { + app: site + lang_code: en-GB +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}.bru b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}.bru index 0520684..ed705b2 100644 --- a/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}.bru +++ b/bruno/joomla-web-services-api/languages-overrides/languages-overrides-{app}-{lang_code}.bru @@ -10,6 +10,20 @@ get { auth: inherit } +vars:pre-request { + app: site + lang_code: en-GB +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/languages/languages-post.bru b/bruno/joomla-web-services-api/languages/languages-post.bru index 25f2871..980f688 100644 --- a/bruno/joomla-web-services-api/languages/languages-post.bru +++ b/bruno/joomla-web-services-api/languages/languages-post.bru @@ -12,10 +12,32 @@ post { body:json { { - "package": "" + "package": "{{language_package}}" } } +vars:pre-request { + language_package: {{language_package}} +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("language_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response (languages) description: todo: response object diff --git a/bruno/joomla-web-services-api/languages/languages.bru b/bruno/joomla-web-services-api/languages/languages.bru index b8a4d2c..5727cbd 100644 --- a/bruno/joomla-web-services-api/languages/languages.bru +++ b/bruno/joomla-web-services-api/languages/languages.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/media-adapters/get-media-adapter.bru b/bruno/joomla-web-services-api/media-adapters/get-media-adapter.bru index 3694cfc..6acdffb 100644 --- a/bruno/joomla-web-services-api/media-adapters/get-media-adapter.bru +++ b/bruno/joomla-web-services-api/media-adapters/get-media-adapter.bru @@ -14,6 +14,17 @@ params:path { adapter_id: } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: Media adapter retrieved successfully. diff --git a/bruno/joomla-web-services-api/media-adapters/list-media-adapters.bru b/bruno/joomla-web-services-api/media-adapters/list-media-adapters.bru index 20659b3..e292695 100644 --- a/bruno/joomla-web-services-api/media-adapters/list-media-adapters.bru +++ b/bruno/joomla-web-services-api/media-adapters/list-media-adapters.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: Media adapters retrieved successfully. diff --git a/bruno/joomla-web-services-api/media-files/add-media-file.bru b/bruno/joomla-web-services-api/media-files/add-media-file.bru index 28d106a..c20afd2 100644 --- a/bruno/joomla-web-services-api/media-files/add-media-file.bru +++ b/bruno/joomla-web-services-api/media-files/add-media-file.bru @@ -12,11 +12,34 @@ post { body:json { { - "path": "", - "content": "" + "path": "{{file_path}}", + "content": "{{file_content}}" } } +vars:pre-request { + file_path: {{file_path}} + file_content: {{file_content}} +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("file_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: Succesful media file upload. diff --git a/bruno/joomla-web-services-api/media-files/delete-media-file.bru b/bruno/joomla-web-services-api/media-files/delete-media-file.bru index 4adc99e..e2db781 100644 --- a/bruno/joomla-web-services-api/media-files/delete-media-file.bru +++ b/bruno/joomla-web-services-api/media-files/delete-media-file.bru @@ -1,7 +1,7 @@ meta { name: Delete Media File type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,16 @@ delete { auth: inherit } +vars:pre-request { + file_path: file_path +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 204 Response description: Media file deleted successfully, but no content is returned diff --git a/bruno/joomla-web-services-api/media-files/get-media-files.bru b/bruno/joomla-web-services-api/media-files/get-media-files.bru index da2fa69..97d0d0f 100644 --- a/bruno/joomla-web-services-api/media-files/get-media-files.bru +++ b/bruno/joomla-web-services-api/media-files/get-media-files.bru @@ -14,6 +14,19 @@ params:query { ~filter[search]: } +vars:pre-request { + file_path: file_path +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: Media file or directory listing returned successfully. diff --git a/bruno/joomla-web-services-api/media-files/list-media-files.bru b/bruno/joomla-web-services-api/media-files/list-media-files.bru index ba3e75e..42bf737 100644 --- a/bruno/joomla-web-services-api/media-files/list-media-files.bru +++ b/bruno/joomla-web-services-api/media-files/list-media-files.bru @@ -14,6 +14,15 @@ params:query { ~filter[search]: } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: Media files listed successfully. Todo: check when path is to single file diff --git a/bruno/joomla-web-services-api/media-files/update-media-file.bru b/bruno/joomla-web-services-api/media-files/update-media-file.bru index 0292f3d..55a3598 100644 --- a/bruno/joomla-web-services-api/media-files/update-media-file.bru +++ b/bruno/joomla-web-services-api/media-files/update-media-file.bru @@ -1,7 +1,7 @@ meta { name: Update Media File type: http - seq: 5 + seq: 4 } patch { @@ -12,11 +12,28 @@ patch { body:json { { - "path": "", - "content": "" + "path": "{{file_updated_path}}", + "content": "{{file_updated_content}}" } } +vars:pre-request { + file_path: file_path + file_updated_path: {{file_updated_path}} + file_updated_content: {{file_updated_content}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: Succesful media file update. diff --git a/bruno/joomla-web-services-api/menus-items/menus-{app}-items-post.bru b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-post.bru index 1e03a34..3753244 100644 --- a/bruno/joomla-web-services-api/menus-items/menus-{app}-items-post.bru +++ b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-post.bru @@ -12,32 +12,32 @@ post { body:json { { - "access": "", - "alias": "", + "access": "{{item_access}}", + "alias": "{{item_alias}}", "associations": { "en-GB": "", "fr-FR": "" }, - "browserNav": "", - "component_id": "", - "home": "", - "language": "", - "link": "", - "menutype": "", - "note": "", + "browserNav": "{{item_browserNav}}", + "component_id": "{{item_component_id}}", + "home": "{{item_home}}", + "language": "{{item_language}}", + "link": "{{item_link}}", + "menutype": "{{item_menutype}}", + "note": "{{item_note}}", "params": { "cancel_redirect_menuitem": "", "catid": "", - "custom_cancel_redirect": "", - "enable_category": "", + "custom_cancel_redirect": "0", + "enable_category": "0", "menu-anchor_css": "", "menu-anchor_title": "", "menu-meta_description": "", "menu-meta_keywords": "", "menu_image": "", "menu_image_css": "", - "menu_show": "", - "menu_text": "", + "menu_show": "1", + "menu_text": "1", "page_heading": "", "page_title": "", "pageclass_sfx": "", @@ -45,18 +45,61 @@ body:json { "robots": "", "show_page_heading": "" }, - "parent_id": "", - "publish_down": "", - "publish_up": "", - "published": "", - "template_style_id": "", - "title": "", - "toggle_modules_assigned": "", - "toggle_modules_published": "", - "type": "" + "parent_id": "{{item_parent_id}}", + "publish_down": "{{item_publish_down}}", + "publish_up": "{{item_publish_up}}", + "published": "{{item_published}}", + "template_style_id": "{{item_template_style_id}}", + "title": "{{item_title}}", + "toggle_modules_assigned": "{{item_toggle_modules_assigned}}", + "toggle_modules_published": "{{item_toggle_modules_published}}", + "type": "{{item_type}}" } } +vars:pre-request { + app: site + item_access: {{item_access}} + item_alias: {{item_alias}} + item_browserNav: {{item_browserNav}} + item_component_id: {{item_component_id}} + item_home: {{item_home}} + item_language: {{item_language}} + item_link: {{item_link}} + item_menutype: {{item_menutype}} + item_note: {{item_note}} + item_parent_id: {{item_parent_id}} + item_publish_down: {{item_publish_down}} + item_publish_up: {{item_publish_up}} + item_published: {{item_published}} + item_template_style_id: {{item_template_style_id}} + item_title: {{item_title}} + item_toggle_modules_assigned: {{item_toggle_modules_assigned}} + item_toggle_modules_published: {{item_toggle_modules_published}} + item_type: {{item_type}} +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("item_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("item_title")); + }); +} + example { name: 200 Response (menus/{app}/items) description: todo: response object diff --git a/bruno/joomla-web-services-api/menus-items/menus-{app}-items-types.bru b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-types.bru index 854f002..b615cc6 100644 --- a/bruno/joomla-web-services-api/menus-items/menus-{app}-items-types.bru +++ b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-types.bru @@ -10,6 +10,19 @@ get { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-delete.bru b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-delete.bru index af8da1e..51b783f 100644 --- a/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-delete.bru +++ b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-delete.bru @@ -10,6 +10,16 @@ delete { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-patch.bru b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-patch.bru index ac49934..2829c89 100644 --- a/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-patch.bru +++ b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}-patch.bru @@ -12,16 +12,41 @@ patch { body:json { { - "component_id": "", - "language": "", - "link": "", - "menutype": "", - "note": "", - "title": "", - "type": "" + "component_id": "{{menu_item_updated_component_id}}", + "language": "{{menu_item_updated_language}}", + "link": "{{menu_item_updated_link}}", + "menutype": "{{menu_item_updated_menutype}}", + "note": "{{menu_item_updated_note}}", + "title": "{{menu_item_updated_title}}", + "type": "{{menu_item_updated_type}}" } } +vars:pre-request { + app: site + menu_item_updated_component_id: {{menu_item_updated_component_id}} + menu_item_updated_language: {{menu_item_updated_language}} + menu_item_updated_link: {{menu_item_updated_link}} + menu_item_updated_menutype: {{menu_item_updated_menutype}} + menu_item_updated_note: {{menu_item_updated_note}} + menu_item_updated_title: {{menu_item_updated_title}} + menu_item_updated_type: {{menu_item_updated_type}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("menu_item_updated_title")); + }); +} + example { name: 200 Response (menus/{app}/items/{menu_item_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}.bru b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}.bru index fb77ac9..57f9f0f 100644 --- a/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}.bru +++ b/bruno/joomla-web-services-api/menus-items/menus-{app}-items-{menu_item_id}.bru @@ -10,6 +10,21 @@ get { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/menus-items/menus-{app}-items.bru b/bruno/joomla-web-services-api/menus-items/menus-{app}-items.bru index cc34854..b0e73c4 100644 --- a/bruno/joomla-web-services-api/menus-items/menus-{app}-items.bru +++ b/bruno/joomla-web-services-api/menus-items/menus-{app}-items.bru @@ -10,6 +10,19 @@ get { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/menus/menus-{app}-post.bru b/bruno/joomla-web-services-api/menus/menus-{app}-post.bru index 2b006a6..47c13b8 100644 --- a/bruno/joomla-web-services-api/menus/menus-{app}-post.bru +++ b/bruno/joomla-web-services-api/menus/menus-{app}-post.bru @@ -12,13 +12,42 @@ post { body:json { { - "client_id": 0, - "description": "", - "menutype": "", - "title": "" + "client_id": {{menu_client_id}}, + "description": "{{menu_description}}", + "menutype": "{{menu_menutype}}", + "title": "{{menu_title}}" } } +vars:pre-request { + app: site + menu_client_id: 0 + menu_description: The menu for the site + menu_menutype: menu + menu_title: Menu +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("menu_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("menu_title")); + }); +} + example { name: 200 Response (menus/{app}) description: todo: response object diff --git a/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}-delete.bru b/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}-delete.bru index 010eb5a..005c15d 100644 --- a/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}-delete.bru +++ b/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: menus/{app}/{menu_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,16 @@ delete { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}-patch.bru b/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}-patch.bru index 7744210..86ef617 100644 --- a/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}-patch.bru +++ b/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: menus/{app}/{menu_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,11 +12,31 @@ patch { body:json { { - "menutype": "", - "title": "" + "menutype": "{{menu_updated_menutype}}", + "title": "{{menu_updated_title}}" } } +vars:pre-request { + app: site + menu_updated_menutype: {{menu_updated_menutype}} + menu_updated_title: {{menu_updated_title}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("menu_updated_title")); + }); +} + example { name: 200 Response (menus/{app}/{menu_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}.bru b/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}.bru index 5e09d8a..3e4dfba 100644 --- a/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}.bru +++ b/bruno/joomla-web-services-api/menus/menus-{app}-{menu_id}.bru @@ -10,6 +10,21 @@ get { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/menus/menus-{app}.bru b/bruno/joomla-web-services-api/menus/menus-{app}.bru index d3398e3..41b0a36 100644 --- a/bruno/joomla-web-services-api/menus/menus-{app}.bru +++ b/bruno/joomla-web-services-api/menus/menus-{app}.bru @@ -10,6 +10,19 @@ get { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/messages/messages-post.bru b/bruno/joomla-web-services-api/messages/messages-post.bru index 244119d..0ea0d62 100644 --- a/bruno/joomla-web-services-api/messages/messages-post.bru +++ b/bruno/joomla-web-services-api/messages/messages-post.bru @@ -12,14 +12,43 @@ post { body:json { { - "message": "", - "state": 0, - "subject": "", - "user_id_from": 0, - "user_id_to": 0 + "message": "{{message_message}}", + "state": {{message_state}}, + "subject": "{{message_subject}}", + "user_id_from": {{message_user_id_from}}, + "user_id_to": {{message_user_id_to}} } } +vars:pre-request { + message_message:

text

+ message_state: 0 + message_subject: text + message_user_id_from: 773 + message_user_id_to: 772 +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("message_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("subject matches", function() { + expect(res.body.data.attributes.subject).to.equal(bru.getVar("message_subject")); + }); +} + example { name: 200 Response (messages) description: todo: response object diff --git a/bruno/joomla-web-services-api/messages/messages-{message_id}-delete.bru b/bruno/joomla-web-services-api/messages/messages-{message_id}-delete.bru index 87131ae..4fdc998 100644 --- a/bruno/joomla-web-services-api/messages/messages-{message_id}-delete.bru +++ b/bruno/joomla-web-services-api/messages/messages-{message_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: messages/{message_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/messages/messages-{message_id}-patch.bru b/bruno/joomla-web-services-api/messages/messages-{message_id}-patch.bru index c6ede60..d2a3ee7 100644 --- a/bruno/joomla-web-services-api/messages/messages-{message_id}-patch.bru +++ b/bruno/joomla-web-services-api/messages/messages-{message_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: messages/{message_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,13 +12,34 @@ patch { body:json { { - "message": "", - "subject": "", - "user_id_from": 0, - "user_id_to": 0 + "message": "{{message_updated_message}}", + "subject": "{{message_updated_subject}}", + "user_id_from": {{message_updated_user_id_from}}, + "user_id_to": {{message_updated_user_id_to}} } } +vars:pre-request { + message_updated_message:

new text

+ message_updated_subject: new text + message_updated_user_id_from: 773 + message_updated_user_id_to: 772 +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("subject updated", function() { + expect(res.body.data.attributes.subject).to.equal(bru.getVar("message_updated_subject")); + }); +} + example { name: 200 Response (messages/{message_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/messages/messages-{message_id}.bru b/bruno/joomla-web-services-api/messages/messages-{message_id}.bru index 930292e..3d4a2e9 100644 --- a/bruno/joomla-web-services-api/messages/messages-{message_id}.bru +++ b/bruno/joomla-web-services-api/messages/messages-{message_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/messages/messages.bru b/bruno/joomla-web-services-api/messages/messages.bru index 2d636dd..66474f8 100644 --- a/bruno/joomla-web-services-api/messages/messages.bru +++ b/bruno/joomla-web-services-api/messages/messages.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/modules/modules-types-{app}.bru b/bruno/joomla-web-services-api/modules/modules-types-{app}.bru index d087d94..40efec7 100644 --- a/bruno/joomla-web-services-api/modules/modules-types-{app}.bru +++ b/bruno/joomla-web-services-api/modules/modules-types-{app}.bru @@ -10,6 +10,19 @@ get { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/modules/modules-{app}-post.bru b/bruno/joomla-web-services-api/modules/modules-{app}-post.bru index 2e7061c..2df41fc 100644 --- a/bruno/joomla-web-services-api/modules/modules-{app}-post.bru +++ b/bruno/joomla-web-services-api/modules/modules-{app}-post.bru @@ -12,36 +12,77 @@ post { body:json { { - "access": "", - "assigned": [], - "assignment": "", - "client_id": "", - "language": "", - "module": "", - "note": "", - "ordering": "", + "access": "{{module_access}}", + "assigned": [ + "101", + "105" + ], + "assignment": "{{module_assignment}}", + "client_id": "{{module_client_id}}", + "language": "{{module_language}}", + "module": "{{module_module}}", + "note": "{{module_note}}", + "ordering": "{{module_ordering}}", "params": { - "bootstrap_size": "", - "cache": "", - "cache_time": "", - "cachemode": "", - "count": "", + "bootstrap_size": "0", + "cache": "1", + "cache_time": "900", + "cachemode": "static", + "count": "10", "header_class": "", - "header_tag": "", - "layout": "", - "module_tag": "", + "header_tag": "h3", + "layout": "_:default", + "module_tag": "div", "moduleclass_sfx": "", - "style": "" + "style": "0" }, - "position": "", - "publish_down": "", - "publish_up": "", - "published": "", - "showtitle": "", - "title": "" + "position": "{{module_position}}", + "publish_down": "{{module_publish_down}}", + "publish_up": "{{module_publish_up}}", + "published": "{{module_published}}", + "showtitle": "{{module_showtitle}}", + "title": "{{module_title}}" } } +vars:pre-request { + app: site + module_access: {{module_access}} + module_assignment: {{module_assignment}} + module_client_id: {{module_client_id}} + module_language: {{module_language}} + module_module: {{module_module}} + module_note: {{module_note}} + module_ordering: {{module_ordering}} + module_position: {{module_position}} + module_publish_down: {{module_publish_down}} + module_publish_up: {{module_publish_up}} + module_published: {{module_published}} + module_showtitle: {{module_showtitle}} + module_title: {{module_title}} +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("module_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("module_title")); + }); +} + example { name: 200 Response (modules/{app}) description: todo: response object diff --git a/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}-delete.bru b/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}-delete.bru index bfc2dc5..ff7523e 100644 --- a/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}-delete.bru +++ b/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}-delete.bru @@ -10,6 +10,16 @@ delete { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}-patch.bru b/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}-patch.bru index a06066c..8457353 100644 --- a/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}-patch.bru +++ b/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}-patch.bru @@ -12,16 +12,41 @@ patch { body:json { { - "access": "", - "client_id": "", - "language": "", - "module": "", - "note": "", - "ordering": "", - "title": "" + "access": "{{module_updated_access}}", + "client_id": "{{module_updated_client_id}}", + "language": "{{module_updated_language}}", + "module": "{{module_updated_module}}", + "note": "{{module_updated_note}}", + "ordering": "{{module_updated_ordering}}", + "title": "{{module_updated_title}}" } } +vars:pre-request { + app: site + module_updated_access: {{module_updated_access}} + module_updated_client_id: {{module_updated_client_id}} + module_updated_language: {{module_updated_language}} + module_updated_module: {{module_updated_module}} + module_updated_note: {{module_updated_note}} + module_updated_ordering: {{module_updated_ordering}} + module_updated_title: {{module_updated_title}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("module_updated_title")); + }); +} + example { name: 200 Response (modules/{app}/{module_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}.bru b/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}.bru index f446983..30202de 100644 --- a/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}.bru +++ b/bruno/joomla-web-services-api/modules/modules-{app}-{module_id}.bru @@ -10,6 +10,21 @@ get { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/modules/modules-{app}.bru b/bruno/joomla-web-services-api/modules/modules-{app}.bru index 67f7af8..20683fd 100644 --- a/bruno/joomla-web-services-api/modules/modules-{app}.bru +++ b/bruno/joomla-web-services-api/modules/modules-{app}.bru @@ -10,6 +10,19 @@ get { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-post.bru b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-post.bru index 008c0ff..231459f 100644 --- a/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-post.bru +++ b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-post.bru @@ -12,10 +12,10 @@ post { body:json { { - "access": 0, - "alias": "", - "catid": 0, - "description": "", + "access": {{feed_access}}, + "alias": "{{feed_alias}}", + "catid": {{feed_catid}}, + "description": "{{feed_description}}", "images": { "float_first": "", "float_second": "", @@ -26,21 +26,21 @@ body:json { "image_second_alt": "", "image_second_caption": "" }, - "language": "", - "link": "", + "language": "{{feed_language}}", + "link": "{{feed_link}}", "metadata": { "hits": "", "rights": "", "robots": "", "tags": { "tags": "", - "typeAlias": "" + "typeAlias": null } }, - "metadesc": "", - "metakey": "", - "name": "", - "ordering": 0, + "metadesc": "{{feed_metadesc}}", + "metakey": "{{feed_metakey}}", + "name": "{{feed_name}}", + "ordering": {{feed_ordering}}, "params": { "feed_character_count": "", "feed_display_order": "", @@ -49,10 +49,45 @@ body:json { "show_feed_image": "", "show_item_description": "" }, - "published": 0 + "published": {{feed_published}} } } +vars:pre-request { + feed_access: 1 + feed_alias: alias + feed_catid: 5 + feed_description: + feed_language: * + feed_link: https://samoylov/joomla/gsoc19_webservices/index.php + feed_metadesc: + feed_metakey: + feed_name: Name + feed_ordering: 1 + feed_published: 1 +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("feed_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("name matches", function() { + expect(res.body.data.attributes.name).to.equal(bru.getVar("feed_name")); + }); +} + example { name: 200 Response (newsfeeds/feeds) description: todo: response object diff --git a/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-delete.bru b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-delete.bru index 6ed074f..03d0535 100644 --- a/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-delete.bru +++ b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: newsfeeds/feeds/{feed_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-patch.bru b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-patch.bru index 92e4767..b8ea646 100644 --- a/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-patch.bru +++ b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: newsfeeds/feeds/{feed_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,17 +12,42 @@ patch { body:json { { - "access": 0, - "alias": "", - "catid": 0, - "description": "", - "link": "", - "metadesc": "", - "metakey": "", - "name": "" + "access": {{feed_updated_access}}, + "alias": "{{feed_updated_alias}}", + "catid": {{feed_updated_catid}}, + "description": "{{feed_updated_description}}", + "link": "{{feed_updated_link}}", + "metadesc": "{{feed_updated_metadesc}}", + "metakey": "{{feed_updated_metakey}}", + "name": "{{feed_updated_name}}" } } +vars:pre-request { + feed_updated_access: 1 + feed_updated_alias: test2 + feed_updated_catid: 5 + feed_updated_description: + feed_updated_link: https://samoylov/joomla/gsoc19_webservices/index.php + feed_updated_metadesc: + feed_updated_metakey: + feed_updated_name: Test +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("name updated", function() { + expect(res.body.data.attributes.name).to.equal(bru.getVar("feed_updated_name")); + }); +} + example { name: 200 Response (newsfeeds/feeds/{feed_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}.bru b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}.bru index fea6fde..51c2b42 100644 --- a/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}.bru +++ b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds-{feed_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds.bru b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds.bru index 68d17a8..40784f1 100644 --- a/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds.bru +++ b/bruno/joomla-web-services-api/newsfeeds/newsfeeds-feeds.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/plugins/plugins-{plugin_id}-patch.bru b/bruno/joomla-web-services-api/plugins/plugins-{plugin_id}-patch.bru index ee17d36..01e659d 100644 --- a/bruno/joomla-web-services-api/plugins/plugins-{plugin_id}-patch.bru +++ b/bruno/joomla-web-services-api/plugins/plugins-{plugin_id}-patch.bru @@ -12,12 +12,29 @@ patch { body:json { { - "access": 0, - "enabled": 0, - "ordering": 0 + "access": {{plugin_updated_access}}, + "enabled": {{plugin_updated_enabled}}, + "ordering": {{plugin_updated_ordering}} } } +vars:pre-request { + plugin_updated_access: 1 + plugin_updated_enabled: 1 + plugin_updated_ordering: -9999 +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response (plugins/{plugin_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/plugins/plugins-{plugin_id}.bru b/bruno/joomla-web-services-api/plugins/plugins-{plugin_id}.bru index b3962bf..f739701 100644 --- a/bruno/joomla-web-services-api/plugins/plugins-{plugin_id}.bru +++ b/bruno/joomla-web-services-api/plugins/plugins-{plugin_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/plugins/plugins.bru b/bruno/joomla-web-services-api/plugins/plugins.bru index d7bd74a..09d2bce 100644 --- a/bruno/joomla-web-services-api/plugins/plugins.bru +++ b/bruno/joomla-web-services-api/plugins/plugins.bru @@ -17,6 +17,15 @@ params:query { ~filter[type]: } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/privacy-consents/privacy-consents-{consent_id}-delete.bru b/bruno/joomla-web-services-api/privacy-consents/privacy-consents-{consent_id}-delete.bru index 1d224cd..cc0c996 100644 --- a/bruno/joomla-web-services-api/privacy-consents/privacy-consents-{consent_id}-delete.bru +++ b/bruno/joomla-web-services-api/privacy-consents/privacy-consents-{consent_id}-delete.bru @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/privacy-consents/privacy-consents-{consent_id}.bru b/bruno/joomla-web-services-api/privacy-consents/privacy-consents-{consent_id}.bru index 399b640..55d9390 100644 --- a/bruno/joomla-web-services-api/privacy-consents/privacy-consents-{consent_id}.bru +++ b/bruno/joomla-web-services-api/privacy-consents/privacy-consents-{consent_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/privacy-consents/privacy-consents.bru b/bruno/joomla-web-services-api/privacy-consents/privacy-consents.bru index fde5ca4..456108a 100644 --- a/bruno/joomla-web-services-api/privacy-consents/privacy-consents.bru +++ b/bruno/joomla-web-services-api/privacy-consents/privacy-consents.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/privacy-requests/privacy-requests-post.bru b/bruno/joomla-web-services-api/privacy-requests/privacy-requests-post.bru index 90a0099..e24c756 100644 --- a/bruno/joomla-web-services-api/privacy-requests/privacy-requests-post.bru +++ b/bruno/joomla-web-services-api/privacy-requests/privacy-requests-post.bru @@ -12,11 +12,34 @@ post { body:json { { - "email": "", - "request_type": "" + "email": "{{request_email}}", + "request_type": "{{request_request_type}}" } } +vars:pre-request { + request_email: {{request_email}} + request_request_type: {{request_request_type}} +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("request_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response (privacy/requests) description: todo: response object diff --git a/bruno/joomla-web-services-api/privacy-requests/privacy-requests-{request_id}.bru b/bruno/joomla-web-services-api/privacy-requests/privacy-requests-{request_id}.bru index 85422b4..a95378e 100644 --- a/bruno/joomla-web-services-api/privacy-requests/privacy-requests-{request_id}.bru +++ b/bruno/joomla-web-services-api/privacy-requests/privacy-requests-{request_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/privacy-requests/privacy-requests.bru b/bruno/joomla-web-services-api/privacy-requests/privacy-requests.bru index 9bbb156..72f18b1 100644 --- a/bruno/joomla-web-services-api/privacy-requests/privacy-requests.bru +++ b/bruno/joomla-web-services-api/privacy-requests/privacy-requests.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/privacy/privacy-requests-export-{request_id}.bru b/bruno/joomla-web-services-api/privacy/privacy-requests-export-{request_id}.bru index c982d2f..8d77e98 100644 --- a/bruno/joomla-web-services-api/privacy/privacy-requests-export-{request_id}.bru +++ b/bruno/joomla-web-services-api/privacy/privacy-requests-export-{request_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/redirects/redirect.bru b/bruno/joomla-web-services-api/redirects/redirect.bru index 80fc679..08db718 100644 --- a/bruno/joomla-web-services-api/redirects/redirect.bru +++ b/bruno/joomla-web-services-api/redirects/redirect.bru @@ -12,16 +12,44 @@ post { body:json { { - "comment": "", - "header": 0, - "hits": 0, - "new_url": "", - "old_url": "", - "published": 0, - "referer": "" + "comment": "{{redirect_comment}}", + "header": {{redirect_header}}, + "hits": {{redirect_hits}}, + "new_url": "{{redirect_new_url}}", + "old_url": "{{redirect_old_url}}", + "published": {{redirect_published}}, + "referer": "{{redirect_referer}}" } } +vars:pre-request { + redirect_comment: + redirect_header: 301 + redirect_hits: 0 + redirect_new_url: /content/art/99 + redirect_old_url: /content/art/12 + redirect_published: 1 + redirect_referer: +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("redirect_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response (redirect) description: todo: response object diff --git a/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}-delete.bru b/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}-delete.bru index 4cfae53..596b6b8 100644 --- a/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}-delete.bru +++ b/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}-delete.bru @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}-patch.bru b/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}-patch.bru index 04e51f4..c94e5ce 100644 --- a/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}-patch.bru +++ b/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}-patch.bru @@ -12,11 +12,27 @@ patch { body:json { { - "new_url": "", - "old_url": "" + "new_url": "{{redirect_updated_new_url}}", + "old_url": "{{redirect_updated_old_url}}" } } +vars:pre-request { + redirect_updated_new_url: {{redirect_updated_new_url}} + redirect_updated_old_url: {{redirect_updated_old_url}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response (redirects/{redirect_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}.bru b/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}.bru index 85f8121..fa6fc3b 100644 --- a/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}.bru +++ b/bruno/joomla-web-services-api/redirects/redirects-{redirect_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/redirects/redirects.bru b/bruno/joomla-web-services-api/redirects/redirects.bru index 86dff68..f9e3068 100644 --- a/bruno/joomla-web-services-api/redirects/redirects.bru +++ b/bruno/joomla-web-services-api/redirects/redirects.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/tags/tags-post.bru b/bruno/joomla-web-services-api/tags/tags-post.bru index 0d16f1a..8d594fe 100644 --- a/bruno/joomla-web-services-api/tags/tags-post.bru +++ b/bruno/joomla-web-services-api/tags/tags-post.bru @@ -12,19 +12,53 @@ post { body:json { { - "access": 0, - "access_title": "", - "alias": "", - "description": "", - "language": "", - "note": "", - "parent_id": 0, - "path": "", - "published": 0, - "title": "" + "access": {{tags_access}}, + "access_title": "{{tags_access_title}}", + "alias": "{{tags_alias}}", + "description": "{{tags_description}}", + "language": "{{tags_language}}", + "note": "{{tags_note}}", + "parent_id": {{tags_parent_id}}, + "path": "{{tags_path}}", + "published": {{tags_published}}, + "title": "{{tags_title}}" } } +vars:pre-request { + tags_access: 1 + tags_access_title: Public + tags_alias: test + tags_description: + tags_language: * + tags_note: + tags_parent_id: 1 + tags_path: test + tags_published: 1 + tags_title: test +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("tags_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("tags_title")); + }); +} + example { name: 200 Response (tags) description: todo: response object diff --git a/bruno/joomla-web-services-api/tags/tags-{tag_id}-delete.bru b/bruno/joomla-web-services-api/tags/tags-{tag_id}-delete.bru index d0477d2..62c2c00 100644 --- a/bruno/joomla-web-services-api/tags/tags-{tag_id}-delete.bru +++ b/bruno/joomla-web-services-api/tags/tags-{tag_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: tags/{tag_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/tags/tags-{tag_id}-patch.bru b/bruno/joomla-web-services-api/tags/tags-{tag_id}-patch.bru index 288e7b0..883ed39 100644 --- a/bruno/joomla-web-services-api/tags/tags-{tag_id}-patch.bru +++ b/bruno/joomla-web-services-api/tags/tags-{tag_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: tags/{tag_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,11 +12,30 @@ patch { body:json { { - "alias": "", - "title": "" + "alias": "{{tag_updated_alias}}", + "title": "{{tag_updated_title}}" } } +vars:pre-request { + tag_updated_alias: {{tag_updated_alias}} + tag_updated_title: {{tag_updated_title}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("tag_updated_title")); + }); +} + example { name: 200 Response (tags/{tag_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/tags/tags-{tag_id}.bru b/bruno/joomla-web-services-api/tags/tags-{tag_id}.bru index d788e3a..3d39c35 100644 --- a/bruno/joomla-web-services-api/tags/tags-{tag_id}.bru +++ b/bruno/joomla-web-services-api/tags/tags-{tag_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/tags/tags.bru b/bruno/joomla-web-services-api/tags/tags.bru index beb6025..64c532d 100644 --- a/bruno/joomla-web-services-api/tags/tags.bru +++ b/bruno/joomla-web-services-api/tags/tags.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-post.bru b/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-post.bru index a501893..e98e431 100644 --- a/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-post.bru +++ b/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-post.bru @@ -12,18 +12,46 @@ post { body:json { { - "home": "", + "home": "{{style_home}}", "params": { - "fluidContainer": "", + "fluidContainer": "0", "logoFile": "", - "sidebarLeftWidth": "", - "sidebarRightWidth": "" + "sidebarLeftWidth": "3", + "sidebarRightWidth": "3" }, - "template": "", - "title": "" + "template": "{{style_template}}", + "title": "{{style_title}}" } } +vars:pre-request { + app: site + style_home: {{style_home}} + style_template: {{style_template}} + style_title: {{style_title}} +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("style_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("style_title")); + }); +} + example { name: 200 Response (templates/styles/{app}) description: todo: response object diff --git a/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-{template_style_id}-patch.bru b/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-{template_style_id}-patch.bru index fa60d02..027ddac 100644 --- a/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-{template_style_id}-patch.bru +++ b/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-{template_style_id}-patch.bru @@ -12,11 +12,31 @@ patch { body:json { { - "template": "", - "title": "" + "template": "{{template_style_updated_template}}", + "title": "{{template_style_updated_title}}" } } +vars:pre-request { + app: site + template_style_updated_template: {{template_style_updated_template}} + template_style_updated_title: {{template_style_updated_title}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("template_style_updated_title")); + }); +} + example { name: 200 Response (templates/styles/{app}/{template_style_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-{template_style_id}.bru b/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-{template_style_id}.bru index d0293bb..b4e4982 100644 --- a/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-{template_style_id}.bru +++ b/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}-{template_style_id}.bru @@ -10,6 +10,21 @@ get { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}.bru b/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}.bru index 8dc4ea7..70694a2 100644 --- a/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}.bru +++ b/bruno/joomla-web-services-api/templates-styles/templates-styles-{app}.bru @@ -10,6 +10,19 @@ get { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/templates/templates-styles-{app}-{template_style_id}-delete.bru b/bruno/joomla-web-services-api/templates/templates-styles-{app}-{template_style_id}-delete.bru index cd7ab3c..a63174e 100644 --- a/bruno/joomla-web-services-api/templates/templates-styles-{app}-{template_style_id}-delete.bru +++ b/bruno/joomla-web-services-api/templates/templates-styles-{app}-{template_style_id}-delete.bru @@ -10,6 +10,16 @@ delete { auth: inherit } +vars:pre-request { + app: site +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-post.bru b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-post.bru index a1c7094..e343c10 100644 --- a/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-post.bru +++ b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-post.bru @@ -12,22 +12,56 @@ post { body:json { { - "access": 0, - "checked_out": 0, - "context": "", - "created_by": 0, - "description": "", - "language": "", - "note": "", + "access": {{user_access}}, + "checked_out": {{user_checked_out}}, + "context": "{{user_context}}", + "created_by": {{user_created_by}}, + "description": "{{user_description}}", + "language": "{{user_language}}", + "note": "{{user_note}}", "params": { - "display_readonly": "" + "display_readonly": "1" }, - "required": 0, - "state": 0, - "title": "" + "required": {{user_required}}, + "state": {{user_state}}, + "title": "{{user_title}}" } } +vars:pre-request { + user_access: 1 + user_checked_out: 0 + user_context: com_users.user + user_created_by: 0 + user_description: + user_language: * + user_note: + user_required: 0 + user_state: 1 + user_title: user field group +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("user_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("user_title")); + }); +} + example { name: 200 Response (fields/groups/users) description: todo: response object diff --git a/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-delete.bru b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-delete.bru index de8977b..81907e7 100644 --- a/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-delete.bru +++ b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: fields/groups/users/{group_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-patch.bru b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-patch.bru index 68453dc..e50f8c4 100644 --- a/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-patch.bru +++ b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: fields/groups/users/{group_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,12 +12,32 @@ patch { body:json { { - "description": "", - "note": "", - "title": "" + "description": "{{group_updated_description}}", + "note": "{{group_updated_note}}", + "title": "{{group_updated_title}}" } } +vars:pre-request { + group_updated_description: {{group_updated_description}} + group_updated_note: {{group_updated_note}} + group_updated_title: {{group_updated_title}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("group_updated_title")); + }); +} + example { name: 200 Response (fields/groups/users/{group_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}.bru b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}.bru index 8b83847..9cb1f77 100644 --- a/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}.bru +++ b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users-{group_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users.bru b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users.bru index 8c8e754..3bb6c92 100644 --- a/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users.bru +++ b/bruno/joomla-web-services-api/users-fields-groups/fields-groups-users.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users-fields/fields-users-post.bru b/bruno/joomla-web-services-api/users-fields/fields-users-post.bru index f128559..d3184a1 100644 --- a/bruno/joomla-web-services-api/users-fields/fields-users-post.bru +++ b/bruno/joomla-web-services-api/users-fields/fields-users-post.bru @@ -12,23 +12,23 @@ post { body:json { { - "access": 0, - "context": "", - "default_value": "", - "description": "", + "access": {{user_access}}, + "context": "{{user_context}}", + "default_value": "{{user_default_value}}", + "description": "{{user_description}}", "fieldparams": { - "filter": "", - "maxlength": 0 + "filter": "alnum", + "maxlength": 40 }, - "group_id": 0, - "label": "", - "language": "", - "name": "", - "note": "", + "group_id": {{user_group_id}}, + "label": "{{user_label}}", + "language": "{{user_language}}", + "name": "{{user_name}}", + "note": "{{user_note}}", "params": { "class": "", - "display": "", - "display_readonly": "", + "display": "2", + "display_readonly": "2", "hint": "", "label_class": "", "label_render_class": "", @@ -36,16 +36,53 @@ body:json { "prefix": "", "render_class": "", "show_on": "", - "showlabel": "", + "showlabel": "1", "suffix": "" }, - "required": 0, - "state": 0, - "title": "", - "type": "" + "required": {{user_required}}, + "state": {{user_state}}, + "title": "{{user_title}}", + "type": "{{user_type}}" } } +vars:pre-request { + user_access: 1 + user_context: com_users.user + user_default_value: + user_description: + user_group_id: 0 + user_label: user field + user_language: * + user_name: user-field + user_note: + user_required: 0 + user_state: 1 + user_title: user field + user_type: text +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("user_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("user_title")); + }); +} + example { name: 200 Response (fields/users) description: todo: response object diff --git a/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}-delete.bru b/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}-delete.bru index e602d7e..a933b1f 100644 --- a/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}-delete.bru +++ b/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: fields/users/{field_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}-patch.bru b/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}-patch.bru index 1f5d7bb..dbdb052 100644 --- a/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}-patch.bru +++ b/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: fields/users/{field_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,16 +12,40 @@ patch { body:json { { - "default_value": "", - "description": "", - "label": "", - "name": "", - "note": "", - "title": "", - "type": "" + "default_value": "{{field_updated_default_value}}", + "description": "{{field_updated_description}}", + "label": "{{field_updated_label}}", + "name": "{{field_updated_name}}", + "note": "{{field_updated_note}}", + "title": "{{field_updated_title}}", + "type": "{{field_updated_type}}" } } +vars:pre-request { + field_updated_default_value: {{field_updated_default_value}} + field_updated_description: {{field_updated_description}} + field_updated_label: {{field_updated_label}} + field_updated_name: {{field_updated_name}} + field_updated_note: {{field_updated_note}} + field_updated_title: {{field_updated_title}} + field_updated_type: {{field_updated_type}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("field_updated_title")); + }); +} + example { name: 200 Response (fields/users/{field_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}.bru b/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}.bru index 4b268e6..89a91e4 100644 --- a/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}.bru +++ b/bruno/joomla-web-services-api/users-fields/fields-users-{field_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users-fields/fields-users.bru b/bruno/joomla-web-services-api/users-fields/fields-users.bru index 0cc4e1e..26f1372 100644 --- a/bruno/joomla-web-services-api/users-fields/fields-users.bru +++ b/bruno/joomla-web-services-api/users-fields/fields-users.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users-groups/users-groups-post.bru b/bruno/joomla-web-services-api/users-groups/users-groups-post.bru index e31d0a9..cb39dc6 100644 --- a/bruno/joomla-web-services-api/users-groups/users-groups-post.bru +++ b/bruno/joomla-web-services-api/users-groups/users-groups-post.bru @@ -12,11 +12,37 @@ post { body:json { { - "parent_id": 0, - "title": "" + "parent_id": {{group_parent_id}}, + "title": "{{group_title}}" } } +vars:pre-request { + group_parent_id: 1 + group_title: Executive +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("group_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("group_title")); + }); +} + example { name: 200 Response (users/groups) description: todo: response object diff --git a/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}-delete.bru b/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}-delete.bru index 18dc576..2c95ff8 100644 --- a/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}-delete.bru +++ b/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: users/groups/{group_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}-patch.bru b/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}-patch.bru index c778d89..63e92d7 100644 --- a/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}-patch.bru +++ b/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: users/groups/{group_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,10 +12,28 @@ patch { body:json { { - "title": "" + "title": "{{usergroup_updated_title}}" } } +vars:pre-request { + usergroup_updated_title: {{usergroup_updated_title}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("usergroup_updated_title")); + }); +} + example { name: 200 Response (users/groups/{group_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}.bru b/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}.bru index c25fac8..21a6467 100644 --- a/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}.bru +++ b/bruno/joomla-web-services-api/users-groups/users-groups-{group_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users-groups/users-groups.bru b/bruno/joomla-web-services-api/users-groups/users-groups.bru index 1e076d2..b3d154a 100644 --- a/bruno/joomla-web-services-api/users-groups/users-groups.bru +++ b/bruno/joomla-web-services-api/users-groups/users-groups.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users-levels/users-levels-post.bru b/bruno/joomla-web-services-api/users-levels/users-levels-post.bru index 53234d6..4e35290 100644 --- a/bruno/joomla-web-services-api/users-levels/users-levels-post.bru +++ b/bruno/joomla-web-services-api/users-levels/users-levels-post.bru @@ -12,11 +12,37 @@ post { body:json { { - "rules": "", - "title": "" + "rules": "{{level_rules}}", + "title": "{{level_title}}" } } +vars:pre-request { + level_rules: {{level_rules}} + level_title: {{level_title}} +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("level_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title matches", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("level_title")); + }); +} + example { name: 200 Response (users/levels) description: todo: response object diff --git a/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}-delete.bru b/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}-delete.bru index c999984..a67492f 100644 --- a/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}-delete.bru +++ b/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: users/levels/{level_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}-patch.bru b/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}-patch.bru index e44bb0e..66dbaa4 100644 --- a/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}-patch.bru +++ b/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: users/levels/{level_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,10 +12,28 @@ patch { body:json { { - "title": "" + "title": "{{level_updated_title}}" } } +vars:pre-request { + level_updated_title: {{level_updated_title}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("title updated", function() { + expect(res.body.data.attributes.title).to.equal(bru.getVar("level_updated_title")); + }); +} + example { name: 200 Response (users/levels/{level_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}.bru b/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}.bru index 2e377e1..88711a6 100644 --- a/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}.bru +++ b/bruno/joomla-web-services-api/users-levels/users-levels-{level_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users-levels/users-levels.bru b/bruno/joomla-web-services-api/users-levels/users-levels.bru index 71fc7e7..b44ccf1 100644 --- a/bruno/joomla-web-services-api/users-levels/users-levels.bru +++ b/bruno/joomla-web-services-api/users-levels/users-levels.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users/users-post.bru b/bruno/joomla-web-services-api/users/users-post.bru index 4a055ca..a68b0c9 100644 --- a/bruno/joomla-web-services-api/users/users-post.bru +++ b/bruno/joomla-web-services-api/users/users-post.bru @@ -12,13 +12,15 @@ post { body:json { { - "block": 0, - "email": "", - "groups": [], - "id": 0, - "lastResetTime": "", - "lastvisitDate": "", - "name": "", + "block": {{user_block}}, + "email": "{{user_email}}", + "groups": [ + 2 + ], + "id": {{user_id}}, + "lastResetTime": "{{user_lastResetTime}}", + "lastvisitDate": "{{user_lastvisitDate}}", + "name": "{{user_name}}", "params": { "admin_language": "", "admin_style": "", @@ -27,16 +29,53 @@ body:json { "language": "", "timezone": "" }, - "password": "", - "password2": "", - "registerDate": "", - "requireReset": false, - "resetCount": 0, - "sendEmail": false, - "username": "" + "password": "{{user_password}}", + "password2": "{{user_password2}}", + "registerDate": "{{user_registerDate}}", + "requireReset": {{user_requireReset}}, + "resetCount": {{user_resetCount}}, + "sendEmail": {{user_sendEmail}}, + "username": "{{user_username}}" } } +vars:pre-request { + user_block: 0 + user_email: test@example.org + user_id: 0 + user_lastResetTime: + user_lastvisitDate: + user_name: nnn + user_password: qwerty + user_password2: qwerty + user_registerDate: + user_requireReset: 0 + user_resetCount: 0 + user_sendEmail: 0 + user_username: ad +} + +script:post-response { + if (res.status === 200 && res.body.data) { + bru.setVar("user_id", res.body.data.id); + } +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id, type, attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("type"); + expect(res.body.data).to.have.property("attributes"); + }); + test("name matches", function() { + expect(res.body.data.attributes.name).to.equal(bru.getVar("user_name")); + }); +} + example { name: 200 Response (users) description: todo: response object diff --git a/bruno/joomla-web-services-api/users/users-{user_id}-delete.bru b/bruno/joomla-web-services-api/users/users-{user_id}-delete.bru index 448f3f9..e0eb648 100644 --- a/bruno/joomla-web-services-api/users/users-{user_id}-delete.bru +++ b/bruno/joomla-web-services-api/users/users-{user_id}-delete.bru @@ -1,7 +1,7 @@ meta { name: users/{user_id} (DELETE) type: http - seq: 4 + seq: 5 } delete { @@ -10,6 +10,12 @@ delete { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users/users-{user_id}-patch.bru b/bruno/joomla-web-services-api/users/users-{user_id}-patch.bru index 9b704be..b5b995d 100644 --- a/bruno/joomla-web-services-api/users/users-{user_id}-patch.bru +++ b/bruno/joomla-web-services-api/users/users-{user_id}-patch.bru @@ -1,7 +1,7 @@ meta { name: users/{user_id} (PATCH) type: http - seq: 5 + seq: 4 } patch { @@ -12,13 +12,35 @@ patch { body:json { { - "email": "", - "groups": [], - "name": "", - "username": "" + "email": "{{user_updated_email}}", + "groups": [ + 2 + ], + "name": "{{user_updated_name}}", + "username": "{{user_updated_username}}" } } +vars:pre-request { + user_updated_email: {{user_updated_email}} + user_updated_name: {{user_updated_name}} + user_updated_username: {{user_updated_username}} +} + +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); + test("name updated", function() { + expect(res.body.data.attributes.name).to.equal(bru.getVar("user_updated_name")); + }); +} + example { name: 200 Response (users/{user_id}) description: todo: response object diff --git a/bruno/joomla-web-services-api/users/users-{user_id}.bru b/bruno/joomla-web-services-api/users/users-{user_id}.bru index 60f79fb..7dd33d5 100644 --- a/bruno/joomla-web-services-api/users/users-{user_id}.bru +++ b/bruno/joomla-web-services-api/users/users-{user_id}.bru @@ -10,6 +10,17 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data with id and attributes", function() { + expect(res.body).to.have.property("data"); + expect(res.body.data).to.have.property("id"); + expect(res.body.data).to.have.property("attributes"); + }); +} + example { name: 200 Response description: todo: response object diff --git a/bruno/joomla-web-services-api/users/users.bru b/bruno/joomla-web-services-api/users/users.bru index 3197498..d5d8cc7 100644 --- a/bruno/joomla-web-services-api/users/users.bru +++ b/bruno/joomla-web-services-api/users/users.bru @@ -10,6 +10,15 @@ get { auth: inherit } +tests { + test("Status is 200", function() { + expect(res.status).to.equal(200); + }); + test("Response has data", function() { + expect(res.body).to.have.property("data"); + }); +} + example { name: 200 Response description: todo: response object