Project

General

Profile

Actions

Feature #3818

open

[API] Discovery document schema should include whether field on resource is writable or read-only.

Added by Peter Amstutz over 9 years ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
Story points:
1.0
Release:
Release relationship:
Auto

Description

Read-only fields are:
  • modified_* and created_at (which are attr_protected)
  • updated_at (which should be either removed outright or protected with attr_protected)
  • (any others?)
Notes
  • attr_protected can surely be introspected, but is deprecated in rails 4.

Files

3818-try1.patch (11.8 KB) 3818-try1.patch Brett Smith, 03/29/2015 05:25 PM
Actions

Also available in: Atom PDF