@ciscospark/plugin-flag

Archive a flag

Usage no npm install needed!

<script type="module">
  import ciscosparkPluginFlag from 'https://cdn.skypack.dev/@ciscospark/plugin-flag';
</script>

README

archive

Archive a flag

Parameters

Returns Promise<Object> Resolves with the flag archival

create

Flags an activity

Parameters

Returns Promise<Object> Resolves with the flag creation

list

Gets a list of Flags for a user

Parameters

Returns Promise Resolves with the fetched flags

mapToActivities

Gets an array of activities where the status is 200

Parameters

Returns Promise<Object> Resolves with the activities TODO: this should be implemented as a batched request when migrating to the modular sdk

delete

Delete a flag

Parameters

Returns Promise<Object> Resolves with the flag deletion

unflag

UnFlags an activity

Parameters

Returns Promise<Object> Resolves with the flag removal

config

!

Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file.