Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
35
node_modules/pinterest-node-api/lib/resources/sections.js
generated
vendored
Normal file
35
node_modules/pinterest-node-api/lib/resources/sections.js
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
'use strict';
|
||||
|
||||
var pinterestResource = require('../Resource');
|
||||
var pinterestMethod = pinterestResource.methods.pinterestMethod;
|
||||
|
||||
module.exports = pinterestResource.extend({
|
||||
|
||||
createBoardSection: pinterestMethod({
|
||||
method: 'PUT',
|
||||
path: 'v1/board/{board}/sections/',
|
||||
urlParams: ['board'],
|
||||
required: ['board']
|
||||
}),
|
||||
|
||||
getBoardSections: pinterestMethod({
|
||||
method: 'GET',
|
||||
path: 'v1/board/{board}/sections/',
|
||||
urlParams: ['board'],
|
||||
required: ['board']
|
||||
}),
|
||||
|
||||
getBoardSectionPins: pinterestMethod({
|
||||
method: 'GET',
|
||||
path: 'v1/board/sections/{section}/pins/',
|
||||
urlParams: ['section'],
|
||||
required: ['section']
|
||||
}),
|
||||
|
||||
deleteBoardSection: pinterestMethod({
|
||||
method: 'DELETE',
|
||||
path: 'v1/board/sections/{section}/',
|
||||
urlParams: ['section'],
|
||||
required: ['section']
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user