Item12044: WysiwygPlugin: REST upload response should be retrievable in parseable format

pencil
Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: WysiwygPlugin
Branches:
Reported By: JanKrueger
Waiting For:
Last Change By: CrawfordCurrie
The REST upload handler for WysiwygPlugin returns text to the requesting user agent, like this:

somefile.txt attached to Someweb.SomeTopic as fancyname.txt

It would be very nice if WysiwygPlugin could provide this information in a parseable format instead, such as JSON, so that an editor can provide fancy feedback to the user. Sample response:

{status: 'attached', original_name: 'somefile.txt', web: 'Someweb', topic: 'SomeTopic', new_name: 'fancyname.txt'}

-- JanKrueger - 15 Aug 2012

Upload uses the standard Uplaod.pm REST handler now, so no-action.

-- CrawfordCurrie - 21 Jan 2015
 

ItemTemplate edit

Summary WysiwygPlugin: REST upload response should be retrievable in parseable format
ReportedBy JanKrueger
Codebase
SVN Range
AppliesTo Extension
Component WysiwygPlugin
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r2 - 21 Jan 2015, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy