Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update publish param, add dependabot guide to appsec category #1882

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
166 changes: 28 additions & 138 deletions docs/api-reference/get-actions-automations.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,19 @@ description: "This route allows you to fetch one or more self-service actions an
sidebar_label: "Get actions/automations"
hide_title: true
hide_table_of_contents: true
api: eJztVm2P4jYQ/iuW+6UnwWZ31X5Bq5VQibao7R7iOKmnPQROMhBrg52zHfY4xH/v2E4gQEC9Y09tpX7Jy8x4PC/PvKxpAjpWPDdcCtqho5RromRhgLAsky+arGRBjCQzMHFKpAAiFVlIBURDNmtrUEseo3BsFWjCRBKgACuMXDBP4sLqUGQglUG5WBbCXN1FKrh3j1EKJMa7yAvHRw5qJtWCMJLJOUc6mXYfe1MSgXkBENYo8qkAtSI5U2wBBpRGJlrasncTBaZQXqxm0p49JmWG4A+6Y+zdiqMSzuomSZIBQzXOTxZhOE5pa5E4hfiZWBGr7SmRcbEAYRx7/GNqTK47QYBkfTUHk2MQrrgMSnVtVNeuqQveeDNoixo217TzRLteko5bdOcyMtZU49ULRjtralY5YPKYUmyFR9Ghha7RtVFczOlmgyybZBdAlBOozR5zN0x4gmbzGQeFrENUANmxA03kzHnrTwYNaQ88cF6YMFv0bF1T8KngChLambFMw6b1er5EWQE5SphvcWd7GEkvqdRbWAd1/Di/uE6/i18tCqJY2Lz/Mgy7oxAJvfD30H90P7Rv6fiU6xJrx5nY6O/Tlk3sjYE+jc1YATPQrtd3Gz7jcQ4iBh1orLG8XfA2Vmq7hMAPEdM8bidgGM/0myOAHIOBDC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kwufwNGsTvFpQZlF/rWVUWRwYiBazG+tiU1yUpp1/ujd3+tSunqmYifn565vKaG0tToZ16Zf0KaN/U3m4cS54YTa6j/L/z/ot2Xs8Ygi8U5krIsnZLHi4rQld9VWyW4sxYcvLlMhYWPqFarZzYd1tH9FRaVyd1ez1KhDddc/eieYbFgZV7JlTh9Mvie73Tr11mj3h/YMl+BYD//HZ6JFrNvfw7Q/Tu6+kR95tL83H3vf7WCvoKUrz7XncE9fbW+XeQbza6jfbQ/YPSqfPoYdic01e9gV/qs5fD8rkcltWHa2D1kV40TG9PUe+C+3Ue7r2yXPpRvFqt9f3RwRvVVK61XYCGq9XqL/62VfE=
sidebar_class_name: "get api-method"
info_path: api-reference/port-api
info_path: api-reference-temp/port-api
custom_edit_url: null
---

import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import Heading from "@theme/Heading";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
as={"h1"}
Expand All @@ -35,6 +29,7 @@ import TabItem from "@theme/TabItem";
<MethodEndpoint
method={"get"}
path={"/v1/actions"}
context={"endpoint"}
>

</MethodEndpoint>
Expand All @@ -51,131 +46,26 @@ This route allows you to fetch one or more self-service actions and/or automatio
>
</Heading>

<details
style={{"marginBottom":"1rem"}}
className={"openapi-markdown__details"}
data-collapsed={false}
open={true}
<ParamsDetails
parameters={[{"schema":{"type":"array","items":{"type":"string"}},"in":"query","name":"action_identifier","description":"The identifier/s of the action/s and/or automation/s you want to fetch.<br/>","required":false},{"schema":{"type":"array","items":{"type":"string"}},"in":"query","name":"blueprint_identifier","description":"The identifier/s of the blueprint/s whose actions/automations you wish to fetch.<br/>","required":false},{"schema":{"type":"array","items":{"type":"string","enum":["CREATE","DELETE","DAY-2"]}},"in":"query","name":"operation","description":"The [operation type/s](https://docs.getport.io/create-self-service-experiences/setup-ui-for-action/#basic-details) of the action/s you want to fetch. Relevant only for self-service actions.<br/>","required":false},{"schema":{"type":"boolean"},"in":"query","name":"published","description":"Only relevant for **automations**. If `true`, only published automations will be fetched.<br/>","required":false},{"schema":{"type":"string","enum":["self-service","automation"]},"in":"query","name":"trigger_type","required":false},{"schema":{"type":"array","items":{"type":"string","enum":["ENTITY_CREATED","ENTITY_UPDATED","ENTITY_DELETED","TIMER_PROPERTY_EXPIRED","ANY_ENTITY_CHANGE"]}},"in":"query","name":"trigger_event","description":"The event/s that triggered the automation/s you want to fetch. Relevant only for automations.<br/>","required":false},{"schema":{"type":"string","enum":["v1","v2"]},"in":"query","name":"version","required":false}]}
>

