Submitted Info Meta
Additional information about the /submit/ endpoint.
To query a specific media type add ?media_type=NAME or ?media_type=ID to the url.
To change the display of the list set the parameter display to "dict" for a dictionary, "array" for an array or "arrays" to display the fields as an array
Each media type has a "name" and a "fields" key.
The "name" key is the name of the media type and matches the display value of the media_type field.
The "fields" key lists all of the fields accepted at the submit endpoint (minus submitter_id and media_type) and provides display recommendations for the media type.
"show": true indicates we recommend the field be shown; false indicates that it should be hidden. A null indicates that the field should be shown for every media type in addition to this one.
"order": Indicates the order we recommend the fields to be in. Will be null if "show" is false, not displayed in "arrays" display mode.
"label": Indicates the label we recommend for the field. Most fields with show == false will have an empty string; if this is not the case, then the label for this field is the same for every media type in which it is shown (example: url).
"placeholder": Indicates the placeholder we recommend for the field. Will be null if the html for the data expected does not support placeholders (example: file).
"required_set": One of the fields with "required_set" set to "true" must have a non-empty value for the media type to be accepted.
GET /api/submit/meta/
http://www.placeholderurl.com", "required_set": true }, "station": { "show": true, "order": 6, "label": "What station did you find this on?", "placeholder": "TV or Radio Station", "required_set": false }, "date_found": { "show": null, "order": 7, "label": "What day did you see/hear this on?", "placeholder": "YYYY-MM-DD", "required_set": false }, "time_found": { "show": true, "order": 8, "label": "What time did you see/hear this?", "placeholder": "HH:MM:SS", "required_set": false }, "state": { "show": null, "order": 9, "label": "What state are you in?", "placeholder": null, "required_set": false }, "city": { "show": null, "order": 10, "label": "Where did you see/hear this?", "placeholder": "Nearest City or County", "required_set": false } }, "name": "Other", "id": 0 }, { "fields": { "description": { "show": null, "order": 0, "label": "Provide more details here.", "placeholder": "Describe the mail.", "required_set": true }, "image_one": { "show": true, "order": 1, "label": "Side One", "placeholder": null, "required_set": true }, "image_two": { "show": true, "order": 2, "label": "Side Two", "placeholder": null, "required_set": true }, "video": { "show": false, "order": null, "label": "", "placeholder": null, "required_set": false }, "file": { "show": false, "order": null, "label": "", "placeholder": null, "required_set": false }, "url": { "show": false, "order": null, "label": "What URL did you see this at?", "placeholder": "http://www.placeholderurl.com", "required_set": false }, "station": { "show": false, "order": null, "label": "", "placeholder": "", "required_set": false }, "date_found": { "show": null, "order": 3, "label": "What day did you receive this?", "placeholder": "YYYY-MM-DD", "required_set": false }, "time_found": { "show": false, "order": null, "label": "", "placeholder": "HH:MM:SS", "required_set": false }, "state": { "show": null, "order": 4, "label": "What state are you in?", "placeholder": null, "required_set": false }, "city": { "show": null, "order": 5, "label": "Where did you see this?", "placeholder": "Nearest City or County", "required_set": false } }, "name": "Mail", "id": 1 }, { "fields": { "description": { "show": null, "order": 0, "label": "Provide more details here.", "placeholder": "Describe what you saw.", "required_set": true }, "image_one": { "show": false, "order": null, "label": "", "placeholder": null, "required_set": false }, "image_two": { "show": false, "order": null, "label": "", "placeholder": null, "required_set": false }, "video": { "show": true, "order": 1, "label": "Video File", "placeholder": null, "required_set": true }, "file": { "show": false, "order": null, "label": "", "placeholder": null, "required_set": false }, "url": { "show": false, "order": null, "label": "What URL did you see this at?", "placeholder": "http://www.placeholderurl.com", "required_set": false }, "station": { "show": true, "order": 2, "label": "What station did you see this on?", "placeholder": "XXXX-XX", "required_set": false }, "date_found": { "show": null, "order": 3, "label": "What day did you see this on?", "placeholder": "YYYY-MM-DD", "required_set": false }, "time_found": { "show": true, "order": 4, "label": "What time did you see this?", "placeholder": "HH:MM:SS", "required_set": false }, "state": { "show": null, "order": 5, "label": "What state are you in?", "placeholder": null, "required_set": false }, "city": { "show": null, "order": 6, "label": "Where did you see this?", "placeholder": "Nearest City or County", "required_set": false } }, "name": "TV", "id": 2 }, { "fields": { "description": { "show": null, "order": 0, "label": "Provide more details here.", "placeholder": "Describe what you heard.", "required_set": true }, "image_one": { "show": false, "order": null, "label": "", "placeholder": null, "required_set": false }, "image_two": { "show": false, "order": null, "label": "", "placeholder": null, "required_set": false }, "video": { "show": false, "order": null, "label": "", "placeholder": null, "required_set": false }, "file": { "show": true, "order": 1, "label": "Audio File", "placeholder": null, "required_set": true }, "url": { "show": false, "order": null, "label": "What URL did you see this at?", "placeholder": "http://www.placeholderurl.com", "required_set": false }, "station": { "show": true, "order": 2, "label": "What station did you hear this on?", "placeholder": "XXX.X AM/FM", "required_set": false }, "date_found": { "show": null, "order": 3, "label": "What day did you hear this on?", "placeholder": "YYYY-MM-DD", "required_set": false }, "time_found": { "show": true, "order": 4, "label": "What time did you hear this?", "placeholder": "HH:MM:SS", "required_set": false }, "state": { "show": null, "order": 5, "label": "What state are you in?", "placeholder": null, "required_set": false }, "city": { "show": null, "order": 6, "label": "Where did you hear this?", "placeholder": "Nearest City or County", "required_set": false } }, "name": "Radio", "id": 3 }, { "fields": { "description": { "show": null, "order": 0, "label": "Provide more details here.", "placeholder": "Describe what you found.", "required_set": false }, "image_one": { "show": true, "order": 1, "label": "Screenshot", "placeholder": null, "required_set": false }, "image_two": { "show": false, "order": null, "label": "", "placeholder": null, "required_set": false }, "video": { "show": false, "order": null, "label": "", "placeholder": null, "required_set": false }, "file": { "show": false, "order": null, "label": "", "placeholder": null, "required_set": false }, "url": { "show": true, "order": 2, "label": "What URL did you see this at?", "placeholder": "http://www.placeholderurl.com", "required_set": true }, "station": { "show": false, "order": null, "label": "", "placeholder": "", "required_set": false }, "date_found": { "show": null, "order": 3, "label": "What day did you see this?", "placeholder": "YYYY-MM-DD", "required_set": false }, "time_found": { "show": true, "order": 4, "label": "What time did you see this?", "placeholder": "HH:MM:SS", "required_set": false }, "state": { "show": null, "order": 5, "label": "What state are you in?", "placeholder": null, "required_set": false }, "city": { "show": null, "order": 6, "label": "Where did you see this?", "placeholder": "Nearest City or County", "required_set": false } }, "name": "Online", "id": 4 } ][ { "fields": { "description": { "show": null, "order": 0, "label": "Provide more details here.", "placeholder": "Describe what you saw/heard.", "required_set": true }, "image_one": { "show": true, "order": 1, "label": "Main Image", "placeholder": null, "required_set": true }, "image_two": { "show": true, "order": 2, "label": "Secondary Image", "placeholder": null, "required_set": true }, "video": { "show": true, "order": 3, "label": "Video File", "placeholder": null, "required_set": true }, "file": { "show": true, "order": 4, "label": "Additional File", "placeholder": null, "required_set": true }, "url": { "show": true, "order": 5, "label": "What URL did you see this at?", "placeholder": "