1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

47 Commits

Author SHA1 Message Date
abf11fbcb8 Merge branch 'develop' into feature 2022-07-20 12:20:33 -04:00
e07dd3ddcb Define NESTED_SERIALIZER_PREFIX constant 2022-07-15 15:31:42 -04:00
3eb6b6c07f Clean up core API imports 2022-07-13 16:18:55 -04:00
422ec7ecec Fixes #9311: Permit creating contact assignment without a priority via the REST API 2022-05-06 09:25:40 -04:00
cdacd2a951 Closes #8593: Add link field to contact model 2022-03-30 16:19:12 -04:00
a11abf87ec Refactor API serializers 2022-03-09 10:59:22 -05:00
bfc1cab6df Fixes #8051: Contact group parent assignment should not be required under REST API 2021-12-13 08:22:48 -05:00
2ce8ef5704 Fixes #7771: Group assignment should be optional when creating contacts via REST API 2021-11-08 08:34:10 -05:00
8bb9f4b8a2 #1344: Add missing object field to ContactAssignmentSerializer 2021-11-03 16:27:43 -04:00
cfb3897047 Add tags to organizational & nested group models 2021-10-21 10:51:02 -04:00
487d67768b Cleanup and documentation for #1344 2021-10-18 16:20:31 -04:00
2e78568d4d Initial work on contacts 2021-10-18 13:59:05 -04:00
fb48c1f6dd Add 'display' field to all REST API serializers 2021-03-16 10:06:25 -04:00
fca5accba8 Clean up base serializers 2021-03-12 13:31:28 -05:00
12fbd34962 Introduce NestedGroupModelSerializer 2021-02-25 17:15:42 -05:00
664a39911c Add custom field support for organizational models to API serializers 2021-02-25 15:58:13 -05:00
fa3199d41c Update serializers.py
Group should be nullable via API to match frontend functionality and Swagger documentation.
2021-02-11 11:49:57 +13:00
c0c5f52ed9 Reorganize REST API components under netbox app 2020-10-13 15:57:21 -04:00
15525392a2 Closes #4837: Use dynamic form widget for relationships to MPTT objects 2020-07-09 09:50:01 -04:00
924f319343 Closes #4806: Add a url field to all API serializers 2020-07-06 16:41:08 -04:00
448dc1442c Replace TaggitSerializer and TagListSerializerField with TaggedObjectSerializer 2020-06-17 09:57:17 -04:00
cebe580484 Add a description field to all organizational models 2020-03-13 16:33:28 -04:00
45f6ea211d Implement support for nested TenantGroups 2020-03-11 21:12:55 -04:00
3262805938 Add tenancy to cluster
fix pep8
2019-10-07 16:20:14 +02:00
017a5011ec Added '*_count' fields for child objects 2019-04-19 16:50:42 -04:00
a46b43bff6 Added child counts to API serializers (WIP) 2019-04-12 17:07:56 -04:00
75f0d8ee90 Closes #2578: Reorganized nested serializers 2018-11-12 11:36:44 -05:00
980d62d579 Removed Python 2 string compatibility 2018-08-14 11:58:42 -04:00
f1bc88fc0c Adopt django-taggit-serializer for representation of assigned tags in the API 2018-08-03 09:43:03 -04:00
9b3869790d Implemented tags for all primary models 2018-05-10 12:53:11 -04:00
7241783249 Started merging writable serializers (WIP) 2018-04-04 17:01:24 -04:00
063e79451f Closes #1321: Added created and last_updated fields for relevant models to their API serializers 2017-12-21 10:49:40 -05:00
c394985b1b Fixes #1421: Improved model validation logic for API serializers 2017-08-15 13:54:04 -04:00
1f9806a480 Fixes #1285: Enforce model validation when creating/editing objects via the API 2017-07-06 17:37:24 -04:00
f21c6bca00 Import unicode_literals 2017-05-24 11:33:11 -04:00
c174c0cc6d Converted all necessary serializers to CustomFieldModelSerializers 2017-04-27 12:50:43 -04:00
c08fae8bce Restore not-so-extraneous 'id' field to all WritableSerializers 2017-03-17 17:32:43 -04:00
e544f1fa1e Removed extraneous 'id' field from all WritableSerializers 2017-03-17 16:20:34 -04:00
a6ceaf8d96 Moved custom field serializers to their own module to avoid circular dependency 2017-03-08 16:18:41 -05:00
0e04d20762 Re-implemented CustomFieldSerializer (read-only for now) 2017-02-09 16:55:54 -05:00
bb1f97abc2 Implemented static writable ModelSerializers for all models 2017-01-31 15:35:09 -05:00
1fcc2b0029 Namespaced all API URLs 2017-01-31 10:40:53 -05:00
fa900d5dbb Converted nested serializers to HyperlinkedModelSerializer 2017-01-27 12:22:29 -05:00
97c0f23c67 Add description field to TenantSerializer
This might be just an oversight.  Other data models do include the description in their serialisers.  The API produces the description field with this change.
2017-01-13 08:49:43 -04:00
f0a85b1dd3 Optimized API performance 2016-08-22 15:16:49 -04:00
76f0463290 Extended API to include custom fields 2016-08-22 13:20:30 -04:00
fa2ccc1c18 Initial multitenancy implementation 2016-07-26 14:58:37 -04:00