</ParamsDetails>

<RequestSchema
title={"Body"}
body={undefined}
>
<summary
style={{}}
>
<h3
className={"openapi-markdown__details-summary-header-params"}
>
Query Parameters
</h3>
</summary><div>
<ul>
<ParamsItem
className={"paramsItem"}
param={{"schema":{"type":"array","items":{"type":"string"}},"in":"query","name":"action_identifier","description":"The identifier/s of the action/s and/or automation/s you want to fetch.<br/>","required":false}}
>

</ParamsItem><ParamsItem
className={"paramsItem"}
param={{"schema":{"type":"array","items":{"type":"string"}},"in":"query","name":"blueprint_identifier","description":"The identifier/s of the blueprint/s whose actions/automations you wish to fetch.<br/>","required":false}}
>

</ParamsItem><ParamsItem
className={"paramsItem"}
param={{"schema":{"type":"array","items":{"type":"string","enum":["CREATE","DELETE","DAY-2"]}},"in":"query","name":"operation","description":"The [operation type/s](https://docs.getport.io/create-self-service-experiences/setup-ui-for-action/#basic-details) of the action/s you want to fetch. Relevant only for self-service actions.<br/>","required":false}}
>

</ParamsItem><ParamsItem
className={"paramsItem"}
param={{"schema":{"type":"boolean"},"in":"query","name":"published","description":"If `true`, only published actions/automations will be fetched.<br/>","required":false}}
>

</ParamsItem><ParamsItem
className={"paramsItem"}
param={{"schema":{"type":"string","enum":["self-service","automation"]},"in":"query","name":"trigger_type","required":false}}
>

</ParamsItem><ParamsItem
className={"paramsItem"}
param={{"schema":{"type":"array","items":{"type":"string","enum":["ENTITY_CREATED","ENTITY_UPDATED","ENTITY_DELETED","TIMER_PROPERTY_EXPIRED","ANY_ENTITY_CHANGE"]}},"in":"query","name":"trigger_event","description":"The event/s that triggered the automation/s you want to fetch. Relevant only for automations.<br/>","required":false}}
>

</ParamsItem><ParamsItem
className={"paramsItem"}
param={{"schema":{"type":"string","enum":["v1","v2"]},"in":"query","name":"version","required":false}}
>

</ParamsItem>
</ul>
</div>
</details><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<div>


Success


</div><div>

</div>
</TabItem><TabItem
label={"422"}
value={"422"}
>
<div>


One of the following errors occurred:

<table>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
<tr>
<td><b>invalid_request</b></td>
<td>The data provided does not match the route schema</td>
</tr>
</table>



</div><div>

</div>
</TabItem><TabItem
label={"500"}
value={"500"}
>
<div>


One of the following errors occurred:

<table>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
<tr>
<td><b>internal_error</b></td>
<td>An internal error occurred</td>
</tr>
</table>



</div><div>

</div>
</TabItem>
</ApiTabs>
</div>
</div>

</RequestSchema>

<StatusCodes
id={undefined}
label={undefined}
responses={{"200":{"description":"Success"},"422":{"description":"One of the following errors occurred:\n\n<table>\n<tr>\n <th>Error</th>\n <th>Description</th>\n</tr>\n<tr>\n <td><b>invalid_request</b></td>\n <td>The data provided does not match the route schema</td>\n</tr>\n</table>\n"},"500":{"description":"One of the following errors occurred:\n\n<table>\n<tr>\n <th>Error</th>\n <th>Description</th>\n</tr>\n<tr>\n <td><b>internal_error</b></td>\n <td>An internal error occurred</td>\n</tr>\n</table>\n"}}}
>

</StatusCodes>



2 changes: 1 addition & 1 deletion src/components/guides-section/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ export const availableGuides = [
{
title: "Create Jira Issue from Dependabot Alert",
description: "Create a self-service action that creates a Jira issue from a Dependabot alert",
tags: ["Jira", "GitHub", "Actions"],
tags: ["AppSec", "Jira", "GitHub", "Actions"],
logos: ["Jira", "GitHub"],
// category: "Getting started",
link: "/guides/all/create-jira-issue-from-dependabot",
Expand Down
2 changes: 1 addition & 1 deletion static/apispec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8598,7 +8598,7 @@ paths:
type: boolean
in: query
name: published
description: If `true`, only published actions/automations will be fetched.<br/>
description: "Only relevant for **automations**. If `true`, only published automations will be fetched.<br/>"
required: false
- schema:
type: string
Expand Down
Loading