from django.urls import path
from api.property_api.country.views.country_view import (
    CountryListCreateAPIView,
    CountryDetailAPIView,
    CountryDropdownAPIView,
    CountryExistAPIView,
)

urlpatterns = [
    path("countries/", CountryListCreateAPIView.as_view(), name="countries-list-create"),
    path("countries/<int:pk>/", CountryDetailAPIView.as_view(), name="country-detail"),
    path("countries/dropdown/", CountryDropdownAPIView.as_view(), name="country-dropdown"),
    path("countries/isexist/<str:name>/", CountryExistAPIView.as_view(), name="country-exist"),
]
