curl --request GET \
--url https://api.projectdiscovery.io/v1/template/share \
--header 'X-API-Key: <api-key>'
{
"count": 123,
"message": "<string>",
"total": 123,
"results": [
{
"uri": "<string>",
"id": "<string>",
"name": "<string>",
"author": [
"<string>"
],
"tags": [
"<string>"
],
"severity": "<string>",
"type": "<string>",
"dir": "<string>",
"ref": "<string>",
"vendor": "<string>",
"product": "<string>",
"classification": {
"cve-id": [
"<string>"
],
"cwe-id": [
"<string>"
],
"cvss-metrics": "<string>",
"cvss-score": 123,
"epss-score": 123,
"epss-percentile": 123,
"cpe": "<string>"
},
"metadata": {},
"digest": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"release_tag": "<string>",
"is_early": true,
"raw": "<string>",
"template_id": "<string>",
"description": "<string>",
"filename": "<string>",
"impact": "<string>",
"ai_meta": {
"model_used": "<string>",
"is_prompt_by_human": true,
"is_template_by_human": true,
"prompt": "<string>"
},
"references": [
"<string>"
],
"template_type": "public",
"is_draft": true,
"is_github": true,
"is_new": true,
"is_pdresearch": true,
"is_pdteam": true,
"is_pdtemplate": true,
"remediation": "<string>",
"ttl": "<string>",
"share_type": "<string>",
"users_email": [
"<string>"
],
"organizations": [
"<string>"
]
}
]
}
Shared template list
curl --request GET \
--url https://api.projectdiscovery.io/v1/template/share \
--header 'X-API-Key: <api-key>'
{
"count": 123,
"message": "<string>",
"total": 123,
"results": [
{
"uri": "<string>",
"id": "<string>",
"name": "<string>",
"author": [
"<string>"
],
"tags": [
"<string>"
],
"severity": "<string>",
"type": "<string>",
"dir": "<string>",
"ref": "<string>",
"vendor": "<string>",
"product": "<string>",
"classification": {
"cve-id": [
"<string>"
],
"cwe-id": [
"<string>"
],
"cvss-metrics": "<string>",
"cvss-score": 123,
"epss-score": 123,
"epss-percentile": 123,
"cpe": "<string>"
},
"metadata": {},
"digest": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"release_tag": "<string>",
"is_early": true,
"raw": "<string>",
"template_id": "<string>",
"description": "<string>",
"filename": "<string>",
"impact": "<string>",
"ai_meta": {
"model_used": "<string>",
"is_prompt_by_human": true,
"is_template_by_human": true,
"prompt": "<string>"
},
"references": [
"<string>"
],
"template_type": "public",
"is_draft": true,
"is_github": true,
"is_new": true,
"is_pdresearch": true,
"is_pdteam": true,
"is_pdtemplate": true,
"remediation": "<string>",
"ttl": "<string>",
"share_type": "<string>",
"users_email": [
"<string>"
],
"organizations": [
"<string>"
]
}
]
}
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Limit The numbers of items to return
Offset The numbers of items to skip
SortAsc Sort results in ascending order (CSV field names)
SortDesc Sort results in descending order (CSV field names)
Example response
The response is of type object
.
Was this page helpful?