Curlie

Curlie (DMOZ 2.0) API Constants and Error Codes

This document provides details about various constants, info messages, and error codes returned by the Curlie API.

Contents

1. Constants

There are different values used in API calls for certain parameters. These values are integer numbers. Here is the detail what they means/represent in Curlie API:

1.1 Feature

Following can be valid features for a node:

1.2 RelationType

1.3 PermissionType

1.4 EditorStatus

1.5 SubmissionStatus

1.6 UserNoteType

1.7 PreferenceBit

1.8 CommentType

1.9 DevidType

1.10 DevidStatus

1.11 NodeGetMode

1.12 UserWarnStatus

1.13 AbuseStatus

1.14 Subject

Subject in DenyEditor API call can be:

1.15 Ban

1.16 Tool

1.17 ToolStatus

1.18 PublicAbuse

Status can have following values:

Action can have following values:

Type can have following values:

Message can have following values:

1.19 URLSubmission

Status can have following values, it corresponds to urlStatus field:

URLStatusReason can have following values, it corresponds to urlStatusReason field:

Batch can have following values:

ProcessStatus can have following values:

1.20 Misc

1.21 FlagType

2. Status Codes and Status Messages

Status codes appear in response header tag in the API. The code tag represents the status_code and description represents the detailed message related to that. Sometimes codes are sufficient so description might be empty in those cases.

2.1 Success

2.2 Error Codes and Status Messages

<Numbering> <Status_Code> - <Description_of_Error_code>

2.3 Information Status Codes and Messages

Back to API documentation index...