src/api/v3/index.js
function getOperation(opType) {
    var opname = Object.keys(APISPEC.operations)
        .filter(function(operation) {
            return operation === opType;
        });

    if (!opname.length) {
        throw new ReferenceError('Operation is not supported');
    }

    // avoid mutation
    return util._extend({}, APISPEC.operations[opname[0]]);
}
function getOperation(opType) {
    var opname = Object.keys(APISPEC.operations)
        .filter(function(operation) {
            return operation === opType;
        });

    if (!opname.length) {
        throw new ReferenceError('Operation is not supported');
    }

    // avoid mutation
    return util._extend({}, APISPEC.operations[opname[0]]);
}
function getOperation ( opType ) { var opname = Object . keys ( APISPEC . operations ) . filter ( function ( operation ) { return operation === opType ; } ) ; if ( ! opname . length ) { throw new ReferenceError ( 'Operation is not supported' ) ; } // avoid mutation return util . _extend ( { } , APISPEC . operations [ opname [ 0 ] ] ) ; }
Retrieves te operation description

@param opType
@returns {*}
Retrieves te operation description