Update a generic project file

PATCH /apps/{app-slug}/generic-project-files/{generic-project-file-slug}

Update a generic project file's attributes. You can fetch an app's generic project file slug if you first list all the uploaded files with the GET /apps/{app-slug}/generic-project-files endpoint. Read more in our Updating an uploaded file guide.

Path parameters

  • app-slug string Required

    App slug

  • generic-project-file-slug string Required

    Generic project file slug

Body Required

Generic project file parameters

  • exposed_meta_datastore object

    Additional properties are allowed.

  • is_expose boolean
  • is_protected boolean
  • processed boolean
  • user_env_key string

Responses

  • 200

    OK

    Hide response attribute Show response attribute object
    • data object

      Additional properties are allowed.

      Hide data attributes Show data attributes object
      • exposed_meta_datastore object

        Additional properties are allowed.

      • is_expose boolean
      • is_protected boolean
      • processed boolean
      • slug string
      • upload_file_name string
      • upload_file_size integer
      • user_env_key string
  • 400

    Bad Request

    Hide response attribute Show response attribute object
    • message string
  • 401

    Unauthorized

    Hide response attribute Show response attribute object
    • message string
  • 404

    Not Found

    Hide response attribute Show response attribute object
    • message string
  • 500

    Internal Server Error

    Hide response attribute Show response attribute object
    • message string
PATCH /apps/{app-slug}/generic-project-files/{generic-project-file-slug}
curl \
 --request PATCH 'https://api.bitrise.io/v0.1/apps/{app-slug}/generic-project-files/{generic-project-file-slug}' \
 --header "Authorization: $API_KEY" \
 --data '{"exposed_meta_datastore":{},"is_expose":true,"is_protected":true,"processed":true,"user_env_key":"string"}'
Request examples
{
  "exposed_meta_datastore": {},
  "is_expose": true,
  "is_protected": true,
  "processed": true,
  "user_env_key": "string"
}
Response examples (200)
{
  "data": {
    "exposed_meta_datastore": {},
    "is_expose": true,
    "is_protected": true,
    "processed": true,
    "slug": "string",
    "upload_file_name": "string",
    "upload_file_size": 42,
    "user_env_key": "string"
  }
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}