You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "The Project Category API manages your project categories."
6
+
weight: 100
7
+
restapi: true
8
+
---
9
+
10
+
## Introduction
11
+
12
+
The Mendix Project Category API allows you to create, edit or delete your project categories.
13
+
14
+
## Authentication {#authentication}
15
+
16
+
Authentication for the Project Category API uses a personal access token (PAT).
17
+
18
+
### Generating a PAT {#generate}
19
+
20
+
For details on how to generate a PAT, refer to the [Personal Access Tokens](/mendix-profile/user-settings/#pat) section of *User Settings*.
21
+
22
+
Select the appropriate scopes, depending on the endpoints that need to be invoked. Refer to the [API Reference](#api-reference) for more information on which scopes to use in which endpoints.
23
+
24
+
Store the generated value somewhere safe so you can use it to authorize your API calls.
25
+
26
+
### Using the PAT
27
+
28
+
Each request must contain an `Authorization` header with the value `MxToken {GENERATED_PAT}`. For example:
Copy file name to clipboardExpand all lines: content/en/docs/apidocs-mxsdk/apidocs/studio-pro-10/extensibility-api/csharp/extensibility-api-howtos/add-menu.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,4 +98,4 @@ You can add a `MenuSeparator` to a menu using the `Separator` property. The opti
Copy file name to clipboardExpand all lines: content/en/docs/apidocs-mxsdk/apidocs/studio-pro-10/extensibility-api/csharp/extensibility-api-howtos/build-todo-example-extension.md
+20-21Lines changed: 20 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -452,8 +452,7 @@ To store to-do data on disk, create model classes that represent individual item
452
452
}
453
453
```
454
454
455
-
456
-
### Create the To-do List Model
455
+
### Create the To-do List Model
457
456
458
457
1. Addanotherclassfile named *ToDoListModel.cs*.
459
458
2. Replace the contents of this file with the following code:
@@ -751,27 +750,27 @@ This HTML page provides a simple interface styled with Tailwind CSS. The JavaScr
751
750
752
751
1. Add a helper function to simplify the call to the browser API:
753
752
754
-
```javascript
755
-
functionpostMessage(message, data) {
756
-
window.chrome.webview.postMessage({ message, data });
757
-
}
758
-
```
753
+
```javascript
754
+
functionpostMessage(message, data) {
755
+
window.chrome.webview.postMessage({ message, data });
Copy file name to clipboardExpand all lines: content/en/docs/apidocs-mxsdk/apidocs/studio-pro-10/extensibility-api/csharp/extensibility-api-howtos/create-menu-extension.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ You can download the example in this how-to in [this GitHub repository](https://
3. For the `manifest.json` file, right-click **Solution Explorer** > **Properties** and change the **Copy to Output Directory** property to **Copy always**.
29
+
4. For the `manifest.json` file, right-click **Solution Explorer** > **Properties** and change the **Copy to Output Directory** property to **Copy always**.
30
30
31
31
## Creating a Test Mendix App
32
32
@@ -114,4 +114,4 @@ You can access reusable .NET libraries via [NuGet](https://www.nuget.org/) Follo
Copy file name to clipboardExpand all lines: content/en/docs/apidocs-mxsdk/apidocs/studio-pro-10/extensibility-api/csharp/extensibility-api-howtos/create-microflow-service.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,6 @@ It returns a list of `IMicroflowParameterObject`, which includes:
0 commit comments