0.0.14 • Published 1 year ago

oute-services-user-photos-sdk v0.0.14

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

This module expose helper functions

  • Initialization
  params = {
    url: @server url
    token: @access token
  }
  UserPhotos = require("oute-services-user-photos-sdk")
  user_photos_instance = new UserPhotos(params)

Cache functions

Core functions

  • Delete by ids
  body = {ids: ["ZX7c062wq"]}
  await user_photos_instance.deleteByIds(body)
  • Get list
  query = {project_id: "q-GmTD5-K"}
  await user_photos_instance.getList(query)
  • Save
  body = {
    "_id": "ZX7c062wq",
    "name": "test2",
    "state": "ACTIVE",
    "url": "https://ccc.oute.app/cdata/db_hub/postgres.svg",
    "workspace_id": "ZzBfJMpfQ",
    "project_id" : "q-GmTD5-K"
  }
  await user_photos_instance.save(body)
0.0.10

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.1

1 year ago