Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Wrong documentation example #22

@lalit774

Description

@lalit774

Hi,
open this page
http://opensource.brightcove.com/project/php-media-api-wrapper

Find Query - Additional Parameters

This example shows how to define additional API call parameters using a key-value array.

Existing Code
// Define our parameters
$params = array(
'id' => 123456789,
'video_fields' => 'video_id,name,shortDescription'
);

// Make our API call
$video = $bc->find('videoById', $params);

Replace with following code
// Define our parameters
$params = array(
'id' => 123456789,
'video_fields' => 'id,name,shortDescription'
);

// Make our API call
$video = $bc->find('videoById', $params);

Diff video_id must be id.

'video_fields' => 'video_id,name,shortDescription'

'video_fields' => 'id,name,shortDescription'

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