marjory-logo

Google Cloud Storage

Limited Use Requirements

App’s use and transfer of information received from Google APIs to any other app will adhere to Google API Services User Data Policy, including the Limited Use requirements.

Table of Contents


Actions

Download File

Extract your file

Inputs

{
  "bucketName": "Mybucket", /*Bucket location(required)*/
  "path": "photos/2023/February/bs38_blue_shirt_wint2023.jpg", /*File path(required)*/
}

Outputs

Http Code 200
{
    "marjoryFile": {
        "name": "string",
        "link": "string",
        "id": "string",
        "lastModified": "string",
        "size": "number",
        "contentType": "string"
    }
}
Http Code 500
{
    "message": "string"
}

Delete File

Delete File

Inputs

{
  "bucketName": "Mybucket", /*Bucket location(required)*/
  "path": "photos/2023/February/bs38_blue_shirt_wint2023.jpg", /*File key(required)*/
}

Outputs

Http Code 200
null
Http Code 500
{
    "message": "string"
}

List

List files and folders from a location

Inputs

{
  "bucketName": "Mybucket", /*Bucket location(required)*/
  "basePath": "photos/2023/February/", /*Folder location*/
}

Outputs

Http Code 200
{
    "content": [
        {
            "name": "string",
            "type": "string",
            "path": "string"
        }
    ]
}
Http Code 500
{
    "message": "string"
}

Create Folder

Create a new folder

Inputs

{
  "bucketName": "Mybucket", /*Bucket location(required)*/
  "basePath": "photos/2023/February/", /*Folder location*/
  "name": "wintercollection", /*Folder name(required)*/
}

Outputs

Http Code 200
{
    "content": {
        "path": "string"
    }
}
Http Code 500
{
    "message": "string"
}

Delete Folder

Delete folder

Inputs

{
  "bucketName": "Mybucket", /*Bucket location(required)*/
  "path": "photos/2023/February/wintercollection/", /*Folder path(required)*/
}

Outputs

Http Code 200
{
    "message": "string"
}
Http Code 500
{
    "message": "string"
}

Upload File

Upload your file

Inputs

{
  "bucketName": "Mybucket", /*Bucket location(required)*/
  "basePath": "photos/2023/February/", /*Folder location*/
  "marjoryFile": { /*(required)*/
    "id": "string",
    "name": "string",
    "contentType": "string",
    "link": "string",
    "size": "number",
    "lastModified": "string",
  }
}

Outputs

Http Code 200
{
    "key": "string"
}
Http Code 500
{
    "message": "string"
}

Events

Check refresh token

Check refresh token

Payload

{
  "foo": "string",
}
Version(s)
4.0.3