diff --git a/src/backend/InvenTree/InvenTree/api_version.py b/src/backend/InvenTree/InvenTree/api_version.py index 419763fce0..de76bcb2ce 100644 --- a/src/backend/InvenTree/InvenTree/api_version.py +++ b/src/backend/InvenTree/InvenTree/api_version.py @@ -1,12 +1,15 @@ """InvenTree API version information.""" # InvenTree API version -INVENTREE_API_VERSION = 215 +INVENTREE_API_VERSION = 216 """Increment this API version number whenever there is a significant change to the API that any clients need to know about.""" INVENTREE_API_TEXT = """ +v216 - 2024-07-08 : https://github.com/inventree/InvenTree/pull/7595 + - Moves API endpoint for contenttype lookup by model name + v215 - 2024-07-09 : https://github.com/inventree/InvenTree/pull/7591 - Adds additional fields to the BuildLine serializer diff --git a/src/backend/InvenTree/common/api.py b/src/backend/InvenTree/common/api.py index a1063b5d09..268e2680d2 100644 --- a/src/backend/InvenTree/common/api.py +++ b/src/backend/InvenTree/common/api.py @@ -950,7 +950,7 @@ common_api_urls = [ '/', ContentTypeDetail.as_view(), name='api-contenttype-detail' ), path( - '/', + 'model//', ContentTypeModelDetail.as_view(), name='api-contenttype-detail-modelname', ),