# Save custom plugin info

Endpoint: POST /v1/plugins-info
Version: 1.0
Security: x-api-key

## Header parameters:

  - `Harness-Account` (string)
    Identifier field of the account the resource is scoped to.

## Response 201 fields (application/json):

  - `info` (object)
    Metadata for custom plugin

  - `info.plugin_details` (object, required)

  - `info.plugin_details.id` (string, required)

  - `info.plugin_details.name` (string)

  - `info.plugin_details.created_by` (string)

  - `info.plugin_details.icon_url` (string)

  - `info.plugin_details.description` (string)

  - `info.plugin_details.category` (string)

  - `info.plugin_details.source` (string)

  - `info.plugin_details.image_url` (string)

  - `info.plugin_details.images` (array)

  - `info.plugin_details.documentation` (string)

  - `info.plugin_details.core` (boolean)

  - `info.plugin_details.enabled` (boolean)

  - `info.plugin_details.plugin_type` (string)
    Enum: "DEFAULT", "CUSTOM"

  - `info.config` (string)

  - `info.exports` (object)

  - `info.exports.pages` (integer, required)

  - `info.exports.tab_contents` (integer, required)

  - `info.exports.cards` (integer, required)

  - `info.exports.default_entity_types` (array, required)

  - `info.exports.export_details` (array, required)

  - `info.exports.export_details.type` (string, required)

  - `info.exports.export_details.name` (string, required)

  - `info.exports.export_details.add_by_default` (boolean)

  - `info.exports.export_details.default_route` (string)

  - `info.exports.export_details.layout_schema_specs` (object)

  - `info.env_variables` (array, required)

  - `info.env_variables.identifier` (string)

  - `info.env_variables.env_name` (string, required)

  - `info.env_variables.created` (integer)

  - `info.env_variables.updated` (integer)

  - `info.env_variables.type` (string, required)
    This specifies the type of backstage env variable
    Enum: "Secret", "Config"

  - `info.env_variables.harness_secret_identifier` (string, required)

  - `info.env_variables.is_deleted` (boolean)

  - `info.saved` (boolean, required)

  - `info.proxy` (array)

  - `info.proxy.host` (string, required)

  - `info.proxy.proxy` (boolean, required)

  - `info.proxy.selectors` (array)

  - `info.proxy.identifier` (string)

  - `info.proxy.pluginId` (string)

  - `info.artifact` (object)
    Artifact details for custom plugin

  - `info.artifact.type` (string, required)
    Enum: "NPM", "ZIP"

  - `info.artifact.url` (string, required)

  - `info.package_name` (string)


