Project

General

Profile

Bug #26841

Note in the API documentation that bsdusr_attributes cannot be set

Added by Marshall Tech over 1 year ago. Updated about 1 year ago.

Status:
Done
Priority:
Nice to have
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

In the Account API (http://api.freenas.org/resources/account.html), there is reference to "bsdusr_attributes" as being a JSON object based on the example given within the APIs. However there is no sample schema for "bsdusr_attributes". I am trying to write a Golang SDK for FreeNAS that can be the basis of a Terraform Provider Plugin for FreeNAS and the issue this causes is that I cannot unmarshal the object structure without knowing or having documented what the schema for "bsdusr_attributes" is.

Associated revisions

Revision 6078ab04 (diff)
Added by William Grzybowski over 1 year ago

fix(api): note bsdusr_attributes cannot be set

Ticket: #26841

Revision 3c15a88f (diff)
Added by William Grzybowski over 1 year ago

fix(api): note bsdusr_attributes cannot be set

Ticket: #26841

History

#1 Updated by Dru Lavigne over 1 year ago

  • Category changed from Documentation to Middleware
  • Assignee changed from Release Council to William Grzybowski

#2 Updated by William Grzybowski over 1 year ago

  • Status changed from Unscreened to Screened
  • Priority changed from No priority to Nice to have
  • Target version set to 11.2-BETA1

#3 Updated by William Grzybowski over 1 year ago

  • Status changed from Screened to Ready For Release

bsdusr_attributes is really a readonly attribute in v1.0 use for internal purposes (new UI only).

I have removed the note about bsdusr_attributes from API v1.0.

https://github.com/freenas/freenas/pull/615

#4 Updated by Dru Lavigne over 1 year ago

  • Subject changed from API Documentation for bsdusr_attributes to Note in the API documentation that bsdusr_attributes cannot be set
  • Status changed from Ready For Release to Done
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#5 Updated by Dru Lavigne over 1 year ago

  • Status changed from Done to Ready for Testing

#6 Updated by Timothy Moore II about 1 year ago

  • Status changed from Ready for Testing to Passed Testing
  • Severity set to New

Testing: navigated to API docs and confirmed the note was removed.

#7 Updated by Dru Lavigne about 1 year ago

  • Status changed from Passed Testing to Done
  • Needs QA changed from Yes to No

Also available in: Atom PDF