Ticket #428 (closed enhancement: fixed)

Opened 2 years ago

Last modified 21 months ago

Open Upload rest call

Reported by: MC-arjen Owned by: robert
Priority: major Milestone: MediaMosa 3.0
Component: 2.4 issue Version:
Keywords: Cc:
MoSCoW: Must Have Estimated time after impact analysis:
Related to project: none Tested: no
Accepted: no Estimated Hours: 25

Description (last modified by forgacs) (diff)

/album/$album_id [POST]
/album/$album_id/mediaitem/$mediaitem_id [POST]

 http://opensocial-resources.googlecode.com/svn/spec/1.1/Core-API-Server.xml#Content-Upload

descr: Open Upload rest call for Open Content.

Everybody can upload videos (and set metadata) to one client applications (if it is allowed). The upload call will be available without tickets for these client applications.

This rest call must be implemented on the openapi interface. This rest call doesn't need an ega authentication.

parameters:
- MediaItem? data:  http://opensocial-resources.googlecode.com/svn/spec/1.1/Social-Data.xml#MediaItem

response:
normal rest xml, atom, rss, json

Change History

Changed 2 years ago by Frans

  • milestone changed from MediaMosa X.X to MediaMosa 3.0

Changed 2 years ago by Frans

  • milestone changed from MediaMosa 3.0 to MediaMosa 2.4

Changed 2 years ago by forgacs

  • status changed from new to assigned
  • description modified (diff)

Changed 2 years ago by forgacs

  • status changed from assigned to closed
  • resolution set to ready_for_review

@Robert:
The solution is in the repository.
It is quite a big change set.
- New calls for upload: album/$album_id(/mediaitem(/$mediaitem_id))
- Support POST data upload.
- Output format for OpenAPI is depend on the request header and from the "Request-Parameter-Format-Value" variable.
- Default response type development (admin page).
- JSON and XML development for the OpenAPI standard.
- OpeanAPI upload test.

Changed 2 years ago by forgacs

  • status changed from closed to reopened
  • resolution ready_for_review deleted

Changed 2 years ago by forgacs

  • owner changed from forgacs to robert
  • status changed from reopened to assigned

Changed 2 years ago by robert

  • status changed from assigned to closed
  • resolution set to fixed

Reviewed.

Changed 22 months ago by forgacs

For security reason all the OpenAPI REST call was prefixed with "openapi".
Then the REST calls are:
/openapi/album/$album_id [POST]
/openapi/album/$album_id/mediaitem/$mediaitem_id [POST]

Changed 22 months ago by Frans

  • component changed from Core to 2.4 issue
  • milestone changed from MediaMosa 2.4 to MediaMosa 3.0

Changed 21 months ago by forgacs

Documentation about the OpenAPI interface: #434
Direct link:
 http://opensocial-resources.googlecode.com/svn/spec/1.1/Social-API-Server.xml#Albums-Service

Test on the acceptation test page: "OpenAPI upload test".

A simple test (without real upload):
[POST] /openapi/album/siKRkqZWsddbGCMZMhCmfJmy

Note: See TracTickets for help on using tickets.