plane/apiserver/plane/api/serializers/api_token.py
2023-03-08 01:00:10 +05:30

15 lines
301 B
Python

from .base import BaseSerializer
from plane.db.models import APIToken
class APITokenSerializer(BaseSerializer):
class Meta:
model = APIToken
fields = [
"label",
"user",
"user_type",
"workspace",
"created_at",
]