mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Move duplicate schema endpoint (#7595)
* move duplicate endpoint * fix link
This commit is contained in:
parent
e943c5a686
commit
fd42b2fbf8
@ -1,12 +1,15 @@
|
|||||||
"""InvenTree API version information."""
|
"""InvenTree API version information."""
|
||||||
|
|
||||||
# InvenTree API version
|
# 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."""
|
"""Increment this API version number whenever there is a significant change to the API that any clients need to know about."""
|
||||||
|
|
||||||
|
|
||||||
INVENTREE_API_TEXT = """
|
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
|
v215 - 2024-07-09 : https://github.com/inventree/InvenTree/pull/7591
|
||||||
- Adds additional fields to the BuildLine serializer
|
- Adds additional fields to the BuildLine serializer
|
||||||
|
|
||||||
|
@ -950,7 +950,7 @@ common_api_urls = [
|
|||||||
'<int:pk>/', ContentTypeDetail.as_view(), name='api-contenttype-detail'
|
'<int:pk>/', ContentTypeDetail.as_view(), name='api-contenttype-detail'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'<str:model>/',
|
'model/<str:model>/',
|
||||||
ContentTypeModelDetail.as_view(),
|
ContentTypeModelDetail.as_view(),
|
||||||
name='api-contenttype-detail-modelname',
|
name='api-contenttype-detail-modelname',
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user