Skip to content

File attachement in campains #4

@julienvienne

Description

@julienvienne

Hi,

It is not documented in API description, but it is possible to attach one or more medias to campains uppon creation.
Medias have to be uploaded first, and then you just need to add the media list attibute to the posted data.
Ex :

data = {
   ...
  "media": [1],
   ...
}

It would be very simple to add media_ids parameter to the create_campain() method and add the media ids to the data dictionary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions