Commit Graph

12 Commits

Author SHA1 Message Date
Benoît Burnichon
c2ff3b6575 Add Secrets to ApplicationBox. 2015-05-19 18:26:57 +02:00
Benoît Burnichon
469e2d0583 Add DataboxLoggerAware where needed 2015-05-14 23:43:00 +02:00
Benoît Burnichon
3b1d5aff10 Merge remote-tracking branch 'origin/feature/controller-as-service' 2015-05-13 10:19:38 +02:00
Jean-Yves Gaulier
e713cbcc80 - fix : title is writen in the (first) field declared "thumbtitle"
- add (wip, do not use) : metadatas can be set for the new story(ies), by field name of metadata_struct_id, see sample:

{
	"stories": [
		{
  			"title": "Story 1",
  			"description": "A story from Phraseanet",
	    	"collection_id": 494,
            "metadatas": {
            	"Ville": "Paris",
                "Pays": "France",
                "7": "Dupond",
                "MotsCles": [
                	"soleil",
                    "pluie"
                ]
            },
			"story_records": [
				{
					"title": "record 1 in story 1",
					"databox_id": 3,
					"record_id": 209
				},
				{
					"title": "record 2 in story 1",
					"databox_id": 3,
					"record_id": 210
				}
			]
	  	},
		{
  			"title": "Story 2",
  			"description": "Another story from Phraseanet",
	    	"collection_id": 495
  		}
	]
}
2015-05-12 21:29:52 +02:00
Benoît Burnichon
61206fd517 Replace calls to mediavorus to getMediaFromUri 2015-05-12 18:12:02 +02:00
Benoît Burnichon
634f5366ae use DispatcherAware wherever possible 2015-05-12 17:15:11 +02:00
Benoît Burnichon
8c037232d5 Merge pull request #1374 from jygaulier/API_STORY
report des routes api/story de 3.8
2015-05-11 12:18:45 +02:00
Jean-Yves Gaulier
ae24e5332a -fix 2015-05-11 11:41:43 +02:00
Jean-Yves Gaulier
02a06c6515 #time 2h
- fix api subdef substitute
- fix api addrecord/nosubdef
2015-05-07 19:32:15 +02:00
Jean-Yves Gaulier
68a27c173f fix 2015-05-07 17:53:04 +02:00
Jean-Yves Gaulier
3305329501 report des routes api/story de 3.8
#time 1.5d
2015-05-07 16:53:53 +02:00
Benoît Burnichon
62b8e5a6e4 Refactoring of API V1 Controller 2015-04-27 20:35:36 +02:00