POST selfie/hashtags/create bulk

From Social ID Developers
Jump to: navigation, search

Deprecation notice: this API is deprecated since July 19, 2018.

Contents

Description

Creates a collection of hashtags to be monitored.

Resource URL

  POST https://api.socialidnow.com/v1/marketing/selfie/hashtags/create_bulk

Parameters

JSON Parameters

hashtags required an array of hashes in format field:value, with the necessary fields to create the hashtags"
hashtag required hashtag to be monitored.
name required reference name of the hashtag.
picture_url required reference picture url of the hashtag.

Authentication

This API requires Account authentication. See Authentication.

Response

Response Status

ok (200) Hashtags were created successfully. If any hashtag is not created the response will hold information concerning its errors.
bad_request (400) Some required parameter was not informed.
unauthorized (401) The authentication is wrong. See Authentication.
internal_server_error (500) An unknown error happened.

Examples

Request

Creates hashtags "fashion" and "selfie" to be monitored by the application.

 curl -iX POST 'https://api.socialidnow.com/v1/marketing/selfie/hashtags/create_bulk' \
        -d '{"hashtags": [
              {"hashtag":"fashion", "name":"Fashion", "picture_url":"http://img2.timeinc.net/people/i/2006/stylechannel/hitormiss/061204/gisele_bundchen300.jpg"}, \
              {"hashtag":"selfie", "name":"Selfie", "picture_url":"http://upload.wikimedia.org/wikipedia/commons/9/90/RobertCornelius.jpg"} \
            ] }' \
        -H 'Content-type:application/json' \
        --user 138:e8b9ca24f1b590af67e6271297d6e1f7226625d61c5b5daa1b2f215464e292cf

Response

Response Headers

HTTP/1.1 200 Ok
Status: 200
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox