---
title: "POST /api/add-resource"
method: POST
path: "/api/add-resource"
tags: ["Resource API"]
---

# POST /api/add-resource

`POST /api/add-resource`

## Request body

- ObjectResource
  - `application` string
  - `createdTime` string
  - `description` string
  - `fileFormat` string
  - `fileName` string
  - `fileSize` integer
  - `fileType` string
  - `name` string
  - `owner` string
  - `parent` string
  - `provider` string
  - `tag` string
  - `url` string
  - `user` string

## Response `200`

Success or error

---

[API](https://skmtc.net/casdoor/apis/casdoor-restful-api.md) · [All operations](https://skmtc.net/casdoor/apis/casdoor-restful-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casdoor/casdoor-restful-api/versions/be9a5584b821/schema)
